Hi William,

It's not your day, is it? :)  You seem to have tripped over just about
all the nasty bugs in 5.00.

> Hi, I'm trying to get GHC 5.00 installed on my SuSE 7.1 box.  I have
> tried (a) the binary distribution, (b) the source distribution, (c) a
> CVS snapshot.
> 
> 
>    The binary distribution ghc-5.00-i386-unknown-linux.tar.bz2 does to
> some extent work if I either install libreadline.so.3 manually or just
> symlink it to libreadline.so.4.  I can compile and run trivial
> programs and use ghci a bit.

Yep, we'll be removing the dependency on readline in the standard binary
distribution for 5.00.1 - too many people were burned by this.

>    However the toy exe I build terminates with an "Illegal
> instruction" signal (whether or not I use -via-C), and the same quite
> quickly happens to ghci if I play around.  If I copy the toy exe onto
> a Mandrake (~ RedHat) 6.0 machine I get the same.  (If I copy it onto
> an RH5 machine I get segfault instead.)

This was caused by a misconfiguration problem with the GMP library in
the binary distribution (it configured itself for i686, with the result
that it doesn't work on i586 and lower), 5.00.1 will have the fix.

>    The source distribution ghc-5.00-src.tar.bz2, with
> ghc-5.00-i386-hc.tar.bz2 overlaid on it, gets some way through
> compilation (using distrib/hc-build) and then fails:

There were several problems with bootstrapping from .hc files in 5.00,
and this is something we're concentrating on for 5.00.1.

>    The CVS snapshot I obtained tonight, with ghc-5.00-i386-hc.tar.bz2
> overlaid on it, gets some way through compilation (using autoconf and
> distrib/hc-build), and then fails as follows:

again, another problem with .hc bootstrapping.

> P.S.  I can see now why the ocaml team keep the bytecode interpreter
> alive---it does make bootstrapping an awful lot easier ...
> 
> P.P.S.  By the way I __love__ `echo  | sed 
> 's/^$/-DSTOLEN_X86_REGS=4/'`  ;-)

[polishes fingernails]

Cheers, and sorry for all the hassle - 5.00.1 will be greatly improved,
trust me :)

Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to