https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125235
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Rocket Ma from comment #3) > (In reply to Sam James from comment #2) > > Native musl works fine. I suspect this isn't a problem on the GCC side. > > Where is libatomic installed? And what's the verbose output on your system > when running musl-gcc? I need some comparison to diagnose the issue. Could > you please paste the command output? I didn't check musl-gcc. I checked a proper musl build, no wrapper. The location is toolchain-specific, mine is at /usr/lib/gcc/x86_64-pc-linux-musl/16/libatomic.so. I think someone mentioned this on #musl IRC the other day too.
