Use of MutableByteArray in GHC/Conc.lhs ?

Brian Alliet brian at brianweb.net
Sun May 27 03:51:27 EDT 2007


On Sun, May 27, 2007 at 05:12:49PM +1000, Mark Wassell wrote:
> I am slowly making progress, in a drunken walk kind of way, building  
> GHC 6.7.20070518 (the one from the LambdaVM tree). Whilst most of my 

Since you're using LambdaVM you should probably report bugs directly to
me rather than bothering GHC HQ with LambdaVM bugs. I'll let you know
if it isn't my problem.

> libraries, I am puzzled by the error below. Why is MutableByteArray 
> being used? Isn't it deprecated? Its appearance does sit inside #ifdef 
> mingw32_HOST_OS so maybe it hasn't been noticed.

Indeed it hasn't. I think there are quite a few mingw build problems
lurking in the libraries. I've never actually built LambdaVM on
windows. One of these days I'll get around to it.

You should be able to fix it by changing MutableByteArray# RealWorld to
UArray# RealWorld Word8# and byteArrayContents# to uArrayContents#.

Or you could just run "make way=j" in the libraries dir if you don't
plan on using the same GHC build for generating native binaries. The
java build of the libraries should be fine.

-Brian


More information about the Glasgow-haskell-users mailing list