Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33611 closed defect (worksforme)

libsdl fails to build with XCode 4.3

Reported by: root42 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: libsdl

Description

Similar to ticket #31649 my clang segfaults when trying to build libsdl. See the attached log file for details.

Attachments (1)

main.log (14.5 KB) - added by root42 13 years ago.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by root42

Attachment: main.log added

comment:1 Changed 13 years ago by root42

Ok, I changed my Portfile to extend the hack from ticket #31649 to Xcode 4.3.1, and then libsdl builds. I.e. with -O2, clang crashes, with -Os it does not.

comment:2 Changed 13 years ago by root42

Opened a bug report at Apple with ID 11036669.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jmr@…
Port: libsdl added

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicateworksforme

Actually, I can't reproduce this. Make sure you have the 4.3 command line tools installed.

comment:6 in reply to:  5 Changed 13 years ago by root42

Replying to jmr@…:

Actually, I can't reproduce this. Make sure you have the 4.3 command line tools installed.

Interesting enough, I cannot reproduce this on my second Mac either. I will compare Xcode versions. The one which builds fine is using code 4.3.1, Build version 4E1019. I will check the work Mac later.

comment:7 Changed 13 years ago by root42

Ok, the Xcode versions are exactly the same. The error was occuring on my work Mac all the time. Now I did 'sudo uninstall libsdl' and 'sudo port selfupdate' and 'sudo port install libsdl', and now it compiles fine. I think something went wrong before, for some reason and a clean re-install of the port with its updated dependencies helped.

Note: See TracTickets for help on using tickets.