[commit: ghc] wip/nfs-locking: Note on nm on OS X (5422e92)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:17:19 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/5422e921b215ccb4a9041689a9b6cab4aa4af646/ghc

>---------------------------------------------------------------

commit 5422e921b215ccb4a9041689a9b6cab4aa4af646
Author: Alex Biehl <alexbiehl at gmail.com>
Date:   Wed Jun 8 12:47:49 2016 +0200

    Note on nm on OS X


>---------------------------------------------------------------

5422e921b215ccb4a9041689a9b6cab4aa4af646
 README.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/README.md b/README.md
index d99d2b7..6b5b234 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,13 @@ runs the `boot` and `configure` scripts automatically on the first build, so tha
 need to. Use `--skip-configure` to suppress this behaviour (see overview of command line
 flags below).
 
+* Also note on OS X newer versions of XCode ship with a broken `nm` tool ([#1174](https://ghc.haskell.org/trac/ghc/ticket/11744)). To mitigate the problem place something like 
+  ````haskell
+  userArgs :: Args
+  userArgs = builder (Configure ".") ? arg "--with-nm=$(xcrun --find nm-classic)"
+  ````
+ in your `UserSettings.hs`.
+
 Using the build system
 ----------------------
 Once your first build is successful, simply run `build` to rebuild. Most build artefacts



More information about the ghc-commits mailing list