]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145801: Use gcc -fprofile-update=atomic for PGO builds (#145802) (#145893)
authorVictor Stinner <vstinner@python.org>
Thu, 12 Mar 2026 23:17:00 +0000 (00:17 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2026 23:17:00 +0000 (23:17 +0000)
commitb012f6817f80b646ec95b212b23e6a785200f862
treefedcad0f3688e0b7e3c7206dd7c7d09c7ccec709
parent3ae8cc8310ba5546d41473e860b600e9f3138deb
[3.13] gh-145801: Use gcc -fprofile-update=atomic for PGO builds (#145802) (#145893)

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.

(cherry picked from commit 08a018ebe0d673e9c352f790d2e4604d69604188)
Misc/NEWS.d/next/Build/2026-03-11-11-58-42.gh-issue-145801.iCXa3v.rst [new file with mode: 0644]
configure
configure.ac