lto-wrapper failure in GCC 4.8.0

Bdot bertramf@gmx.net
Mon Mar 31 16:53:00 GMT 2014


Sorry for being inaccurate there ...

My link line used a different version of gcc (g++ -> g++-4.8) than what the
objects were created with. g++ chose the linker for me:

g++ <object files> <options> -flto ...
lto1: fatal error: LTO_tags out of range: Range is 0 to 365, value is 753

After using g++-4.9 as link command, the error no longer appeared.

g++-4.9 <object files> <options> -flto ...
(Success)


(And sorry for digging up an old article - when I encountered the error I
found this thread without response. When I solved the issue for me, I
thought it could be helpful for others.)



More information about the Gcc-help mailing list