https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125235
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- Are you sure this isn't a packaging bug in the musl-gcc wrapper either in whatever build system it has, or the Arch packaging of this? GCC should install a libatomic_asneeded.
