
#11951: GHC build is segfaulting with Xcode 7.3 -------------------------------------+------------------------------------- Reporter: ilovezfs | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by ilovezfs: @@ -18,0 +18,1 @@ + New description: This affects Xcode 7.3 but not Xcode 7.2.1. make[1]: *** [compiler/stage2/dll-split.stamp] Segmentation fault: 11 For >= Xcode 7.3 (also the 7.3 CLT) the directory "Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin" now has the old `nm` renamed `nm-classic` and `nm` is a symlink to `llvm- nm`. By redirecting the build system's use of `nm` to use `nm-classic` the segfault does not occur. I'm not sure what goes wrong with `llvm-nm` but it would be great if the build could be fixed to be able to use it without segfaulting, since using `nm-classic` is a hack and Apple may retire it at some point. https://github.com/Homebrew/homebrew-core/issues/371 https://github.com/Homebrew/homebrew-core/pull/449 https://gist.githubusercontent.com/ilovezfs/dd26686da7e545fabca1a517e3adb039... -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11951#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler