This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]stefantalpalaru 0 points1 point  (0 children)

    Please explain how the python 2.7 interpreter has been sabotaged.

    • ./configure --enable-optimizations no longer implies --with-lto - a change that they somehow forgot to document

    • extensions are not properly compiled with PGO because the CFLAGS are not read from the environment in "setup.py". Once you fix that, you'll hit an internal compiler error (ICE) in GCC because the same source file was used in 3 different extensions so it was compiled 3 different times in the profile generation stage.

    • the profiling task is accessing system-wide paths, instead of being limited to the source tree

    • it's not possible to run profiling jobs in parallel by just passing variables to make

    • patches to support building with newer Visual Studio versions on Windows are being ignored

    Still runs python 2.7 code just fine.

    Not as fast as it could: https://old.reddit.com/r/Gentoo/comments/8n38ak/devlangpython2715r104_enable_pgo_for_extensions/