STINNER Victor <vstin...@python.org> added the comment:

>> Clang 6.0 doesn't support LTO and PGO?
> No, it appears not.

That's really surprising. I see LTO mentioned in LLVM 3.4 changelog for example:
https://releases.llvm.org/3.4/tools/clang/docs/ReleaseNotes.html#new-compiler-flags

Did you try to build Python with my PR? Which error message do you get? How can 
I try? I only own a macbook which runs a recent macOS version. Maybe I could 
try to get clang 6.0 on Linux.

If PGO is not available, just enabling LTO should already make Python faster 
significantly.

I understand why Python is built on macOS 10.9, and this issue and my PR 
doesn't change anything about that. I don't request to require newer CPU 
features or to require newer macOS API or syscall. LTO only changes how Python 
itself is built.

----------

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

Reply via email to