This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients lukasz.langa, methane, ned.deily, rhettinger, ronaldoussoren, vstinner
Date 2020-07-01.16:40:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>> 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:

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.
Date User Action Args
2020-07-01 16:40:00vstinnersetrecipients: + vstinner, rhettinger, ronaldoussoren, ned.deily, methane, lukasz.langa
2020-07-01 16:40:00vstinnersetmessageid: <>
2020-07-01 16:40:00vstinnerlinkissue41181 messages
2020-07-01 16:40:00vstinnercreate