GHC build is segfaulting with Xcode 7.3
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