Re: Trouble building nhc98 for AIX
John Goerzen <[email protected]> Thu, 30 Sep 2004 10:57:46 -0500
| Newsgroups | gmane.comp.lang.haskell.nhc.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 30 September 2004 10:20 am, Malcolm Wallace wrote: > John Goerzen <[email protected]> writes: > > > Thanks, I'll add those tests to CVS. > > > > I've got one other patch I'll send along yet once I've got > > everything built. > > Please do. With the CVS file, the only change I had to make was: --- script/harch~ 2003-02-13 12:08:43.000000000 -0600 +++ script/harch 2004-09-30 10:43:31.000000000 -0500 @@ -85,7 +85,7 @@ then OS=$OS-`oslevel` else OS=$OS-unknown fi - if /etc/lsattr -EHl proc0 | grep -i powerpc >/dev/null 2>&1 + if lsattr -EHl proc0 | grep -i powerpc >/dev/null 2>&1 then PROCESSOR=powerpc else PROCESSOR=power fi ;; > There have been a few recent patches, additional to those on the > website, for fixing nhc98's interaction with gcc-3.3.x. Rather than > try to extract them, I'm going to suggest you collect a snapshot of > the current CVS, which has these fixes plus several more > improvements. Then, if you still can't get it to build, we will at > least be sure that the problem does not lie with inadequate patch > management, but with the current codebase. > > ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/nhc98src-1.17.tar.gz Got it, but build crashed with the same error: /home/jgoerzen/programs/nhc98-1.17/script/nhc98 -c +CTS -lib -redefine -CTS +RTS -H32M -RTS -o /home/jgoerzen/programs/nhc98-1.17/targets/powerpc-AIX-5.1.0.0/obj/prelude/DErrNo/DErrNo.o DErrNo.hs /home/jgoerzen/programs/nhc98-1.17/script/nhc98[452]: 72104 Segmentation fault(coredump) /home/jgoerzen/programs/nhc98-1.17/script/nhc98[462]: 66656 Segmentation fault(coredump) Trying to get tag from unevaluated node in TABLESWITCH at 200a2d25! Node is: 20052b5f at 200c5cac > > Regards, > Malcolm -- John Goerzen