Normal for make install to (re?)build libraries with stage1 compiler?

Aaron Friel aaron at frieltek.com
Tue Dec 24 22:13:40 UTC 2013


Still working on getting my own development environment configured, I am seeing make install perform a lot of rebuilds of libraries:

> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H64m -O0 -fasm    -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 -fllvm  -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  -c libraries/base/./GHC/IO/Encoding/Types.hs -o libraries/base/dist-install/build/GHC/IO/Encoding/Types.o

However, GHC has already been built to stage 2. Why is GHC inplace/bin/stage1 being invoked here - and hasn’t this library already been built by make?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131224/e722537e/attachment.html>


More information about the ghc-devs mailing list