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

Simon Marlow marlowsd at gmail.com
Sat Jan 4 10:00:21 UTC 2014


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-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?

If this happens it is a bug, please open a ticket.

Cheers,
	Simon



More information about the ghc-devs mailing list