[GHC] #11823: Undefined stg_sel_17_upd_info symbols on OS X

GHC ghc-devs at haskell.org
Wed Apr 13 16:27:28 UTC 2016


#11823: Undefined stg_sel_17_upd_info symbols on OS X
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc3
      Resolution:  duplicate         |             Keywords:
Operating System:  MacOS X           |         Architecture:  x86_64
 Type of failure:  Building GHC      |  (amd64)
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11744            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by gridaphobe):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #11744


Comment:

 It turns out this is a result of the latest XCode update, which broke
 `nm`. Specifically, the new `nm -P` outputs decimal instead of hex which
 causes GHC to set `mAX_SPEC_SELECTEE_SIZE = 21` instead of `15`.

 The fix is to `./configure --with-nm=$(xcode-select
 -p)/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm-classic`.

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


More information about the ghc-tickets mailing list