-fPIC flag borks compile. Compiles fine w/o -fPIC. gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -march=pentium2 -fomit-frame-pointer -fforce-addr -fPIC -pipe -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../libmpeg2 -I./../libmpeg2 -c `test -f 'cpu_accel.c' || echo './'`cpu_accel.c /usr/include/inttypes.h: In function `arch_accel': cpu_accel.c:44: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:60: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:66: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:74: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:78: can't find a register in class `BREG' while reloading `asm' make[2]: *** [cpu_accel.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.3/work/transcode-0.6.3/libvo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.3/work/transcode-0.6.3' make: *** [all] Error 2 !!! ERROR: media-video/transcode-0.6.3 failed. !!! Function src_compile, Line 96, Exitcode 2 !!! (no error message)
*** Bug 19016 has been marked as a duplicate of this bug. ***
you really should not have -fPIC in your CFLAGS in the first place.
see comment 2