]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145801: Use gcc -fprofile-update=atomic for PGO builds (#145802)
authorVictor Stinner <vstinner@python.org>
Thu, 12 Mar 2026 22:48:51 +0000 (23:48 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2026 22:48:51 +0000 (23:48 +0100)
commit08a018ebe0d673e9c352f790d2e4604d69604188
tree02b80e4089540ebb07cca936e9fa6b88c077d66e
parentf105265538823126dda5bc113fdb72cb2d5d2dbc
gh-145801: Use gcc -fprofile-update=atomic for PGO builds (#145802)

When Python build is optimized with GCC using PGO, use
-fprofile-update=atomic option to use atomic operations when updating
profile information. This option reduces the risk of gcov Data Files
(.gcda) corruption which can cause random GCC crashes.
Misc/NEWS.d/next/Build/2026-03-11-11-58-42.gh-issue-145801.iCXa3v.rst [new file with mode: 0644]
configure
configure.ac