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

GHC ghc-devs at haskell.org
Mon Apr 11 19:50:56 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 George):

 I ran into this today building 8.0.1 rc3 on Mac 10.11.4 with XCode 7.3
 invoking with "make -j5":
 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:
       _s1xEL_info in UI.dyn_o
       _s1xG6_info in UI.dyn_o
       _s1xPC_info in UI.dyn_o
       _s1xQ9_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
 bash-3.2$

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


More information about the ghc-tickets mailing list