[Bug lto/48447] LTO link fails to link libgcc correctly when -nostdlib option is specified

patrick at motec dot com.au gcc-bugzilla@gcc.gnu.org
Thu Apr 7 22:50:00 GMT 2011


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

--- Comment #10 from Patrick Oppenlander <patrick at motec dot com.au> 2011-04-07 22:50:25 UTC ---
Ok, thanks for explaining that.

Another problem I've run into here is that I also need to pass through ecrtn.o
with -Wl,-plugin-opt=-pass-through to make sure it gets linked last, otherwise
it's symbols end up in the wrong place.



More information about the Gcc-bugs mailing list