GHC 6.4.1 barfs building haskell-src-exts on MingW/WinXP

Hello all, I'm trying to build haskell-src-exts-0.2 with GHC 6.4.1 under MingW on WinXP. It segfaults on the "runhaskell Setup.hs build" command (in the src/haskell-src-exts subdir). Does anyone else get this, or is it just me? sh-2.04$ runhaskell Setup.hs build -v5 Preprocessing library haskell-src-exts-0.2... c:\happy\happy-1.13\bin\happy.exe -agc -oLanguage\Haskell\Hsx\Parser.hs Language\Haskell\Hsx\Parser.ly shift/reduce conflicts: 5 Building haskell-src-exts-0.2... [segfault: instruction at 0 ref'd memory at 0] sh-2.04$ How do I modify the Cabal setup to get GHC -v output (so I can see which module it fails on)? Alistair.

Bayley, Alistair wrote:
I'm trying to build haskell-src-exts-0.2 with GHC 6.4.1 under MingW on WinXP. It segfaults on the "runhaskell Setup.hs build" command (in the src/haskell-src-exts subdir). Does anyone else get this, or is it just me?
Hi, I have the same problem with haskell-src-exts and with hs-plugins as well. I tried with a default installation of ghc-6.4.1 and later with the updated Cabal-1.1.4, but it remains the same. Using the Makefile instead of Cabal there is no problem, it also works with vshaskell or on a Linux box with the same software versions. Here is the error message: $ runhaskell Setup.hs build Preprocessing library plugins-0.9.10... Building plugins-0.9.10.. "The instruction at "0x00000000" referenced memory at "0x0000000". The memory could not be "read". Regards: Attila

attila.babo:
Bayley, Alistair wrote:
I'm trying to build haskell-src-exts-0.2 with GHC 6.4.1 under MingW on WinXP. It segfaults on the "runhaskell Setup.hs build" command (in the src/haskell-src-exts subdir). Does anyone else get this, or is it just me?
Hi,
I have the same problem with haskell-src-exts and with hs-plugins as
Note that the latest version of hs-plugins (from the darcs repo) only optionally uses haskell-src-exts.
well. I tried with a default installation of ghc-6.4.1 and later with the updated Cabal-1.1.4, but it remains the same. Using the Makefile instead of Cabal there is no problem, it also works with vshaskell or on a Linux box with the same software versions.
Here is the error message:
$ runhaskell Setup.hs build Preprocessing library plugins-0.9.10... Building plugins-0.9.10..
"The instruction at "0x00000000" referenced memory at "0x0000000". The memory could not be "read".
Regards:
Attila _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

----- Original Message -----
From: "Bayley, Alistair"
Hello all,
I'm trying to build haskell-src-exts-0.2 with GHC 6.4.1 under MingW on WinXP. It segfaults on the "runhaskell Setup.hs build" command (in the src/haskell-src-exts subdir). Does anyone else get this, or is it just me?
Hi, I get the same when building the HSQL part of hsql-1.6 (on WinXP). I added a ghc-options: -v line to the cabal file hoping it would print something before crashing. Nothing was printed which possibly indicates that the problem lies in the build code rather than the code being compiled? Cheers Mark
participants (4)
-
Babo Attila
-
Bayley, Alistair
-
dons@cse.unsw.edu.au
-
Mark Wassell