Normal for make install to (re?)build libraries with stage1 compiler?
On 24/12/13 22:13, Aaron Friel wrote:
> 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-18.104.22.168 -hide-all-packages -i
> -ilibraries/base/. -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
> 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?
If this happens it is a bug, please open a ticket.