Package: python2.7
Version: 2.7.13-2
Severity: normal
Tags: upstream

Dear Maintainer,

Pytorch (https://github.com/pytorch/pytorch) is an application that is
written in python, C and C++. There's high interoperalibity between code
written in these languages therex.

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.

-- System Information:
Debian Release: 9.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16.0-4-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python2.7 depends on:
ii  libpython2.7-stdlib  2.7.13-2
ii  mime-support         3.60
ii  python2.7-minimal    2.7.13-2

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.28-5
pn  python2.7-doc  <none>

-- no debconf information

Reply via email to