Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132307

Summary: gcc 4.1 problem
Product: Gentoo Linux Reporter: Brad Allen <ULMO>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed source, gzipped.
Preprocessed source, gzipped
Preprocessed source, gzipped twice

Description Brad Allen 2006-05-04 19:48:21 UTC
make -k:
timertable.cpp:1371: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ulmo/d.10141.XWUKh7C/ccXKgLvK.out file, please attach this to your bugreport.

gcc -v:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /t/portage/portage/gcc-4.1.0/work/gcc-4.1.0/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.0 (Gentoo 4.1.0)

flags:
see make:

make:
make[3]: Entering directory `/usr/src/avifile/avifile-0.7-0.7.45/samples/qtvidcap'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include  -I/usr/qt/3/include -DQT_THREAD_SUPPORT  -I../../libavqt -DI18N_PATH=\"/usr/local/share/avifile-0.7/i18\" -Wall -Wno-unus
ed -I../../include  -ffast-math -march=pentium4 -pipe -O3 -mmmx -msse2 -ftree-vectorize -frename-registers -fomit-frame-pointer -pipe -MT timertable.o -MD -MP -MF ".deps
/timertable.Tpo" -c -o timertable.o timertable.cpp; \
then mv -f ".deps/timertable.Tpo" ".deps/timertable.Po"; else rm -f ".deps/timertable.Tpo"; exit 1; fi
/usr/qt/3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:77: warning: 'struct QUType' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:104: warning: 'struct QUType_Null' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:287: warning: 'struct QUType_enum' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:326: warning: 'struct QUType_iface' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:364: warning: 'struct QUType_bool' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:383: warning: 'struct QUType_int' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:403: warning: 'struct QUType_double' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:444: warning: 'struct QUType_QString' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucomextra_p.h:65: warning: 'struct QUType_QVariant' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr' has virtual functions but non-virtual destructor
/usr/qt/3/include/qnetworkprotocol.h:58: warning: 'class QNetworkProtocolFactoryBase' has virtual functions but non-virtual destructor
/usr/qt/3/include/qfiledialog.h:78: warning: 'class QFilePreview' has virtual functions but non-virtual destructor
timertable.cpp: In member function 'void TimerTableItem::setTable(int, QDateTime, QTime, QString, QString, int, int, QString)':
timertable.cpp:1371: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ulmo/d.10141.XWUKh7C/ccXKgLvK.out file, please attach this to your bugreport.
distcc[9980] ERROR: compile timertable.cpp on localhost failed
make[3]: *** [timertable.o] Error 1
Comment 1 Brad Allen 2006-05-04 19:51:33 UTC
Created attachment 86175 [details]
Preprocessed source, gzipped.

gcc asked me to attach this in the bug report.

It is compressed with gzip since it's too big uncompressed to attach.
Comment 2 Brad Allen 2006-05-04 19:53:08 UTC
Created attachment 86176 [details]
Preprocessed source, gzipped

Gcc asked me to attach this.  It is preprocessed source.  It is too big to attach uncompressed, so is gzipped.
Comment 3 Brad Allen 2006-05-04 19:56:26 UTC
Created attachment 86180 [details]
Preprocessed source, gzipped twice

gcc asked me to attach this.  Too big to do plain, so gzipped.  For some reason last time it double-compressed.
Comment 4 Brad Allen 2006-05-04 19:57:58 UTC
Comment on attachment 86180 [details]
Preprocessed source, gzipped twice

FOR SOME REASON IT COMPRESSED TWICE.  I TRIED TWICE TO FIX IT, BUT BUGZILLA IS BUGGY.  NOT MY PROBLEM.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 23:30:12 UTC
Don't shout... There's nothing double-compressed, I don't see what have you been trying to "fix"... :P

Anyway, try without -ftree-vectorize and report back.
Comment 6 Brad Allen 2006-05-05 11:37:06 UTC
(In reply to comment #5)
> Don't shout... There's nothing double-compressed, I don't see what have you
> been trying to "fix"... :P
> 
> Anyway, try without -ftree-vectorize and report back.

That seemed to work; that segfault didn't happen with default flags.  Anyway, so it's a GCC bug.  Not sure what you want to do about it.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 11:40:25 UTC
(In reply to comment #6)
> That seemed to work; that segfault didn't happen with default flags.  Anyway,
> so it's a GCC bug.  Not sure what you want to do about it.

Nothing for now... Will be fixed in 4.1.1 



*** This bug has been marked as a duplicate of 131566 ***