Friends As you know I am trying to build GHC on Windows. This has worked for years, but I have not been able to do it in the last fortnight. Progress has been made:
* With Ian's help I updated 'autoreconf' which solved my first show-stopper * With Eirk's help I got past the mysterious "compiling powerpc code on x86" problem. Now I get all the way to running the testsuite. But then I get a seg-fault when configuring 'timeout'. * The build log output is below * I have tried repeating the same command line (the one starting "./Setup configure ..."), and it works fine if I omit --ghc-option=-threaded. But with the -threaded o There's a complaint "ghc-stage2.exe: can't find a package database at C:\code\HEAD\inplace\lib\package.conf.d". That path does exist, but it's a directory. o There's a seg-fault * I tried adding -v to see the exact GHC command line, but Cabal doesn't seem to print that out. So I'm stuck again. Does anyone have any suggestions for how I can dig further? Has anyone else tried to compile GHC on Windows or am I alone? I should say that I started with 'make maintainer-clean'. Thanks Simon make[2]: Entering directory `/c/code/HEAD/testsuite/tests' Looks like you don't have timeout, building it first... make -C ../timeout all make[3]: Entering directory `/c/code/HEAD/testsuite/timeout' rm -f -f TimeMe.o TimeMe.hi TimeMe TimeMe.exe python calibrate '' > calibrate.out rm -rf install-inplace 'C:/code/HEAD/inplace/bin/ghc-stage2.exe' --make Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup.exe ... ./Setup configure --with-compiler='C:/code/HEAD/inplace/bin/ghc-stage2.exe' \ --with-hc-pkg='C:/code/HEAD/inplace/bin/ghc-pkg.exe' \ --with-hsc2hs='C:/code/HEAD/inplace/bin/hsc2hs.exe' \ \ --ghc-option=-threaded --prefix='C:/code/HEAD/testsuite/timeout/install-inplace' Configuring timeout-1... Segmentation fault/access violation in generated code make[3]: *** [install-inplace/bin/timeout] Error 1 make[3]: Leaving directory `/c/code/HEAD/testsuite/timeout' make[2]: *** [../timeout/install-inplace/bin/timeout.exe] Error 2 make[2]: Leaving directory `/c/code/HEAD/testsuite/tests' make[1]: *** [fast] Error 2 make[1]: Leaving directory `/c/code/HEAD/testsuite/tests' make: *** [test] Error 2
_______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc