Re: *BSD support in 6.8.3

2008-06-03 Thread Donn Cave
On Mon, 02 Jun 2008 09:36:41 +0100
Simon Marlow [EMAIL PROTECTED] wrote:

 Donn Cave wrote:
...
  20080531 and NetBSD-amd64 4.0, not so good:
  
 GHCi, version 6.8.2.20080531: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Bad system call (core dumped)
  
  SIGSYS appears to happen in select(), is all I could get out of gdb.  Prior
  to the patch, it was the usual error.
 
 I guess the error in the linker was masking the SIGSYS in select(), because 
 it occurred first.  So now we need to figure out what is causing this SIGSYS.

Well, good news and bad news.  The patch works - this was indeed
a different problem, and with that out of the way ghci comes up
and works well enough to pass some randomly selected tests from a
testsuite - ghci, rts.  This is 20080531 plus patch 2013.

The SIGSYS problem is an awkward issue between GHC and NetBSD,
which I see has already been reported, #2305.  C code compiled
from /usr/include/signal.h links to __sigprocmask14, but
libraries/base/System/Posix/Internals.hs links to sigprocmask
because it misses out on the __RENAME magic in signal.h.  That's
a compatibility function that doesn't work out so well for ghci.
I will take this up with the NetBSD ghc package maintainer.  At
worst, we can just hard-code the (incompatibility?) function names.

thanks,

-- 
Donn Cave [EMAIL PROTECTED]
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 6.8.3 Release Candidate - MacOS X (Intel/Leopard) installer, updated!

2008-06-03 Thread Manuel M T Chakravarty
Here is an updated release candidate for the MacOS X installer for  
Intel/Leopard:


  http://www.cse.unsw.edu.au/~chak/haskell/GHC-6.8.2.20080604-i386.pkg

It includes readline support statically linked.  Unless we receive any  
bug reports, these are basically the bits you'll get for the 6.8.3  
release.  So, please test it thoroughly.


Manuel

PS: I am not very hopeful about having a 10.4 (Tiger) version of the  
installer for 6.8.3.  I am currently missing a method to identify the  
symbols in an executable that lead to the bus error (invariably at  
_calloc_initialize) that signals an attempt to execute a Leopard  
binary on Tiger.  If any Mac guru here knows how to identify these  
symbols, let me know.  (I know about DYLD_PRINT_BINDINGS and friends,  
but that didn't help me so far.)  Alternatively, grab http://www.cse.unsw.edu.au/~chak/haskell/GHC-6.9.20080526-i386.dmg 
 -my currently best effort at cross-compiling for 10.4- and tell me  
why it won't run on Tiger.


Manuel M T Chakravarty:
A Mac installer version of the release candidate for Intel/Leopard  
Macs is at


 http://www.cse.unsw.edu.au/~chak/haskell/GHC-6.8.2.20080529-i386.pkg

This version of GHC includes neither editline nor readline at the  
moment (this will be fixed for the final release).  It also only  
works for Leopard (MacOS X 10.5) as I haven't managed to get cross  
compiling for older OS versions fully functional yet.


In any case, please test this if you have an Intel/Leopard Mac and  
are interested in a one-click installer with no dependencies other  
than a recent version of Xcode.


The packages comes with an uninstall script located at

 /Library/Frameworks/GHC.framework/Tools/Uninstaller

It will overwrite other 6.8.x versions of GHC installed from an  
installer package, but peacefully coexist with other distributions  
of 6.8 and with GHC versions other than 6.8 independent of how they  
were installed.


Manuel



We are pleased to announce the Release Candidate phase for GHC 6.8.3.

  Snapshots beginning with 6.8.2.20080527 are release candidates  
for 6.8.3


You can download snapshots from here:

  http://www.haskell.org/ghc/dist/stable/dist/

Right now we have the source bundles:

http://www.haskell.org/ghc/dist/stable/dist/ghc-6.8.2.20080527-src.tar.bz2
http://www.haskell.org/ghc/dist/stable/dist/ghc-6.8.2.20080527-src-extralibs.tar.bz2


Only the first of these is necessary. The extralibs package  
contains

various extra packages that are often supplied with GHC - unpack the
extralibs tarball on top of the source tree to add them, and they  
will

be included in the build automatically.

There is also currently an installer for i386/Windows and binary
distributions for x86_64/Linux and i386/Linux. More may appear later.

Please test as much as possible; bugs are much cheaper if we find  
them

before the release!

We expect to release in a few days, assuming no major issues are
discovered.


Thanks
Ian, on behalf of the GHC team

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users