#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