https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125235
--- Comment #3 from Rocket Ma <marocketbd at gmail dot com> --- (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?
