I get a segmentation fault with both stock gcc 4.1.1 and the 20061110 4.1.2
snapshot, when trying to build avifile-0.7.45. The error message is:

if i386-pc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../include 
-I/usr/lib/qt3/include -DQT_THREAD_SUPPORT -I/usr/X11R6/include -I../../libavqt
-DI18N_PATH=\"/usr/share/avifile-0.7/i18\" -Wall -Wno-unused -I../../include 
-O3 -march=i386 -fno-strength-reduce -save-temps -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
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://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [timertable.o] Error 1
make[1]: Leaving directory
`/home/users/chris/tmp/avifile-0.7-0.7.45/samples/qtvidcap'
make: *** [all-recursive] Error 1

The info about gcc is as follows:

Using built-in specs.
Target: i386-pc-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/info
--mandir=/usr/man --enable-shared --disable-static --with-system-zlib
--enable-threads=posix --enable-haifa --enable-languages=c,c++,java
--enable-long-long --enable-namespaces --enable-multilib --with-gnu-as
--with-gnu-ld --with-system-zlib --without-x --disable-werror
--disable-checking --enable-__cxa_atexit --disable-nls
--without-included-gettext i386-pc-linux
Thread model: posix
gcc version 4.1.2 20061110 (prerelease)

The preprocessed source is 177Kb, even when bzip2ed. so I'll add it as an
attachment.


-- 
           Summary: Segmentation fault with 4.1.1 and 4.1-20061110
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chris_clayton at f1internet dot com
 GCC build triplet: i386-pc-linux
  GCC host triplet: i386-pc-linux
GCC target triplet: i386-pc-linux


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

Reply via email to