Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 17:16:50 +0300
From:      Eitan Adler <lists@eitanadler.com>
To:        questions@freebsd.org
Subject:   multimedia/ffmpeg fails with internal compiler error
Message-ID:  <AANLkTimrqWqey8aDCJ7SM3Y05rlH5vc0hDxMvk8WWw_I@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.1    gcc46/libgomp.so.1
libobjc.so.3    gcc46/libobjc.so.2
libssp.so.0     gcc46/libssp.so.0
libstdc++.so.6  gcc46/libstdc++.so.6

-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimrqWqey8aDCJ7SM3Y05rlH5vc0hDxMvk8WWw_I>