[mythtv] gcc 3.4.2/i386/PIC: register starving in i386/dsputil_mmx.c

Axel Thimm Axel.Thimm at ATrpms.net
Sun Oct 17 20:52:05 UTC 2004


Hi,

on FC3t3/i386 the 0.16 build bails out due to not enough registers to
use for asm.

I know this has been discussed wrt to optimizations (but the gcc call
below is optimized) and -fPIC. Should PIC be only used for x86_64?

gcc -c -pipe -w -Wall -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -g -O3 -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XRANDR -DHAVE_XVMC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I../.. -I/usr/lib/qt-3.3/include -o dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:634: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[2]: *** [dsputil_mmx.o] Error 1
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041017/7195f8e9/attachment.pgp


More information about the mythtv-dev mailing list