[MacPorts] #22754: libsdl fails to build
MacPorts
noreply at macports.org
Wed Dec 2 09:11:44 PST 2009
#22754: libsdl fails to build
--------------------------------------+-------------------------------------
Reporter: keinstein_junior@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: libsdl
--------------------------------------+-------------------------------------
Hi,
I have configured MacPorts to build binaries for x86_64 on my MacOS X 10.5
platform.
Trying to compile libsdl I get the following error message:
NALP17:bin root# port install libsdl
---> Computing dependencies for libsdl
---> Fetching libsdl
---> Verifying checksum(s) for libsdl
---> Extracting libsdl
---> Applying patches to libsdl
---> Configuring libsdl
---> Building libsdl
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.14"
&& /usr/bin/nice -n 10 /usr/bin/make -j4 all " returned error 2
Command output: libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer.c -fno-common -DPIC -o build/.libs/SDL_mixer.o
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_MMX.c -o build/SDL_mixer_MMX.lo
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_MMX.c -fno-common -DPIC -o
build/.libs/SDL_mixer_MMX.o
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer.c -o build/SDL_mixer.o >/dev/null 2>&1
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_MMX.c -o build/SDL_mixer_MMX.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_MMX_VC.c -o build/SDL_mixer_MMX_VC.lo
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_m68k.c -o build/SDL_mixer_m68k.lo
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_MMX_VC.c -fno-common -DPIC -o
build/.libs/SDL_mixer_MMX_VC.o
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_MMX_VC.c -o build/SDL_mixer_MMX_VC.o >/dev/null 2>&1
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_m68k.c -fno-common -DPIC -o
build/.libs/SDL_mixer_m68k.o
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_mixer_m68k.c -o build/SDL_mixer_m68k.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_wave.c -o build/SDL_wave.lo
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/cdrom/SDL_cdrom.c -o build/SDL_cdrom.lo
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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 -o build/SDL_cpuinfo.lo
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/cdrom/SDL_cdrom.c -fno-common -DPIC -o build/.libs/SDL_cdrom.o
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_wave.c -fno-common -DPIC -o build/.libs/SDL_wave.o
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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:167: error: PIC register '%rbx' clobbered in
'asm'
./src/cpuinfo/SDL_cpuinfo.c:167: error: PIC register '%rbx' clobbered in
'asm'
./src/cpuinfo/SDL_cpuinfo.c:236: error: PIC register '%rbx' clobbered in
'asm'
./src/cpuinfo/SDL_cpuinfo.c:236: error: PIC register '%rbx' clobbered in
'asm'
./src/cpuinfo/SDL_cpuinfo.c:236: error: PIC register '%rbx' clobbered in
'asm'
./src/cpuinfo/SDL_cpuinfo.c:167: error: PIC register '%rbx' clobbered in
'asm'
./src/cpuinfo/SDL_cpuinfo.c:167: error: PIC register '%rbx' clobbered in
'asm'
make: *** [build/SDL_cpuinfo.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/cdrom/SDL_cdrom.c -o build/SDL_cdrom.o >/dev/null 2>&1
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_wave.c -o build/SDL_wave.o >/dev/null 2>&1
libtool: compile: /usr/bin/gcc-4.0 -pipe -O2 -arch x86_64
-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/audio/SDL_audiocvt.c -o build/SDL_audiocvt.o >/dev/null 2>&1
Error: Status 1 encountered during processing.
NALP17:bin root#
--
Ticket URL: <http://trac.macports.org/ticket/22754>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list