multimedia/ffmpeg fails with internal compiler error
Is this a a) PEBKAC b) freeBSD ports error c) ffmpeg problem d) compiler problem (as the error seems to be saying) 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 # make showconfig === The following configuration options are available for ffmpeg-0.5.2,1: AMR_NB=off AMR Narrow Band encoder AMR_WB=off AMR Wide Band encoder DIRAC=off Dirac codec via libdirac FAAC=off FAAC mp4/aac audio encoder FAAD=on FAAD mp4/aac audio decoder FFSERVER=off Build and install ffserver GSM=off GSM audio codec IPV6=off IPV6 network support LAME=off LAME MP3 encoder OPENJPEG=off JPEG 2000 decoder OPTIMIZED_CFLAGS=on Additional optimizations SCHROEDINGER=off Dirac codec via libschroedinger SDL=off SDL support (build ffplay) SPEEX=off Speex audio decoder SSSE3=on Enable ssse3 support (gcc 4.4+) THEORA=on Theora encoder (implies OGG) VHOOK=off Video hook support VORBIS=on Vorbis encoder via libvorbis (implies OGG) X11GRAB=off enable X11 grabbing X264=on H.264 encoder XVID=on Xvid encoder via xvidcore === Use 'make config' to modify these settings # make -V CC gcc46 # make -V CFLAGS -pipe -mssse3 -mtune=native -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing # cat /etc/libmap.conf libgcc_s.so.1 gcc46/libgcc_s.so.1 libgomp.so.1gcc46/libgomp.so.1 libobjc.so.3gcc46/libobjc.so.2 libssp.so.0 gcc46/libssp.so.0 libstdc++.so.6 gcc46/libstdc++.so.6 -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: multimedia/ffmpeg fails with internal compiler error
On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: Is this a a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm guessing the ports build cluster uses the base system compiler or the required version. b) freeBSD ports error Don't think so. It works fine here. c) ffmpeg problem d) compiler problem (as the error seems to be saying) Could be. I recompiled it with gcc-4.4.5.20100518 without problems. So it could be a bug specific to gcc 4.6. e) hardware error. Sometimes these errors are triggered by e.g. bad RAM. 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 snip gcc46 # make -V CFLAGS -pipe -mssse3 -mtune=native -O3 -ffast-math -fno-finite-math-only Does removing these cflags make any difference? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpzg9Y6KzOB0.pgp Description: PGP signature
Re: multimedia/ffmpeg fails with internal compiler error
On Mon, May 31, 2010 at 8:11 PM, Roland Smith rsm...@xs4all.nl wrote: On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: Is this a a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm guessing the ports build cluster uses the base system compiler or the required version. I've been using gcc46 for a while now and just remove certain ports in /etc/make.conf SSSE3=on Enable ssse3 support (gcc 4.4+) seems to mean that 4.4+ works. d) compiler problem (as the error seems to be saying) Could be. I recompiled it with gcc-4.4.5.20100518 without problems. So it could be a bug specific to gcc 4.6. Maybe I will do as the error says and report the error ;) e) hardware error. unlikely: I tested both my RAM and HDD recently. It is also the only port that has failed with this type of error. Sometimes these errors are triggered by e.g. bad RAM. Does removing these cflags make any difference? turning off OPTIMIZED_CFLAGS (but leaving ssse3) does not help. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org