6.4.2 under solaris
Simon Marlow
simonmarhaskell at gmail.com
Tue May 2 04:39:35 EDT 2006
Christian Maeder wrote:
> Christian Maeder wrote:
>
>> using Rev. 1.1.2.3 of timeout.hs I could run the testsuite until
>> conc020 which did then "sleep" with "truss" repeatedly outputting:
>
>
> I ran the testsuite now with ghc-6.4.1. The results are attached at
>
> > http://hackage.haskell.org/trac/ghc/ticket/752
>
> First of all I had to add "optl-lrt" to ghc-6.4.1 in order to be able to
> link the threaded cases to aboid "undefined reference to `sched_yield'"
> in "OSThreads.c:(.text+0x90)"
>
> Is "-threaded" the cause for the ghc-6.4.2 problems under solaris?
In GHC 6.4.2, the stage 2 compiler is built with -threaded, this is a
change from previous versions. If -threaded isn't working properly,
then the stage 2 compiler will be affected - that seems to be the case
on Solaris.
To get going, you could just disable -threaded in stage 2 (see
ghc/compiler/Makefile).
> "conc020(threaded)" seg-faulted with ghc-6.4.1 (while being treated with
> "truss")
Looks like 6.4.1 had some problems with -threaded on Solaris too.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list