Simon Marlow wrote:
> I didn't say it was a *working* compiler :-)
;-)
> [...] I don't know what problem you're having here, but it looks
> suspiciously like the libc5/libc6 conflict problems we were having.
That's it! Using a libc5-ghc for compilation of the new hsc gives
an ugly mix: the libHS*.a-stuff linked into the new hsc is of the old
libc5 kind, but the dynamic libs are libc6. The result is e.g. a
mismatch in the offset calculation for certain structure fields, in
our case d_name:
struct dirent
{
long int d_ino;
__off_t d_off;
unsigned short int d_reclen;
unsigned char d_type; /* <=== This field is missing in libc5!!! */
char d_name[256]; /* We must not include limits.h! */
};
> I solved those here by compiling up a 3.02 from .hc files on our
> libc6 system.
I'll give Manuel's rpms a try. *sigh*
Cheers,
Sven
--
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