This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48042] lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Mar 2011 13:31:23 +0000
- Subject: [Bug lto/48042] lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program
- Auto-submitted: auto-generated
- References: <bug-48042-4@http.gcc.gnu.org/bugzilla/>
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).