On 17 November 2005 06:15, Esa Ilari Vuokko wrote:
I tried to compile ghc from cvs head in windows, hosting and targetting mingw. When I got ghc to compile, it crashes while parsing (I putStrLn-debugged) package.conf, but only from installed position.
Basically, somewhere inside ParsePkgConf.loadPackageConfig GHC crashes with access violation. With very few test runs, it appears that simplifying the file helps, but only case I got it not to crash was one package in file, rts, and empty ldOptions.
Maybe I went wrong somewhere, any pointers appreciated!
What I did: Current msys, msysdtk, binutils, win32api, gcc-core. cvs checkout fpconfig and in there ghc, libraries, alex and happy autoreconf ./configure --host=i386-unknown-mingw32 --with-gcc=d:/tools/msys/mingw/bin/gcc.exe make make install
I haven't seen this, but I'm just updating my Windows build to try to reproduce. Does it happen with the stage1 or stage2 compiler? What version of GHC are you bootstrapping with? Cheers, Simon
On 11/17/05, Simon Marlow
On 17 November 2005 06:15, Esa Ilari Vuokko wrote:
I haven't seen this, but I'm just updating my Windows build to try to reproduce. Does it happen with the stage1 or stage2 compiler? What version of GHC are you bootstrapping with?
Stage2, and only when it is already in installed location. Stage1 compiler didn't work at all from installed location (hangs). Bootstrapped with ghc-6.4.1 installed from ghc-6.4.1-bld1.msi on homepage. I will start a new clean build, hope it goes away and I need to look into buying non-broken hardware... ;) Thanks, --Esa
On 11/17/05, Esa Ilari Vuokko
I will start a new clean build, hope it goes away and I need to look into buying non-broken hardware... ;)
The build failed and I sent mail about it on cvs-ghc list this time, even if something seemed to rip away my message and just leave attachmenent.. Anyway, I downloaded few nightly builds and it seems this happens with 11-17 build as well, but not with 11-16, so it's really recent. Hth, --Esa
participants (2)
-
Esa Ilari Vuokko -
Simon Marlow