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

GHC ghc-devs at haskell.org
Fri Mar 7 22:57:13 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 bernalex):

 Hm. OK, this is interesting. Running with --dump-tc-trace -dppr-debug
 gives this:
 https://secure.plaimi.net/~alexander/tmp/ghc-bork-if-tc-debug.log

 If I now try to run with -fno-warn-amp, or indeed without any additional
 arguments at all, this happens:
 {{{
 $ "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  -fno-warn-amp
 compilation IS NOT required
 }}}

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


More information about the ghc-tickets mailing list