I can confirm that what Ben says is true for me using XCode 8.1 On Thu, Dec 1, 2016 at 6:21 PM GHC <ghc-devs@haskell.org> wrote:
#11744: Latest Xcode update violates POSIX compliance of `nm -P` ---------------------------------+-------------------------------------- Reporter: hvr | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Build System | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): phab:D2113 Wiki Page: | ---------------------------------+--------------------------------------
Comment (by bgamari):
It actually appears that the latest XCode release (8.1) fixes this. It shouldn't be necessary to use `nm-classic` with, {{{ $ nm --version Apple LLVM version 8.0.0 (clang-800.0.38) Optimized build. Default target: x86_64-apple-darwin16.0.0 Host CPU: haswell }}}
-- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11744#comment:20> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler