GHC 3.02 compiled successfully on Linux (our HPs ran out of /tmp-space, but
stay tuned), but there are some buglets:
When configuring GHC, there are a few errors/warnings, but compilation
continues anyway:
[...]
/mnt/liesl1/inst/panne/fptools/ghc/utils/unlit:
configure.in:499: warning: AC_TRY_RUN called without default to allow cross
compiling
/soft/bin/autoconf: configure: Permission denied
configure.in:499: warning: AC_TRY_RUN called without default to allow cross
compiling
/soft/bin/autoheader: Symbol `ALIGNMENT_DOUBLE' is not covered by
/soft/share/autoconf/acconfig.h
/soft/bin/autoheader: Symbol `ALIGNMENT_FLOAT' is not covered by
/soft/share/autoconf/acconfig.h
/soft/bin/autoheader: Symbol `ALIGNMENT_LONG' is not covered by
/soft/share/autoconf/acconfig.h
/soft/bin/autoheader: Symbol `ALIGNMENT_UNSIGNED_INT' is not covered by
/soft/share/autoconf/acconfig.h
/soft/bin/autoheader: Symbol `LEADING_UNDERSCORE' is not covered by
/soft/share/autoconf/acconfig.h
The AC_TRY_RUN warnings are nothing serious, but what about the
"Permission denied" error and the uncovered symbols? I thought we have
the latest autoconf/autoheader (version 2.12)... :-(
The compilation requires an almost obscene amount of temporary space,
but somehow setting and exporting the TMPDIR environment variable
doesn't help. Any suggestions?
When compiling the latest Green Card (290598) with -O, ghc-3.02 fails
with an internal error:
[...]
ghc-3.02 -O -recomp -c FillIn.lhs -o FillIn.o
ClosureInfo.lhs:1128: Non-exhaustive patterns in case
H/Direct manages to provoke the same failure. I fear it's newtype
handling again.
BTW, there are some common glitches in Green Card and H/Direct:
* Both contain a space after a \ in src/Makefile, so make is telling
me something about a missing separator (if I remember correctly).
* The "higher" Makefiles don't protect their arguments with "" when
calling their sub-Makefiles, so make HC="ghc -O" fails.
At the moment I'm trying to port NHC's Binary library to GHC, but due
to lots of subtle differences >:-( between the Glasgow and York Green
Cards, things go more slowly than expected. Quoting Malcolm Wallace:
"Porting the library sources themselves should be pretty straightforward
(modulo the differences between York/Glasgow GreenCards)."
Hmmm, straightforward for someone who knows all these differences and
additionally the dirty inner workings of *both* NHC and GHC...
--
Sven Panne Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen Oettingenstr. 67
mailto:[EMAIL PROTECTED] D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne