#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)
Change History (8)
Changed 13 years ago by root42
comment:1 Changed 13 years ago by root42
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: | new → closed |
comment:5 follow-up: 6 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | duplicate → worksforme |
---|
Actually, I can't reproduce this. Make sure you have the 4.3 command line tools installed.
comment:6 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.
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.