For the time being, I've committed a change that forces GHC to use -lthr on
FreeBSD instead of whatever the default is (usually libpthread). This works
around the hangs for me.
If someone else on FreeBSD could verify this, I'd be grateful. You need to
check out the 6.4 branch from CVS:
Aug 2006 13:15:21 -0400 (EDT)
From: Daniel Eischen [EMAIL PROTECTED]
To: Robert Watson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: GHC 6.4.3 on FreeBSD (fwd)
On Mon, 7 Aug 2006, Robert Watson wrote:
I've been talking to the Haskell folk about problems they've had
getting
]
To: Robert Watson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: GHC 6.4.3 on FreeBSD (fwd)
On Mon, 7 Aug 2006, Robert Watson wrote:
I've been talking to the Haskell folk about problems they've had
getting their threaded runtime running on FreeBSD. Here's one of
their problem reports
Simon Marlow wrote:
An update on the GHC/FreeBSD front: I didn't manage to reproduce the
reported threading bugs on a UP, will be trying on a MP shortly.
Using -lthr instead of -pthread, I completed a test run on the dual proc box:
OVERALL SUMMARY for test run started at Tue Aug 8 09:21:49
An update on the GHC/FreeBSD front: I didn't manage to reproduce the
reported threading bugs on a UP, will be trying on a MP shortly.
However, I did discover one odd case that libpthread doesn't appear to
handle properly, but libthr does. This arose from a test in GHC's test
suite, but I've