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" <[EMAIL PROTECTED]> To: "Volker Wysk" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users