New submission from Gregory P. Smith:

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.

----------
assignee: gregory.p.smith
messages: 275171
nosy: benjamin.peterson, gregory.p.smith, larry, ned.deily
priority: release blocker
severity: normal
status: open
title: --with-lto builds segfault in many situations
versions: Python 2.7, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to