https://sourceware.org/bugzilla/show_bug.cgi?id=31009
--- Comment #2 from Michael Matz <matz at suse dot de> --- Another possible way forward: if you add '-save-temps' to the link/compile command then the LTO phase will leave around the $foobar.ltransXXX.ltrans.o files and the *.debug.o files, that are ultimately input to the second linker phase (the one that throws these errors). If you can provide access to these, plus the other linker input files and command line (also see the output when adding '-v', search for "collect2" and COLLECT_GCC_OPTIONS), then we could also analyse the causes. The ltrans and .debug files will also be very large, though. -- You are receiving this mail because: You are on the CC list for the bug.