Segmentation fault in ghc-6-2-branch-in-place

Serge D. Mechveliani mechvel at botik.ru
Tue May 18 06:21:56 EDT 2004


Dear GHC developers,

I have built the   cvs update -r 6-2-branch   in my home dir.

It was compiled by  ghc-6.2.1 official and istalled in 
                                           .../ghcCVS/inst

It worked in some examples, but as I wrote you, some errors appear.
Now I am trying to rebuild  6-2-branch  from the same source by 
itself:
         
   > cd myfptools
   > ./configure --prefix=/home/mechvel/ghcCVS/inst2
                 GHC=/home/mechvel/ghcCVS/inst/bin/ghc
   > make all

And it reports


***************************************************

make[1]: Entering directory `/disk2/home/mechvel/ghcCVS/myfptools/glafp-utils'
------------------------------------------------------------------------
===fptools== Recursively making `boot' in mkdependC mkdirhier runstdtest 
docbook lndir ...
PWD = /disk2/home/mechvel/ghcCVS/myfptools/glafp-utils
...
...
/home/mechvel/ghcCVS/inst/bin/ghc -M -optdep-f -optdep.depend  -osuf o  
                                  -H16m -O                      HaskTags.hs

-- the ghc-2-branch envoked, right?
...
...
/home/mechvel/ghcCVS/inst/bin/ghc -H16m -O -cpp    -c 
                                  Config.hs -o Config.o  -ohi Config.hi
...
...
/home/mechvel/ghcCVS/inst/bin/ghc -o stage1/ghc-6.2.1 -H16m -O 
   -istage1/utils ...
   -H16M '-#include "hschooks.h"'    -no-link-chk
   stage1/absCSyn/AbsCSyn.o  stage1/absCSyn/AbsCUtils.o
   ....
-----------------------------------------------------------------
==fptools== make all -wr;
 in /disk2/home/mechvel/ghcCVS/myfptools/ghc/rts
-----------------------------------------------------------------
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -H16m -O -O2 -static    -c Adjustor.c -o Adjustor.o

-- the new  ghc-inplace  invoked, right?

make[2]: *** [Adjustor.o] Segmentation fault
make[1]: *** [all] Error 1
make[1]: Leaving directory `/disk2/home/mechvel/ghcCVS/myfptools/ghc'
make: *** [build] Error 1

****************************************************



Please, advise,
 
-----------------
Serge Mechveliani
mechvel at botik.ru




More information about the Glasgow-haskell-bugs mailing list