Opened 13 years ago
Closed 13 years ago
#31649 closed defect (fixed)
libsdl building for i386 failed with clang segmentation fault
Reported by: | khoyee@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | |
Port: | libsdl |
Description
Trying to upgrade libsdl on Lion with the latest XCode 4.2 (Build 4D199) and the following clang version results in below error:
clang version:
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.2.0 Thread model: posix
port error:
---> Computing dependencies for libsdl ---> Building libsdl Error: Target org.macports.build returned: shell command failed (see log for details) Log for libsdl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/libsdl/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
The log file says:
:info:build libtool: compile: /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -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/video/SDL_blit_1.c -o build/SDL_blit_1.o >/dev/null 2>&1 :info:build clang: error: unable to execute command: Segmentation fault: 11 :info:build clang: error: clang frontend command failed due to signal 2 (use -v to see invocation) :info:build make: *** [build/SDL_audio.lo] Error 1
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | libsdl removed |
---|---|
Owner: | changed from macports-tickets@… to jmr@… |
Port: | libsdl added; lisdl removed |
Changed 13 years ago by khoyee@…
comment:3 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | libsdl failed with clang segmentation fault → libsdl building for i386 failed with clang segmentation fault |
Worked around in r86009. Bug filed with Apple: rdar://problem/10302909
I encourage others to file their own bug report with Apple, as they give greater priority to bugs reported by more people.
comment:4 Changed 13 years ago by jmroot (Joshua Root)
JFYI, my radar was a duplicate of rdar://problem/9967101
comment:5 Changed 13 years ago by nickbroon@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I'm still seeing this problem. I'm using XCode 4.2.1. Does the work around need enhanced to check for this version too?
comment:6 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
Clean and try again. If it fails again, please attach the main.log.