Re: GHC 6.6.1 on Debian Etch?

2007-06-08 Thread Ferenc Wagner
Wagner Ferenc [EMAIL PROTECTED] writes: Stefan O'Rear [EMAIL PROTECTED] writes: On Tue, Jun 05, 2007 at 10:13:41PM +0200, Wagner Ferenc wrote: what's the best way to install GHC 6.6.1 on a Debian Etch system? Basically: are there installable packages available somewhere, or should I

Indirection vs. in-place update of closures

2007-06-08 Thread Stefan Holdermans
Hi, Is there any data available on how often, in GHC-generated code, closures are being updated in-place as opposed to and in comparison with being replaced by indirections to their results? How is it decided whether an in-place or an indirecting update is performed? Thanks, Stefan

Re: Prelude not in haskell98?

2007-06-08 Thread Simon Marlow
Iavor Diatchki wrote: Hi, Just curious, what external modules does the Prelude depend on? The only unusual feature that I can think of in the GHC Prelude is the fact that the partial functions throw exceptions, and so perhaps the Prelude implementation uses some extra modules for that? I'm not

Re: Indirection vs. in-place update of closures

2007-06-08 Thread Simon Marlow
Stefan Holdermans wrote: Is there any data available on how often, in GHC-generated code, closures are being updated in-place as opposed to and in comparison with being replaced by indirections to their results? How is it decided whether an in-place or an indirecting update is performed?

Re: GHC as a library stalls when nobody is consuming it's output

2007-06-08 Thread Simon Marlow
Mads Lindstrøm wrote: While trying to implement a GUI for GHCi, I have run into an annoying concurrency problems. I think GHC as a library is at fault, as it stalls (maybe some deadlock) when nobody is consuming it's output. Thanks Mads, I took a look but didn't get to the bottom of the

Re: Prelude not in haskell98?

2007-06-08 Thread Malcolm Wallace
Iavor Diatchki wrote: Just curious, what external modules does the Prelude depend on? I'm not really sure what you mean by external modules. In GHC the Prelude is comprised almost entirely of re-exports from other modules. Just to note that, although ghc's inversion of the expected

Re: GHC 6.6.1 on Debian Etch?

2007-06-08 Thread Ferenc Wagner
In the end I created a new ghc6 package from the binary bundle by slight modifications and shameless theft from Ian Lynagh control file. It seems to work together with libreadline4 from Sarge. I'm willing to share it with anybody interested. -- Regards, Feri.

Re: Failure building HEAD

2007-06-08 Thread Ian Lynagh
On Thu, Jun 07, 2007 at 11:56:35AM -0400, Gregory Wright wrote: Is this a problem with the HEAD branch or do I need a development version of cabal from the darcs repository to build the latest ghc? I'm not sure exactly what you mean. You need the latest darcs Cabal in libraries/Cabal in

Re: Failure building HEAD

2007-06-08 Thread Gregory Wright
Hi Ian, On Jun 8, 2007, at 11:24 AM, Ian Lynagh wrote: On Thu, Jun 07, 2007 at 11:56:35AM -0400, Gregory Wright wrote: Is this a problem with the HEAD branch or do I need a development version of cabal from the darcs repository to build the latest ghc? I'm not sure exactly what you mean.

Re: Failure building HEAD

2007-06-08 Thread Gregory Wright
Hi Ian, On Jun 8, 2007, at 12:03 PM, Ian Lynagh wrote: Hmm, what is the complete command (i.e. with all arguments) that starts cd base setup/Setup configure? make -C libraries all rm -f -f stamp/configure.library.*.base base/unbuildable ( cd base setup/Setup configure \

2^32 b, 6.6 for Itanium

2007-06-08 Thread Serge D. Mechveliani
Dear GHC developers, I have the two questions. 1. How ghc-6.6 runs on 64-bit machines having more that 2^32 byte memory ? Can it run into Segmentation fault ? 2. Can you prepare a reliable ghc-6.6 binary for Itanium a64 Linux ? Or maybe, someone can contribute ? One of my