
Sigbjorn,
Interesting. We've had no such problem on Solaris 2.7
on sparc. Our gcc version is 2.95.2, btw. Pls keep me
informed as we would obviously like to ship a fix for
this prob in 5.02.1 if poss.
J
| -----Original Message-----
| From: Sigbjorn Finne [mailto:sof@galconn.com]
| Sent: Friday, October 12, 2001 5:53 PM
| To: Akop Pogosian
| Cc: glasgow-haskell-users@haskell.org
| Subject: Re: ghc-5.02 build on SunOS 5.6 fails with segmentation fault
|
|
| Yes, we've seen behaviour like this here on that platform.
| If you try feeding the failing compiler invocation the extra
| command-line option "-dshow-passes" and it shows up as
| failing pretty early on in the game (parsing, renaming),
| here's something you may want to try out:
|
| - in mk/build.mk (in the toplevel directory), define the
| following
|
| GHC_HAPPY_OPTS=-g
|
| - in ghc/compiler/ remove the following files
|
| parser/Parser.o parser/Parser.hs
| parser/ParseIface.o parser/ParseIface.hs
| main/ParsePkgConf.o main/ParsePkgConf.hs
|
| and do a 'make all'
|
| - with the freshly built contents of ghc/compiler in hand,
| proceed to ghc/lib and continue.
|
| This may or may not address your problem -- I've yet to
| isolate the bug we were running into, but poking around
| with 'gdb' suggested that the string-encoded tables that
| Happy generates when using the options "-agc" was causing
| the problem.
|
| --sigbjorn
|
| ----- Original Message -----
| From: "Akop Pogosian"