[GHC] #11604: Build system fails after submodule update

GHC ghc-devs at haskell.org
Thu Feb 18 16:47:08 UTC 2016


#11604: Build system fails after submodule update
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by niteria):

 Ok, it didn't repro in the same way when I tried.
 I suspect that when it happened I first built with `stage=2` and then when
 it failed I tried `stage=1` and it still failed.

 I run into a different problem though:

 {{{
 /data/users/bnitka/ghc-
 clena2-t11604/compiler/stage1/build/libHSghc-8.1.a(BasicTypes.o): In
 function `ciAI_info':
 (.text+0x1d01): undefined reference to `ghc_SrcLoc_zdtr1R2_closure'
 /data/users/bnitka/ghc-
 clena2-t11604/compiler/stage1/build/libHSghc-8.1.a(BasicTypes.o): In
 function `ciBO_info':
 (.text+0x1d61): undefined reference to `ghc_SrcLoc_zdcr1R3_closure'
 /data/users/bnitka/ghc-
 clena2-t11604/compiler/stage1/build/libHSghc-8.1.a(BasicTypes.o): In
 function `ciBO_info':
 (.text+0x1db9): undefined reference to `ghc_SrcLoc_zdtr1R2_closure'
 /data/users/bnitka/ghc-
 clena2-t11604/compiler/stage1/build/libHSghc-8.1.a(BasicTypes.o): In
 function `ciCv_info':
 (.text+0x1e19): undefined reference to `ghc_SrcLoc_zdcr1R3_closure'
 /data/users/bnitka/ghc-
 clena2-t11604/compiler/stage1/build/libHSghc-8.1.a(BasicTypes.o): In
 function `SinG_srt':
 (.data+0x7d30): undefined reference to `ghc_SrcLoc_zdtr1R2_closure'
 /data/users/bnitka/ghc-
 clena2-t11604/compiler/stage1/build/libHSghc-8.1.a(BasicTypes.o): In
 function `SinG_srt':
 (.data+0x7d38): undefined reference to `ghc_SrcLoc_zdcr1R3_closure'
 collect2: ld returned 1 exit status
 }}}

 I got it from:
 {{{
 git checkout 426a25c719f74054758eaaf15daf5760f8d068fb
 git submodule update
 make clean && make distclean && ./boot && ./configure && make
 git submodule update --remote libraries/transformers
 make
 }}}

 where my `mk/build.mk` is https://phabricator.haskell.org/P102

 my stage0 is `The Glorious Glasgow Haskell Compilation System, version
 7.10.2`

 and the sha1 is `10348c4bbf60debbfc82463e1035aca1cb7b51bc`

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


More information about the ghc-tickets mailing list