Bug 132147 - games-emulation/ps2emu-gssoft fails with gcc-4.1
Bug#: 132147 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: tupone@gentoo.org
Component: Games
URL: 
Summary: games-emulation/ps2emu-gssoft fails with gcc-4.1
Keywords:  
Status Whiteboard: 
Opened: 2006-05-03 10:53 0000
Description:   Opened: 2006-05-03 10:53 0000
It stop compiling erroring out this:
gcc -fPIC -Wall  -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 ../Cache.o ../Cache.c -MD -MF
../Cache.d
../Cache.c: In function 

------- Comment #1 From Tupone Alfredo 2006-05-03 10:53:11 0000 -------
It stop compiling erroring out this:
gcc -fPIC -Wall  -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 ../Cache.o ../Cache.c -MD -MF
../Cache.d
../Cache.c: In function ‘_CacheLoadTexture32’:
../Cache.c:73: error: memory input 2 is not directly addressable
make: *** [../Cache.o] Error 1

------- Comment #2 From Mark Loeser 2006-05-12 19:07:28 0000 -------
Created an attachment (id=86676) [details]
gcc-4.1 asm fix

Not sure why, but this made it happy :)  Seems like quite a hack...but it
works.

------- Comment #3 From Tupone Alfredo 2006-05-29 14:11:38 0000 -------
Applied, thanks