[Bug lto/48042] lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 9 13:31:00 GMT 2011


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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-09 13:31:13 UTC ---
Would be interesting to know if it also happens without -fwhole-program
(I am assuming you either use the gold or GNU ld linker-plugin).

You can also try linking to the libQT object files instead of the .so
and reduce the set of required files by incremental linking
(-r -nostdlib).



More information about the Gcc-bugs mailing list