[GHC] #11823: Undefined stg_sel_17_upd_info symbols on OS X
GHC
ghc-devs at haskell.org
Tue Apr 12 17:49:21 UTC 2016
#11823: Undefined stg_sel_17_upd_info symbols on OS X
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 8.0.1
Component: Compiler | Version: 8.0.1-rc3
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64
Type of failure: Building GHC | (amd64)
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by George):
The error I am getting on rc3 is slightly different than the one in the
description. Mine is:
{{{
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
}}}
After doing
{{{
$ touch ghc/GHCi/UI.hs
$ make GhcStage2HcOpts='-ddump-to-file -ddump-simpl -ddump-stg -ddump-cmm'
}}}
I get:
{{{
Undefined symbols for architecture x86_64:
"_stg_sel_17_upd_info", referenced from:
_s1rNh_info in UI.dyn_o
_s1rNO_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
}}}
Do you still want the UI.dump-{simpl,stg,cmm} files I get at this point?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11823#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list