Matthias Klose added the comment:

the proposed patch is wrong. when linking with -flto, you should pass all the 
relevant CFLAGS to the linker as well. Also pass -fuse-linker-plugin.

and this should be an opt-in, not the default. Depending on the architecture 
and the compiler version, -flto is not as stable as you want it to be.

and last, this ends up as the default for building third party extensions too, 
which again, I think should be an opt-in.

----------

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

Reply via email to