7.10.3 fails to build with Xcode 7.3

Manuel M T Chakravarty chak at justtesting.org
Sat Mar 26 13:36:57 UTC 2016

At HVR’s suggestion, I tried passing —with-nm=…/nm-classic to configure and that indeed fixes the problem, confirming that this is #11744.

A fix is simple in this case, check whether

  `xcode-select -p`/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm-classic


  `xcode-select -p`/usr/bin/nm-classic

exists. If yes, use that instead of ’nm’; otherwise, use ’nm’ as usual. (You need to check for both, because the former is what comes with Xcode and the latter is what comes with the standalone command line tool package.)


> Am 26 Mar 2016 um 20:53  schrieb Erik de Castro Lopo <mle+hs at mega-nerd.com>:
> Manuel M T Chakravarty wrote:
>> I just noticed that GHC 7.10.3 (latest release version) fails to build
>> with version 7.3 of Xcode (which just came out of beta). Maybe this is due to
>>  https://ghc.haskell.org/trac/ghc/ticket/11744
> Yes, pretty sure that is the problem. I believe Carter (and maybe Luite)
> are working on it.
> Erik
> -- 
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

More information about the ghc-devs mailing list