Commit a0e10510 authored by Ben Gamari's avatar Ben Gamari 🐢

Recommend more reliable recourse for broken nm

xcrun --find seems like the appropriate choice here. Thanks to Brandon
Allbery for suggesting this.
parent 5adf8f3b
......@@ -24,8 +24,7 @@ performance improvements over the 7.10 branch.
system to use the ``nm-classic`` command instead of Apple's new ``nm``
implementation as the latter breaks POSIX compliance (see
:ghc-ticket:`11744`). This can be done by passing something like
``--with-nm=/Library/Developer/CommandLineTools/usr/bin/nm-classic`` to
``configure``.
``--with-nm=$(xcrun --find nm-classic)`` to ``configure``.
Highlights
----------
......
......@@ -693,7 +693,7 @@ getWanted verbose os tmpdir gccProgram gccFlags nmProgram mobjdumpProgram
Just 0x292 -> die $ "broken 'nm' detected, see https://ghc.haskell.org/ticket/11744.\n"
++ "\n"
++ "Workaround: You may want to pass\n"
++ " --with-nm=$(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm-classic\n"
++ " --with-nm=$(xcrun --find nm-classic\n"
++ "to 'configure'.\n"
Just x -> die ("unexpected value round-tripped for CONTROL_GROUP_CONST_291: " ++ show x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment