[issue31354] Fixing a bug related to LTO only build

2018-12-09 Thread Ned Deily
Ned Deily added the comment: OK, I think we are in better shape for 3.6.8 now. I've merged the backports to 3.6 of Issue28015 / PR 9908 (LTO with clang) and Issue35351 / PR 10797 (prevent LTO CFLAGS leakage into distutils). So, at the moment, master, 3.7, and 3.6 should behave the same in

[issue31354] Fixing a bug related to LTO only build

2018-12-07 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Hi Ned, I recently pushed a fix on the master and 3.7 for this exact issue: https://bugs.python.org/issue35351 but it builds on top of https://github.com/python/cpython/pull/10922 which is not yet in 3.6. Thus 3.7 is fine for the rc cutoff. However

[issue31354] Fixing a bug related to LTO only build

2018-12-07 Thread Ned Deily
Ned Deily added the comment: This issue is still open and blocking the upcoming 3.7.2rc1 and 3.6.8rc1 releases. -- ___ Python tracker ___

[issue31354] Fixing a bug related to LTO only build

2018-11-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.6, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31354] Fixing a bug related to LTO only build

2018-11-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31354] Fixing a bug related to LTO only build

2018-11-14 Thread Ned Deily
Ned Deily added the comment: This does sound like a regression bug that should be fixed in all branches. Another issue is that, if it is propagated to third-party extension module builds through distutils, there is no guarantee that the extension module is being built with the same

[issue31354] Fixing a bug related to LTO only build

2018-11-14 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: I'd say yes. In general python may have been compiled with -flto, but it's still a bit buggy from the compilers' side. It doesn't work well always or at all depending on the toolchain, and even if python was compiled with -flto, that doesn't mean

[issue31354] Fixing a bug related to LTO only build

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Is it an actual problem to compile extension modules with -flto? (I realize as an extension module there isn't a huge benefit to the concept unless it happens to have multiple source files or link against a non-shared library) --

[issue31354] Fixing a bug related to LTO only build

2018-11-13 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: This change exports -flto in cflags. You can check it with python3-config --cflags after this commit. Which means that every c extension which will use those cflags will also utilize -flto which wasn't happening before, thus I'd say it's a

[issue31354] Fixing a bug related to LTO only build

2018-11-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset f6b9459996f5166300982d0427119eb326e74dac by Victor Stinner (stratakis) in branch '3.6': [3.6] bpo-31354: Let configure --with-lto work on all builds (GH-10261) https://github.com/python/cpython/commit/f6b9459996f5166300982d0427119eb326e74dac

[issue31354] Fixing a bug related to LTO only build

2018-10-31 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +9572 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31354] Fixing a bug related to LTO only build

2017-09-08 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue31354] Fixing a bug related to LTO only build

2017-09-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 4c81401b3a9ffa48fc9e19963cbad5111e33 by Gregory P. Smith (octaviansoldea) in branch 'master': bpo-31354: Let configure --with-lto work on all builds https://github.com/python/cpython/commit/4c81401b3a9ffa48fc9e19963cbad5111e33

[issue31354] Fixing a bug related to LTO only build

2017-09-05 Thread Octavian Soldea
Changes by Octavian Soldea : -- pull_requests: +3376 ___ Python tracker ___ ___

[issue31354] Fixing a bug related to LTO only build

2017-09-05 Thread STINNER Victor
STINNER Victor added the comment: Would you mind to create a pull request? -- nosy: +haypo ___ Python tracker ___

[issue31354] Fixing a bug related to LTO only build

2017-09-05 Thread Octavian Soldea
New submission from Octavian Soldea: Hi All, This is Octavian Soldea from the Scripting Languages Optimization team at Intel Corporation. I would like to submit a patch to fix an LTO build issue. With "./configure --with-lto" followed by "make", CPython should be built with LTO or