https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105121
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> --- (In reply to Richard Biener from comment #2) > Are you sure you have object files compiled with the same compiler as you > link with? I just compiled it again. Yes, I have the same compiler. It looks like a mismatch in LTO readers and writers to me. Would the .i file that is upstream of the .o file help ?