[GHC] #11951: GHC formula is segfaulting with Xcode 7.3
GHC
ghc-devs at haskell.org
Tue Apr 19 09:39:28 UTC 2016
#11951: GHC formula is segfaulting with Xcode 7.3
-------------------------------------+-------------------------------------
Reporter: ilovezfs | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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/raw/85db1dd5070d6362ed280d8448161a3ab2b86b0d/gistfile1.txt
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11951>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list