Same as usual: if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libavcodec -DHAVE_AV_CONFIG_H=1 -fomit-frame-pointer -Wall -Wno-switch -msse -ggdb3 -fno-pie -fno-pie -MT libmmxsse_la-dsputil_mmx.lo -MD -MP -MF ".deps/libmmxsse_la-dsputil_mmx.Tpo" -c -o libmmxsse_la-dsputil_mmx.lo `test -f 'dsputil_mmx.c' || echo './'`dsputil_mmx.c; \ then mv -f ".deps/libmmxsse_la-dsputil_mmx.Tpo" ".deps/libmmxsse_la-dsputil_mmx.Plo"; else rm -f ".deps/libmmxsse_la-dsputil_mmx.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libavcodec -DHAVE_AV_CONFIG_H=1 -fomit-frame-pointer -Wall -Wno-switch -msse -ggdb3 -fno-pie -fno-pie -MT libmmxsse_la-dsputil_mmx.lo -MD -MP -MF .deps/libmmxsse_la-dsputil_mmx.Tpo -c dsputil_mmx.c -fPIC -DPIC -o .libs/libmmxsse_la-dsputil_mmx.o dsputil_mmx.c: In function `transpose4x4': dsputil_mmx.c:618: error: can't find a register in class `GENERAL_REGS' while reloading `asm' This is with CFLAGS="-ggdb3", but any CFLAGS that do not include an -O setting also cause compile to fail. I think the gst-plugins-ffmpeg ebuild handles this for -O0, but CFLAGS can also have no -O setting. I guess the ebuild needs to be changed to: if use x86 ; then replace-flags -O0 -O2 replace-flags -O3 -O2 if ! is-flag -O1 && ! is-flag -O2 && ! is-flag -Os ; then append-flags -O1 fi fi
No, that doesn't work; is-flag also detects flags in CXXFLAGS. Maybe: if use x86 ; then replace-flags -O0 -O2 replace-flags -O3 -O2 # prepend -O1; we need optimizations turned on CFLAGS="-O1 $CFLAGS" CXXFLAGS="-O1 $CXXFLAGS" fi
try with gst-plugins-ffmpeg 0.8.7
Still exists with 0.8.7. Not that it matters all that much.
This needs something like is-flag -O[s123] || append-flags -O2; either add this or WONTFIX this bug please, it's been sitting here for ages.
*** This bug has been marked as a duplicate of bug 190800 ***