Opened 15 years ago

Closed 15 years ago

#21636 closed defect (duplicate)

libsdl @1.2.14_3 FTB: SDL_cpuinfo.c: PIC register '%ebx' clobbered in 'asm'

Reported by: gale@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: libsdl

Description

On Tiger:

 /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'

Change History (2)

comment:1 Changed 15 years ago by gale@…

Oh, and this is a MacBook with a 2 GHz Intel Core 2 Duo.

comment:2 Changed 15 years ago by skymoo (Adam Mercer)

Resolution: duplicate
Status: newclosed

duplicate of #21626

Note: See TracTickets for help on using tickets.