GHC <[EMAIL PROTECTED]> wrote:
> #1002: ghc-6.6 sometimes hangs under Solaris
> After compiling 643 modules (in 5 minutes) ghc-6.6 did not finish its
> batch job.
>
> [643 of 643] Compiling Main ( hets.hs, hets.o )
> Linking hets ...
> gmake: *** [hets] Killed
> gmake: *** Deleting file `hets'
>
> real 684m49.318s
> user 5m7.309s
> sys 0m22.634s
I have often seen problems like this with the Solaris linker. (I
suspect it must have a super-linear algorithm for resolving symbol
references.) The solution for me was to call the linker several times,
passing fewer object files to the linker at a time, e.g. using xargs.
Maybe the ghc pipeline driver needs to be taught how to do that?
Regards,
Malcolm
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs