> 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! */
> };
Wow, I can't believe someone actually bothered to track this down.
Anyway, I've got 3.02 and 4.01 binaries for Linux/glibc which I'm trying to
upload to the Glasgow ftp site, but it may take a while.
Cheers,
Simon "I hate Linux, give me NT any day" Marlow