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

or

  `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.)

Thanks,
Manuel

> Am 26 Mar 2016 um 20:53  schrieb Erik de Castro Lopo <[email protected]>:
> 
> 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
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to