https://sourceware.org/bugzilla/show_bug.cgi?id=26530
--- Comment #1 from Michael Matz <matz at suse dot de> --- FWIW, I think the gold behaviour is the correct one. The order of libraries on the cmdline is significant, and libfoo.so does fulfill the symbol request, so the object from libtest.a shouldn't be considered. No matter if LTO is or isn't involved. (In fact also bfd ld doesn't use the archive without LTO mode) -- You are receiving this mail because: You are on the CC list for the bug.