#36351: Fontforge build fails on 10.8.2 with xcode 4.4 -----------------------------+-------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: fontforge -----------------------------+-------------------------------- A segfault occurs in clang when compiling scsstylesui.c. There's also something about the preprocessor and -arch options. main.log attached {{{ :info:build /usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include/freetype2/ -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -I../inc -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -I/opt/local/include -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include '-DPREFIX="/opt/local"' -c scstylesui.c :info:build clang: error: unable to execute command: Segmentation fault: 11 :info:build clang: error: clang frontend command failed due to signal (use -v to see invocation) :info:build clang: note: diagnostic msg: Please submit a bug report to http://developer.apple.com/bugreporter/ and include command line arguments and all diagnostic information. :info:build clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options. :info:build make[1]: *** [metricsview.o] Error 254 :info:build make[1]: *** Waiting for unfinished jobs.... }}} This was after {{{ sudo port selfupdate ; sudo port upgrade outdated ; sudo port clean fontforge ; sudo port install fontforge }}} The segfault occurs when compiling different files. I've only tried it three times, but it's been twice as above, and once with metricsview.c -- Ticket URL: <https://trac.macports.org/ticket/36351> MacPorts <http://www.macports.org/> Ports system for Mac OS