From 7bffe7e8997b3bb704e4b6337e8c3e4341223f2b Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 17 Oct 2005 09:42:56 +0000 Subject: [PATCH] [project @ 2005-10-17 09:42:56 by simonmar] note about watching for/preventing overwrites of critical files in the bootstrap process. --- docs/building/building.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/building/building.xml b/docs/building/building.xml index ec5cfb1..4fc7c87 100644 --- a/docs/building/building.xml +++ b/docs/building/building.xml @@ -3819,7 +3819,17 @@ GhcBootLibs = YES Touch the generated configuration files, just to make sure they don't get replaced during the build: -$ touch H/ghc/includes/{ghcautoconf.h,DerivedConstants.h.GHCConstants.h.mkDerivedConstants.c,mkDerivedConstantsHdr,mkDerivedConstants.o,mkGHCConstants,mkGHCConstants.o} +$ touch H/ghc/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h,mkDerivedConstants.c,mkDerivedConstantsHdr,mkDerivedConstants.o,mkGHCConstants,mkGHCConstants.o} + + Note: it has been reported that these files still get + overwritten during the next stage. We have installed a fix + for this in GHC 6.4.2, but if you are building a version + before that you need to watch out for these files getting + overwritte by the Makefile in + ghc/includes. If your system supports + it, you might be able to prevent it by making them + immutable: +$ chflags uchg ghc/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h} -- 1.7.10.4