Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19014 - -fPIC in CFLAGS borks compile in transcode-0.6.3
Summary: -fPIC in CFLAGS borks compile in transcode-0.6.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 19016 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-08 20:15 UTC by Hemal Kikawala
Modified: 2003-04-10 10:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hemal Kikawala 2003-04-08 20:15:38 UTC
-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)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-08 22:34:30 UTC
*** Bug 19016 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-09 09:03:20 UTC
you really should not have -fPIC in your CFLAGS in the first place.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-10 10:47:37 UTC
see comment 2