[GHC] #8374: `tcIfaceGlobal (local): not found` while compiling

GHC ghc-devs at haskell.org
Fri Mar 7 15:15:33 UTC 2014


#8374: `tcIfaceGlobal (local): not found` while compiling
----------------------------------------+---------------------------
        Reporter:  bgamari              |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  high                 |        Milestone:
       Component:  Build System         |          Version:  7.7
      Resolution:                       |         Keywords:
Operating System:  Unknown/Multiple     |     Architecture:  arm
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+---------------------------

Comment (by simonpj):

 Since I can't reproduce this, can you try some experiments for me?

  * Once the crash happens, copy/paste and re-run the last command line of
 the log.  In the log you uploaded in comment 24, this was
 {{{
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
 -package-name base-4.7.0.0 -hide-all-packages -i -ilibraries/base/.
 -ilibraries/base/dist-install/build -ilibraries/base/dist-
 install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base
 /dist-install/build/autogen -Ilibraries/base/include   -optP-
 DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-
 install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0 -package
 integer-gmp-0.5.1.0 -package rts-1.0 -package-name base -XHaskell2010 -O2
 -no-user-package-db -rtsopts      -odir libraries/base/dist-install/build
 -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-
 install/build -split-objs -dynamic-too -c
 libraries/base/./Control/Applicative.hs -o libraries/base/dist-
 install/build/Control/Applicative.o -dyno libraries/base/dist-
 install/build/Control/Applicative.dyn_o
 }}}
   Does re-running that one line crash in the same way?  I hope so!

  * Re-run that same command again, this time adding `-ddump-if-trace` to
 the end of the command line, and upload the result.

  * Does `libraries/base/dist-install/build/Control/Applicative.hi` exist?
 Do an `ls -l` on that directory so we can see the timestamps.

 Thanks

 Simon

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


More information about the ghc-tickets mailing list