[issue45373] ./configure --enable-optimizations should enable LTO

2022-03-03 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45373] ./configure --enable-optimizations should enable LTO

2022-03-01 Thread Inada Naoki
Inada Naoki added the comment: Can we use --lto=thin when availabe? And can we not use --lto when building profiling python? -- nosy: +methane ___ Python tracker ___

[issue45373] ./configure --enable-optimizations should enable LTO

2022-03-01 Thread Ned Deily
Ned Deily added the comment: Sorry, this slipped off my radar and I haven't gone back and checked older versions of macOS. But it certainly is true that at least with the current versions of the Apple Developer Tools (either the Command Line Tools or Xcode) for macOS 11 (Big Sur) and macOS

[issue45373] ./configure --enable-optimizations should enable LTO

2022-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: FWIW I agree that we should try adding LTO to --enable-optimizations now. -- nosy: +gregory.p.smith ___ Python tracker ___

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-11 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Ned Deily
Ned Deily added the comment: I don't think you need llvm-ar anymore with the Apple Tool Chain but let me look into it as I have all the relevant previous macOS releases as VMs to test with. -- ___ Python tracker

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yeah, I had problems in the past to get llvm-ar or some other component. I still need time to reproduce and to see if this still happens on new versions. -- ___ Python tracker

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Ned Deily
Ned Deily added the comment: > IIRC activating lto is specially annoying on MacOS due to the need of some > llvm components that are a bit hard to get Can you say more? We are currently using --with-lto with a vanilla Apple Command Line Tools (or Xcode) for macOS installer builds when

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread STINNER Victor
STINNER Victor added the comment: Pablo: > IIRC activating lto is specially annoying on MacOS due to the need of some > llvm components that are a bit hard to get. Let me dig a bit to see if I > reproduce the problem Ah, I guess that you are referring to this requirement: "The C compiler

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: IIRC activating lto is specially annoying on MacOS due to the need of some llvm components that are a bit hard to get. Let me dig a bit to see if I reproduce the problem -- nosy: +pablogsal ___ Python

[issue45373] ./configure --enable-optimizations should enable LTO

2021-10-05 Thread STINNER Victor
New submission from STINNER Victor : When Python is configured with: ./configure --enable-optimizations PGO is enabled but not LTO. I recall that a few years ago, GCC with LTO had bugs. But now, GCC with LTO is reliable. I suggest to enable it by default in Python 3.11. Or did I miss a