| Summary: | games-emulation/ps2emu-gssoft-0.9 fails to emerge (pic problem?) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jens Pranaitis <jens> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lakerdonald |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| URL: | http://www.hansmaulwurf.net/ps2emuerror.txt | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jens Pranaitis
2005-08-07 04:35:09 UTC
Try: USE="-pic" emerge ps2emu-gssoft there is on more after ipciud that need the ebx asm fix gcc -march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fPIC -Wall -march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fno-exceptions -m128bit-long-double -I. -I.. -I../x86 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -D_REENTRANT -D__LINUX__ -c -o ../x86/ix86_cpudetect.o ../x86/ix86_cpudetect.c -MD -MF ../x86/ix86_cpudetect.d ../x86/ix86_cpudetect.c: In function `x86Init': ../x86/ix86_cpudetect.c:153: error: PIC register `ebx' clobbered in `asm' ../x86/ix86_cpudetect.c:153: error: PIC register `ebx' clobbered in `asm' ../x86/ix86_cpudetect.c:153: error: PIC register `ebx' clobbered in `asm' ../x86/ix86_cpudetect.c:153: error: PIC register `ebx' clobbered in `asm' make: *** [../x86/ix86_cpudetect.o] Error 1 and the use flg option does not work (In reply to comment #2) > there is on more after ipciud that need the ebx asm fix > .... > .... Your problem very well might stem from the fact that you are using -O3 (In reply to comment #3) > Your problem very well might stem from the fact that you are using -O3 Getting it too with the following CFLAGS (yea its a bit ricery): -w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer -momit-leaf- frame-pointer -msse -m3dnow -mfpmath=sse,387 -frename-registers -malign- functions=4 -fweb -ftracer even reducing it to -O0: CFLAGS=".w -O0" emerge games-emulation/ps2emu-gssoft gives the same error (this assumes emerge respects CFLAGS given on command line ?) Try adding, ironically enough, "-fpic" to your CFLAGS. This will generate PIC code. And also make sure not to do USE -pic this time. your PIC advice will just confuse people users should not touch USE=pic or -fpic/-fPIC in their CFLAGS/CXXFLAGS, end of story fixed the cpuid PIC issue in cvs |