[Bug driver/122429] [16 Regression] libatomic vs glibc build issue

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 26 03:40:13 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122429

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
On our end with our cross tooling, when bootstrapping cross glibc
configurations, we always build as few target libraries as possible before we
have glibc (libatomic being one we disable), then do another round once we have
glibc.

The line which added --disable-libatomic for that first round was added long
before me though, so I don't know if libatomic is supposed to require libc or
if someone hit a bug and worked around it a decade ago:

commit 4d06024dbd6f27ea247fe4db848ac0f01fe7702d
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Tue May 14 18:46:36 2013 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: Tue May 14 18:46:36 2013 +0000

    disable libatomic when building a stage1 gcc compiler


More information about the Gcc-bugs mailing list