Re: nhc98 on netbsd x86_64
Malcolm Wallace <[email protected]> Fri, 25 Oct 2013 23:58:23 +0100
| Newsgroups | gmane.comp.lang.haskell.nhc.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 25 Oct 2013, at 08:22, David Holland wrote:
> I have been updating NetBSD's nhc98 package (to 1.22), and while it
> builds on 32-bit x86, on a 64-bit host the build dies running
> hmake3.config with
>
> PreludeList.init: empty list
> PreludeList.init: empty list
> PreludeList.init: empty list
My best guess is the same as yours. nhc98 will only build with a 32-bit environment, since its memory model explicitly expects that. Building with a 64-bit compiler and the -m32 flag _might_ work, but as you say, it is easy to miss a place where the flag is necessary, but the build system fails to pass it through correctly.
Regards,
Malcolm