Fail to compile 5.04.3 on Solaris
Simon Marlow
simonmar at microsoft.com
Wed Apr 16 11:18:46 EDT 2003
> On Tue, 15 Apr 2003, Simon Marlow wrote:
>
> > > No. And bootstrapping with 5.04.3 also gave a
> segmentation fault. I've
> > > attached a printout of what happens when I restart the
> > > compilation with
> > > EXTRA_HC_OPTS=-v. As before, Handle compiles fine when I
> restart the
> > > compilation.
> >
> > Ah, it actually looks like the linker crashed. On Sun
> boxes, I usually
> > find that using the GNU linker gives much better results:
> it's orders of
> > magnitude faster, for one thing.
> >
> Ah, yes. I've had problems with the linker before. It would
> be REALLY nice
> if configure could find the GNU linker instead. Or it should
> at least be
> possible to specify one's own linker a la --with-ln=<linker>.
> Could you
> make this happen? Puhlease?
For a GHC build, you can add 'LD = gld' to build.mk. But GHC uses gcc
for linking normal programs, so you probably also want to rebuild gcc
with support for using the GNU linker.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list