Compile failure w/ gcc4 on Fedora Core 4 Test2 (libpostproc)
Hi, I'm trying to get ffmpeg compiled on what will become Fedora Core 4, and am facing this build failure for which I haven't been able to find any useful information : + cd FFMpeg-20050421 + LANG=C + export LANG + unset DISPLAY + export CFLAGS=-O3 + CFLAGS=-O3 + export CFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu -- target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec- prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc -- datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib -- libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com -- mandir=/usr/share/man --infodir=/usr/share/info --enable-mp3lame --enable- vorbis --enable-faad --enable-faac --enable-xvid --enable-pp --enable- shared-pp --enable-shared --enable-gpl --disable-strip libogg must be enabled to enable Vorbis Install prefix /usr Source path /usr/src/ rpm/BUILD/FFMpeg-20050421 C compiler gcc make make CPU x86 (generic) Big Endian no inttypes.h yes broken inttypes.h no MMX enabled yes Vector Builtins no gprof enabled no zlib enabled yes mp3lame enabled yes libogg enabled no vorbis enabled no theora enabled no faad enabled yes faadbin enabled no faac enabled yes xvid enabled yes x264 enabled no a52 support no a52 dlopened no dts support no pp support yes debug symbols yes strip symbols no optimize yes shared pp yes Video hooking yes SDL support yes Imlib2 support yes freetype support yes Sun medialib support no pthreads support no AMR-NB float support no AMR-NB fixed support no AMR-WB float support no AMR-WB IF2 support no network support yes IPv6 support yes License: GPL Creating config.mak and config.h [... all fine w/ warnings here ...] make -C libpostproc make[2]: Entering directory `/usr/src/rpm/BUILD/FFMpeg-20050421/libavcodec/ libpostproc' gcc -c -O3 -g -Wall -Wno-switch -O3 -I. -I.. -I'/usr/src/ rpm/BUILD/FFMpeg-20050421'/libavcodec -I../.. -o postprocess.o postprocess.c In file included from postprocess.c:645: postprocess_template.c: In function 'do_a_deblock_MMX': postprocess_template.c:2901: error: memory input 4 is not directly addressable postprocess_template.c: In function 'postProcess_MMX': postprocess_template.c:3510: warning: pointer targets in passing argument 6 of 'blockCopy_MMX' differ in signedness postprocess_template.c:3656: warning: pointer targets in passing argument 6 of 'blockCopy_MMX' differ in signedness postprocess_template.c:3757: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX' differ in signedness postprocess_template.c:3781: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX' differ in signedness make[2]: *** [postprocess.o] Error 1 make[2]: Leaving directory `/usr/src/rpm/BUILD/ FFMpeg-20050421/libavcodec/libpostproc' make[1]: *** [libavcodec.so] Error 2 make[1]: Leaving directory `/usr/src/rpm/BUILD/FFMpeg-20050421/ libavcodec' make: *** [lib] Error 2 At first, I thought that "memory input 4 is not directly addressable" error was linked to the new CFLAGS, which include "-Wp,-D_FORTIFY_SOURCE=2 -fexceptions", but overriding with plain "-O3" like above gives the same error. I've seen many people report success rebuilding ffmpeg with gcc4, but I guess that's because they don't enable post processing. Clues, pointers and fixes are very welcome :-) Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora Core release 3 (Heidelberg) - Linux kernel 2.6.11-1.14_FC3 Load : 1.28 1.11 0.92
participants (1)
-
thias@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net