[GHC] #11155: Trivial thunk gives "undefined reference to stg_ap_0_upd_info"

GHC ghc-devs at haskell.org
Sat Apr 9 17:56:01 UTC 2016


#11155: Trivial thunk gives "undefined reference to stg_ap_0_upd_info"
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  high              |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  simplCore/should_compile/T11155
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by wereHamster):

 Ran into this trying to build HEAD today on Mac OS X 10.11.3. But a
 slightly different message:

 {{{
 Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
     Call hs_init_ghc() from your main() function to set these options.
 Undefined symbols for architecture x86_64:
   "_stg_sel_17_upd_info", referenced from:
       _s1xPf_info in UI.dyn_o
       _s1xQA_info in UI.dyn_o
       _s1xZU_info in UI.dyn_o
       _s1y0r_info in UI.dyn_o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 `gcc' failed in phase `Linker'. (Exit code: 1)
 make[1]: *** [ghc/stage2/build/tmp/ghc-stage2] Error 1
 make: *** [all] Error 2
 }}}

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


More information about the ghc-tickets mailing list