Compiling 4.08.1 on NetBSD
Simon Marlow
simonmar at microsoft.com
Mon Dec 11 06:27:40 EST 2000
> The package in pkgsrc for 4.04 on NetBSD 1.5 doesn't properly
> compile. I've also tried just compiling 4.08.1 from source,
> using the hc files. They both fail at the same spot with
> similar errors, which are listed below.
>
> NetBSD 1.5 has switched to an ELF file format. I don't know
> if this is the problem. I've tried egcs version 1.1.2 and gcc
> 2.95.2, and they both fail with the same error. This compiles
> fine under Linux.
>
> Any suggestions?
Not really; except that it looks like a problem with the mangler (a perl
script that runs over the assembly produced by gcc). From time to time
we get incompatibilities between the mangler and gcc, mainly when new
versions of gcc come out.
It may be that this bug has been fixed - it's probably a good idea to
try a more recent version of GHC. The FreeBSD package is up to 4.08.1,
so that should be a good starting point.
If that doesn't work, we'll need to investigate further.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list