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 - Can't build SDL 1.2.9 on Mac OS X 10.4.6/G4 with GCC 4.0.1
Summary: Can't build SDL 1.2.9 on Mac OS X 10.4.6/G4 with GCC 4.0.1
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 1.2.9
Hardware: PowerPC Mac OS X 10.4 (PPC)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-12 15:27 UTC by Richard Giraud
Modified: 2006-05-13 07:24 UTC (History)
0 users

See Also:


Attachments
Script of build attempt (348.29 KB, text/plain)
2006-05-12 15:28 UTC, Richard Giraud
Details

Note You need to log in before you can comment on or make changes to this bug.
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.