[GHC] #8374: `tcIfaceGlobal (local): not found` while compiling
GHC
ghc-devs at haskell.org
Tue Mar 4 09:54:01 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):
Thanks for the recipe.
Alas, it works fine for me, when I tried with HEAD. I followed those
exact steps, except that you didn't supply the patch to use in the second-
last file, so I just modified `Data.List` by adding and exporting a couple
of new functions. (I suppose it is just about possible that the exact
patch is important.)
Then when I typed `make` (still in `libraries/base`) it re-built the base-
library just fine.
NB: I did not add `build.mk` because that's not in the recipe above.
This is all on Linux. What architecture are you on? Does it reproduce
for you on Linux?
The first few lines of output after the final `make` look like this. Same
for you?
{{{
simonpj at cam-05-unx:~/code/ghc-8374/libraries/base$ make
make -C ../.. all_libraries/base libraries/base_dist_NO_BUILD_DEPS=YES
libraries/base_dist-boot_NO_BUILD_DEPS=YES libraries/base_dist-
install_NO_BUILD_DEPS=YES NO_GENERATED_MAKEFILE_RULES=YES OMIT_PHASE_0=YES
OMIT_PHASE_1=YES stage=0
make[1]: Entering directory `/home/simonpj/code/ghc-8374'
===--- building final phase
make -r --no-print-directory -f ghc.mk phase=final all_libraries/base
"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/./Data/List.hs -o
libraries/base/dist-install/build/Data/List.o -dyno libraries/base/dist-
install/build/Data/List.dyn_o
"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/./Foreign/Marshal/Pool.hs -o libraries/base/dist-
install/build/Foreign/Marshal/Pool.o -dyno libraries/base/dist-
install/build/Foreign/Marshal/Pool.dyn_o
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8374#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list