[GHC] #11744: Latest Xcode update violates POSIX compliance of `nm -P`

GHC ghc-devs at haskell.org
Wed Mar 23 09:58:02 UTC 2016


#11744: Latest Xcode update violates POSIX compliance of `nm -P`
---------------------------------+----------------------------------------
        Reporter:  hvr           |                Owner:
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Build System  |              Version:
      Resolution:                |             Keywords:
Operating System:  MacOS X       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by luite):

 thanks for creating the ticket.

 Unfortunately the new nm doesn't support the `-t x` option:

 {{{
 luite at Luites-MacBook-Pro:~/haskell/build/ghc-8.0.0.20160322/includes/dist-
 derivedconstants/header$ nm -P -t x tmp.o
 nm: Unknown command line argument '-t'.  Try:
 '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
 -help'
 nm: Did you mean '-A'?
 luite at Luites-MacBook-Pro:~/haskell/build/ghc-8.0.0.20160322/includes/dist-
 derivedconstants/header$ nm -P -tx tmp.o
 nm: Unknown command line argument '-tx'.  Try:
 '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
 -help'
 nm: Did you mean '-x'?
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11744#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list