https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123654
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Sam James from comment #11) > We have https://github.com/rui314/mold/issues/1545 (didn't realise until > after had filed), so MOVED. I've put a patch to fix it there, but as Arsen observed, the problem only happens if a linker script is used by -latomic_asneeded, so giving a full path to libatomic_asneeded.a would also solve the problem.
