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).