We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 227

Summary: Can't build SDL 1.2.9 on Mac OS X 10.4.6/G4 with GCC 4.0.1
Product: SDL Reporter: Richard Giraud <giraudr>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.9   
Hardware: PowerPC   
OS: Mac OS X 10.4 (PPC)   
Attachments: Script of build attempt

Description Richard Giraud 2006-05-12 15:27:00 UTC
I'm trying to build SDL from the command-line using the XCode Tools 2.2.1 (GCC 4.0.1) and I get the following error:

ld: Undefined symbols:
__Unwind_Resume
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libSDL.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

When I run gcc_select, the following is displayed:
GCC Version:
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

I'm building on Mac OS X 10.4.6 PPC.

Building with GCC 3.3 encounters no problems, though I haven't tried to use the resulting binaries.
Comment 1 Richard Giraud 2006-05-12 15:28:02 UTC
Created attachment 126 [details]
Script of build attempt

Result of trying to compile with GCC 4.0.1.
Comment 2 Sam Lantinga 2006-05-13 07:24:38 UTC
This is already fixed for the 1.2.10 release, coming soon.