#121 Internal Compile error on GCC 4.1.2

open
nobody
5
2012-12-26
2008-05-09
Gary Greene
No

I keep getting an Internal Compiler Error when building mjpegtools 1.9.0-rc3. The error output follows:

g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include -I../utils -DNDEBUG -finline-functions -fno-PIC -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -pthread -MT newdenoise.o -MD -MP -MF .deps/newdenoise.Tpo -c -o newdenoise.o newdenoise.cc
MotionSearcher.hh: In instantiation of 'MotionSearcher<unsigned char, 1, int, short int, int, 4, 2, short unsigned int, Pixel<unsigned char, 1, int>, ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, ReferenceFrame<ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, short int, int> >::MatchThrottleFloodFillControl':
MotionSearcher.hh:507: instantiated from 'MotionSearcher<unsigned char, 1, int, short int, int, 4, 2, short unsigned int, Pixel<unsigned char, 1, int>, ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, ReferenceFrame<ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, short int, int> >'
newdenoise.cc:32: instantiated from here
MotionSearcher.hh:2444: internal compiler error: in tsubst, at cp/pt.c:7220
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.altimatos.com/> for instructions.
make[2]: *** [newdenoise.o] Error 1
make[2]: Leaving directory `/srv/foremand/RPM/BUILD/mjpegtools-1.9.0rc3/y4mdenoise'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srv/foremand/RPM/BUILD/mjpegtools-1.9.0rc3'
make: *** [all] Error 2
error: Bad exit status from /srv/foremand/RPM/tmp/rpm-tmp.17736 (%build)

The compiler is g++ 4.1.2 CVS 20061110, C library is GNU LibC 2.5 stable branch, and binutils version 2.17.50.0.8 CVS 20061201. I'd prefer _not_ to upgrade GCC to build this package if possible.

If you need additional information, please ask and I'll attempt to provide the information you might need to fix this bug. Thanks.

Discussion

  • Lars Windolf
    Lars Windolf
    2009-03-17

    Same problem here using gcc 4.1.1-21.