]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (#148554) (...
authorVictor Stinner <vstinner@python.org>
Thu, 16 Apr 2026 17:50:27 +0000 (19:50 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Apr 2026 17:50:27 +0000 (17:50 +0000)
commit53e07256802327521d06cc7c8bcd317301f6a6e0
tree7e13489c87f775360774397ca87714b7bd82d36c
parent9c2db8144ed15f0b57fdb90ed7c7e8c362debd28
[3.13] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (#148554) (#148656)

gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 (#148554)

The -fprofile-update=atomic flag was added to fix a random GCC
internal error on PGO build (gh-145801) caused by corruption of
profile data (.gcda files). The problem is that it makes the PGO
build way slower (up to 47x slower) on i686. Since the GCC internal
error was not seen on i686 so far, don't use -fprofile-update=atomic
on i686.

(cherry picked from commit 2faceeec5c0fb06498a9654d429180ac4610c65a)
Misc/NEWS.d/next/Build/2026-04-14-15-20-29.gh-issue-148535.JjKiaa.rst [new file with mode: 0644]
configure
configure.ac