% gcc46 -v Using built-in specs. COLLECT_GCC=gcc46 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc46/gcc/i386-portbld-freebsd8.1/4.6.0/lto-wrapper Target: i386-portbld-freebsd8.1 Configured with: ./../gcc-4.6-20100529/configure --disable-nls --libdir=/usr/local/lib/gcc46 --libexecdir=/usr/local/libexec/gcc46 --program-suffix=46 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc46/include/c++/ --with-ld=/usr/local/bin/ld --with-libiconv-prefix=/usr/local --with-system-zlib --disable-rpath --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/gcc46 --build=i386-portbld-freebsd8.1 Thread model: posix gcc version 4.6.0 20100529 (experimental) (GCC)
gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3 -mtune=native -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/usr/local/include/vorbis -I/usr/local/include -std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -c -o libavutil/crc.o libavutil/crc.c libavutil/crc.c: In function 'av_crc_init': libavutil/crc.c:58:5: internal compiler error: in predicate_bbs, at tree-if-conv.c:555 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gmake: *** [libavutil/crc.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 1 This appears to crash at the same point every time which I think rules out HW error to me. The following command compiles successfully: gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -O3 -Wl,-rpath=/usr/local/lib/gcc46 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/usr/local/include/vorbis -I/usr/local/include -std=c99 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O0 -c -o libavutil/crc.o libavutil/crc.c Note -O0 and removal of all -f* flags. I don't know exactly which flags I could add and have it still compile. -- Summary: gcc fails with ICE when compiling ffmpeg Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lists at eitanadler dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44363