https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Clang is not a linker either. Both Clang and GCC just pass the options to the linker. Any difference in behaviour is a difference in the linker, not a difference between Clang and GCC.