Python not compiled with -fexceptions in ppc64le
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python3.6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Pytorch (https:/
The issue is that there are cases when an exception is thrown by C++ code that subsequentely calls some C code before being caught.
In ppc64le builds, without the -fexceptions gcc flag, such exceptions are not caught when the execution returns to C++ code from C code. This makes some Pytorch tests fail.
Compiling CPython with -fexceptions seems to solve this issue.
This was also reported to Debian: https:/
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: python2.7 2.7.13-2
ProcVersionSign
Uname: Linux 4.10.0-19-generic ppc64le
.var.log.platform: Error: [Errno 13] Permission denied: '/var/log/platform'
ApportVersion: 2.20.4-0ubuntu4
Architecture: ppc64el
Date: Thu May 18 15:35:54 2017
InstallationDate: Installed on 2015-11-05 (560 days ago)
InstallationMedia: Ubuntu-Server 15.04 "Vivid Vervet" - Release ppc64el (20150422)
JournalErrors:
Error: command ['journalctl', '-b', '--priority=
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
ProcLoadAvg: 0.07 0.33 0.43 1/348 20166
ProcSwaps: Filename Type Size Used Priority
ProcVersion: Linux version 4.10.0-19-generic (buildd@
SourcePackage: python2.7
UpgradeStatus: Upgraded to zesty on 2017-04-17 (30 days ago)
cpu_cores: Number of cores present = 2
cpu_coreson: Number of cores online = 2
cpu_smt: SMT=8
description: | updated |
is powerpc64le- linux-gnu the only architecture affected?