Ticket #31649 (closed defect: fixed)
libsdl building for i386 failed with clang segmentation fault
| Reported by: | khoyee@… | Owned by: | jmr@… |
|---|---|---|---|
| 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
Change History
comment:1 Changed 19 months ago by ryandesign@…
- Keywords libsdl, removed
- Owner changed from macports-tickets@… to jmr@…
- Port changed from lisdl to libsdl
comment:3 Changed 19 months ago by jmr@…
- Status changed from new to closed
- Resolution set to fixed
- Summary changed from libsdl failed with clang segmentation fault to 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.
Note: See
TracTickets for help on using
tickets.


Clean and try again. If it fails again, please attach the main.log.