Matthias Kilian:
On Fri, Jan 16, 2009 at 03:20:59PM +0000, Simon Marlow wrote:
Configuring installPackage-1.0...
ghc: internal error: RELEASE_LOCK: I do not own this lock:
posix/FileLock.c 90
(GHC version 6.11.20090115 for i386_apple_darwin)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
[...]
I've reverted the OSThreads.h patch that is probably the cause of
this,
and I'll push the Scav.c patch shortly.
I didn't write the OSThreads.h patch because i was bored ;-)
http://www.haskell.org/pipermail/glasgow-haskell-users/2009-January/016414.html
I still don't understand why this failure does happen at all.
Running a build with -DLOCK_DEBUG may help to discover what's going
on, but you'll need a lot of disk space for the build log. I can't
help here much, because I'm running OpenBSD, so MacOS X and NetBSD
users have to step in.
Thanks for writing the patch. Nobody assumed you did that for no
reason. However, a patch that fixes one and breaks another
architecture ultimately does not fix the problem. From what you are
writing, it doesn't even seem to be clear that the patch does fix
NetBSD - as you haven't got a NetBSD box.
Generally, patches that are potentially architecture dependent, should
be tested on multiple architectures before being committed:
http://hackage.haskell.org/trac/ghc/wiki/TestingPatches
Cheers,
Manuel
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc