"src/x86drc.c:696: error: PIC register `%ebx' clobbered in `asm'" and so on... As told here http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8546 clobbering %ebx is now illegal in PIC mode on mainline. So the ebuild I think should filter the CFLAG. Reproducible: Always Steps to Reproduce: 1.set -fPIC in CFLAGS 2.emerge xmame 3. Actual Results: It doesn't compile with "src/x86drc.c:696: error: PIC register `%ebx' clobbered in `asm'" error. Expected Results: Have xmame compiled I removed -fPIC from CFLAGS and it's compiling now... it seems to work this way.
Good that's what you should do. Don't put -fPIC in your global CFLAGS.
I use prelink my system and doing it without -fPIC CFLAG is a bad idea. A lot of ebuilds filter CFLAGS so I don't see why this one can't filter -fPIC CFLAG now we know that with -fPIC it doesn't compile!
Ehh... no Using -fPIC turns on PIC for everything that is compiled, which is completely incorrect. The answer is you you to not use -fPIC in your USE flags. Don't worry, xmame and prelink will play along just fine