Bug#472613: ffmpeg-free_0.cvs20071007-4(hppa/experimental): FTBFS: missing -fPIC
Fabian Greffrath
greffrath at leat.rub.de
Thu Apr 17 13:36:28 UTC 2008
Reinhard Tartler schrieb:
> If that works, I think we can drop the drop the sed surgery regarding
> Makefile.pic / config.mak.pic, I think.
Definitely, will commit this ASAP.
> However, the source FTBFS for me:
>
> make[2]: Entering directory `/home/siretart/packages/ffmpeg/ffmpeg.20080206/libavcodec'
> gcc -I"/home/siretart/packages/ffmpeg/ffmpeg.20080206"/libswscale -I"/home/siretart/packages/ffmpeg/ffmpeg.20080206"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/home/siretart/packages/ffmpeg/ffmpeg.20080206" -I"/home/siretart/packages/ffmpeg/ffmpeg.20080206" -I"/home/siretart/packages/ffmpeg/ffmpeg.20080206"/libavutil -fPIC -DPIC -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -c -o i386/cavsdsp_mmx.o i386/cavsdsp_mmx.c
> i386/cavsdsp_mmx.c: In function ‘ff_put_cavs_qpel8_mc01_3dnow’:
> i386/cavsdsp_mmx.c:447: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
> i386/cavsdsp_mmx.c:447: error: ‘asm’ operand has impossible constraints
> i386/cavsdsp_mmx.c:447: error: ‘asm’ operand has impossible constraints
> make[2]: *** [i386/cavsdsp_mmx.o] Fehler 1
>
>
> can you reproduce this?
Darn, yes! Strange though that it does not quit, but returns to "Build
and backup static libraries".
However, the code breaks with '-fPIC -DPIC' but nevertheless these
parameters have to be set to compile the shared libraries. The
affected file cavsdsp_mmx.c is only build if HAVE_MMX is true, so I
suggest we build without any arch-specific optimizations, i.e.
--disable-mmx --disable-armv5te --disable-armv6 --disable-iwmmxt
--disable-altivec
This will as well "fix" all altivec-related problems...
Cheers,
Fabian
--
Dipl.-Phys. Fabian Greffrath
Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum
Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail: greffrath at leat.ruhr-uni-bochum.de
More information about the pkg-multimedia-maintainers
mailing list