On Wed, 14 Oct 2020, Tobias Burnus wrote: > Question: Where do you think should it be in the driver?
I think it should be somewhere in the expansion of %(link_gcc_c_sequence) (i.e. LINK_GCC_C_SEQUENCE_SPEC, which has various target-specific definitions), since that's what expands to something like -lgcc -lc -lgcc. Maybe after the first -lgcc and before the -lc, since libatomic has references to libc functions. -- Joseph S. Myers jos...@codesourcery.com