This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #4 from bero at arklinux dot org 2011-03-09 13:27:24 UTC ---
Created attachment 23598
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23598
Preprocessed source of remaining widgetinfo.cpp

Preprocessed source of remaining widgetinfo.cpp

$ g++ -g -O2 -flto -o test.o -c widgetinfo.i
$ g++ -g -O2 -flto -o test test.o -L/usr/src/ark/BUILD/qt/lib -lQt3Support
In file included from tools/q3glist.h:164:0,
                 from :88:
tools/q3gvector.cpp: In member function âwriteâ:
tools/q3gvector.cpp:159:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: ld returned 1 exit status

Still requires a libQt3Support.so built with -flto to trigger the crash
though...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]