[Bug lto/41079] Bootstrap comparison fails, collect2 links against lto archives

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 16 17:13:00 GMT 2009



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-08-16 17:13 -------
Like forcing -Wl,-Tltoscript if using GNU ld with ltoscript being

SECTIONS { /DISCARD/ : { *(.gnu.lto_*) } }
INSERT BEFORE .text

placing this in the std GCC private library path should be enough together
with adjusting the default specs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41079



More information about the Gcc-bugs mailing list