linking problems after switching from GHC5 to GHC6

Sigbjorn Finne sof at galois.com
Fri Jan 30 08:38:38 EST 2004


This is a 6.x bug; I fixed it in HEAD a while back,

http://haskell.org/pipermail/cvs-ghc/2003-October/018991.html

but the change wasn't merged for some reason.

--sigbjorn

----- Original Message ----- 
From: "Sven Panne" <Sven.Panne at aedion.de>
To: "Volker Wysk" <post at volker-wysk.de>
Cc: <glasgow-haskell-users at haskell.org>
Sent: Friday, January 30, 2004 08:28
Subject: Re: linking problems after switching from GHC5 to GHC6


> Volker Wysk wrote:
> > I've put together a minimal program which reproduces the problem. Save
the
> > three attachments in a new directroy and type "make". I'ts just as
> > described earlier. The trivial program compiles with GHC5, but not GHC6.
[...]
>
> Hmmm, it looks like GHC is reversing the order of files in the linking
step.
> Mentioning liba.a *before* Main.o in the linking step is a workaround...
>
> Cheers,
>     S.
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list