This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients benjamin.peterson, gregory.p.smith, larry, ned.deily
Date 2016-09-08.21:32:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473370352.47.0.536997029042.issue28032@psf.upfronthosting.co.za>
In-reply-to
Content
configure --with-optimizations is failing on the Debian --with-optimizations buildbot:

http://buildbot.python.org/all/builders/AMD64%20Debian%20PGO%203.x/builds/2448/steps/compile/logs/stdio

The compiled python is segfaulting when it goes to run the interpreter to build modules via setup.py.

this passes manually on ubuntu 16.04.  debian jessie 8.5 is failing here.  older gcc 4.9.2 toolchain.

i suspect --with-lto is not a good thing to enable by default everywhere.

configure.ac should be updated to exclude --with-lto in more situations than just Darwin.  we also know it doesn't work with clang as our configure and makefile are today.  so start with a conditional on gcc version being at least 5.4 (which is what ubuntu 16.04 ships with)?  or is it related to the binutils (ld) version when gcc is present?  or both.  LTO is a maze of twisty passages.

To lower this from "release blocker" we need to make --with-optimizations not enable --with-lto anywhere it is likely to fail.
History
Date User Action Args
2016-09-08 21:32:32gregory.p.smithsetrecipients: + gregory.p.smith, larry, benjamin.peterson, ned.deily
2016-09-08 21:32:32gregory.p.smithsetmessageid: <1473370352.47.0.536997029042.issue28032@psf.upfronthosting.co.za>
2016-09-08 21:32:32gregory.p.smithlinkissue28032 messages
2016-09-08 21:32:32gregory.p.smithcreate