[MacPorts] #21626: libsdl 1.2.14_3 fails on Intel Leopard

MacPorts noreply at macports.org
Sat Sep 26 05:43:19 PDT 2009


#21626: libsdl 1.2.14_3 fails on Intel Leopard
------------------------------+---------------------------------------------
 Reporter:  ram@…             |       Owner:  nox@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:                  
 Keywords:                    |        Port:  sdl             
------------------------------+---------------------------------------------
 Getting the following build error from libsdl 1.2.14_3 on Intel Leopard:

 {{{
  /usr/bin/gcc-4.0 -O2 -arch i386 -I/opt/local/include -I./include
 -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
 -fvisibility=hidden -I/opt/local/include -DXTHREADS -D_THREAD_SAFE
 -force_cpusubtype_ALL -fpascal-strings -c ./src/cpuinfo/SDL_cpuinfo.c
 -fno-common -DPIC -o build/.libs/SDL_cpuinfo.o
 ./src/cpuinfo/SDL_cpuinfo.c: In function 'SDL_GetCPUFeatures':
 ./src/cpuinfo/SDL_cpuinfo.c:150: error: PIC register '%ebx' clobbered in
 'asm'
 ./src/cpuinfo/SDL_cpuinfo.c:150: error: PIC register '%ebx' clobbered in
 'asm'
 ./src/cpuinfo/SDL_cpuinfo.c:220: error: PIC register '%ebx' clobbered in
 'asm'
 ./src/cpuinfo/SDL_cpuinfo.c:220: error: PIC register '%ebx' clobbered in
 'asm'
 ./src/cpuinfo/SDL_cpuinfo.c:220: error: PIC register '%ebx' clobbered in
 'asm'
 ./src/cpuinfo/SDL_cpuinfo.c:150: error: PIC register '%ebx' clobbered in
 'asm'
 ./src/cpuinfo/SDL_cpuinfo.c:150: error: PIC register '%ebx' clobbered in
 'asm'
  /usr/bin/gcc-4.0 -O2 -arch i386 -I/opt/local/include -I./include
 -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
 -fvisibility=hidden -I/opt/local/include -DXTHREADS -D_THREAD_SAFE
 -force_cpusubtype_ALL -fpascal-strings -c ./src/events/SDL_active.c  -fno-
 common -DPIC -o build/.libs/SDL_active.o
 make: *** [build/SDL_cpuinfo.lo] Error 1
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21626>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list