[issue21122] CPython fails to build modules with LLVM LTO on Mac OS X

Ronald Oussoren report at bugs.python.org
Wed Apr 2 11:14:40 CEST 2014


Ronald Oussoren added the comment:

I've used -O4 for extensions in the past (which until recently implied LTO) and that worked fine. 

I'm pretty sure that I haven't used LTO for python itself, apart from a some tests with an early version llvm-gcc where using LTO for building python used to crash the compiler :-)

BTW. There's no clear pattern in the missing symbols. The missing symbols for global functions could be due to aggressive inlining (and then deciding that the standalone function isn't needed anymore), but that is fairly unlikely and wouldn't explain the missing data symbols.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21122>
_______________________________________


More information about the Python-bugs-list mailing list