[MacPorts] #31649: libsdl failed with clang segmentation fault
#31649: libsdl failed with clang segmentation fault ------------------------------+--------------------------------------------- Reporter: khoyee@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: libsdl, clang | Port: lisdl ------------------------------+--------------------------------------------- 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 }}}
-- Ticket URL: <https://trac.macports.org/ticket/31649> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31649: libsdl failed with clang segmentation fault ------------------------------+--------------------------------------------- Reporter: khoyee@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: libsdl ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * keywords: libsdl, clang => clang * owner: macports-tickets@… => jmr@… * port: lisdl => libsdl Comment: Clean and try again. If it fails again, please attach the main.log. {{{ sudo port clean libsdl sudo port install libsdl }}} -- Ticket URL: <https://trac.macports.org/ticket/31649#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31649: libsdl failed with clang segmentation fault ------------------------------+--------------------------------------------- Reporter: khoyee@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: libsdl ------------------------------+--------------------------------------------- Comment(by khoyee@…): Thanks. But that doesn't help. Log attached. -- Ticket URL: <https://trac.macports.org/ticket/31649#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31649: libsdl building for i386 failed with clang segmentation fault -------------------------------+-------------------------------------------- Reporter: khoyee@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: libsdl | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/31649#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31649: libsdl building for i386 failed with clang segmentation fault -------------------------------+-------------------------------------------- Reporter: khoyee@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: libsdl | -------------------------------+-------------------------------------------- Comment(by jmr@…): JFYI, my radar was a duplicate of rdar://problem/9967101 -- Ticket URL: <https://trac.macports.org/ticket/31649#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31649: libsdl building for i386 failed with clang segmentation fault -------------------------------+-------------------------------------------- Reporter: khoyee@… | Owner: jmr@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: clang Port: libsdl | -------------------------------+-------------------------------------------- Changes (by nickbroon@…): * status: closed => reopened * resolution: fixed => Comment: 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? -- Ticket URL: <https://trac.macports.org/ticket/31649#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31649: libsdl building for i386 failed with clang segmentation fault -------------------------------+-------------------------------------------- Reporter: khoyee@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: libsdl | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: r87590 -- Ticket URL: <https://trac.macports.org/ticket/31649#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts