RE: GHC 6.8.1 SpecConstr

2007-11-15 Thread Simon Peyton-Jones
Urk. Well spotted! I omitted a prime (writing env instead of env') in a late fix, and as a result practically no top-level rules and specialisations are being applied. What an egregious bug. The good news is that a one-character fix should make 6.8.2 perform quite a bit better than 6.8.1!

GHC 6.8.1 on powerpc OS X 10.5

2007-11-15 Thread Chris Kuklewicz
So I decided to try and route around the ld/collect2 problems with ghc-6.8.1 not working on powerpc OS X 10.5 OS X 10.5 (Leopard) uses XCode 3.0 which has a gcc-4.0 toolchain. So I try to get another gcc binutils from macports. This failed. All of gcc40 gcc41 gcc42 and gcc43 failed to compile

Re: GHC 6.8.1 on Mac OS X 10.5 (Leopard)

2007-11-15 Thread Christian Maeder
Manuel M T Chakravarty wrote: I wasn't expecting any backwards compatibility from Leopard-built software to Tiger, but then I am also a Mac-noob and maybe there are ways to achieve that that I don't know of. Any suggestions? Could you, or someone else with Leopard, check if my Tiger binary

Re: GHC 6.8.1 Build Failure on Mac OS X Intel 10.4.10

2007-11-15 Thread kenny lu
Hi, initially, I faced the same problem. i.e., ghc-pkg: dependency readline doesn't exist (use --force to override) Thus, I tried ./configure --with-readline-include=/opt/local/include/readline -- with-readline-libraries=/opt/local/lib and build again, then I hit another error, Preprocessing

Re: GHC 6.8.1 on powerpc OS X 10.5

2007-11-15 Thread Corey O'Connor
I've compiled GCC 4.01 from Apple's source code: http://www.opensource.apple.com/darwinsource/10.5/ However that does not include the linker. The linker used on 10.5 is actually from the ld64 project. Which looks to be a complete rewrite of ld from the cctools project. The ld64 source is

Re: GHC 6.8.1 on Mac OS X 10.5 (Leopard)

2007-11-15 Thread Deborah Goldsmith
On Nov 6, 2007, at 4:06 PM, Manuel M T Chakravarty wrote: I wasn't expecting any backwards compatibility from Leopard-built software to Tiger, but then I am also a Mac-noob and maybe there are ways to achieve that that I don't know of. Any suggestions? Sorry, I missed this the first time

Re: State of parallel GC?

2007-11-15 Thread Jeremy Shaw
Hello, Is real-time, parallel garbage collection at all feasible? My thinking is, real-time garbage collection requires the garbage collector to be able to work on the problem in small, predictable, pieces. That seems like something which would also be useful for scaling up GC to multiple

Re: GHC 6.8.1 on powerpc OS X 10.5

2007-11-15 Thread Chris Kuklewicz
I have attacked ld64 from a different direction. This is a long message, the gist of which is that I have partly backtracked the unknown scattered relocation type 4 error message that is printed when compiling ghc-6.8.1 Topic: Why does ghc-6.8.1 fail on powerpc (G4 and G5) OS X 10.5 (Leopard)

Re: GHC 6.8.1 SpecConstr

2007-11-15 Thread Daniel Fischer
Am Donnerstag, 15. November 2007 09:57 schrieb Simon Peyton-Jones: Urk. Well spotted! I omitted a prime (writing env instead of env') in a late fix, and as a result practically no top-level rules and specialisations are being applied. What an egregious bug. The good news is that a

Re: State of parallel GC?

2007-11-15 Thread Simon Marlow
Bryan O'Sullivan wrote: Ravi Nanavati wrote: It isn't an immediately pressing need a Bluespec, but we do get asked every once in a while about parallelizing the Bluespec compiler. Roshan James was working on parallel GC at MSR Cambridge last year. Unfortunately, it's not an

Re: GHC 6.8.1 on powerpc OS X 10.5

2007-11-15 Thread Chris Kuklewicz
Deborah Goldsmith wrote: I asked internally at Apple about this and got the following response: obvious symptom: stage2 compiler segfaults, gdb reports: Program received signal SIGTRAP, Trace/breakpoint trap. 0x8fe0100c in __dyld__dyld_start () Ignore that. `continue` to actually run the

GHC 6.8.1 on Mac OS X 10.4 (Tiger)

2007-11-15 Thread Christian Maeder
Dear Intel Mac Users, I've also created a binary distribution of GHC 6.8.1 for Mac OS X 10.4 (Tiger) that is based on gmp3 and readline5 libraries under /opt/local/ (without framework dependencies). You can set the DYLD_LIBRARY_PATH if your gmp3 and readline5 libraries are elsewhere.

Windows overlapped IO

2007-11-15 Thread Felix Martini
I have made a prototype for overlapped IO that works with a modified version of Takano Akio's SSC library. I have been trying to add it to GHC's IO implementation but there are some issues. Instead of file descriptors windows handles are needed. The GHC handle implementation is currently based

Re: GHC 6.8.1 Build Failure on Mac OS X Intel 10.4.10

2007-11-15 Thread Denis Bueno
On Nov 15, 2007 10:10 AM, kenny lu [EMAIL PROTECTED] wrote: I am using fink instead of darwin port, I have readline installed. zhuo-ming-lus-computer:~ luzm$ fink list *readline* Information about 1733 packages read in 1 seconds. readline 4.3-1028 Comfortable terminal input

Re: GHC 6.8.1 on powerpc OS X 10.5

2007-11-15 Thread Simon Marlow
Chris Kuklewicz wrote: Running ../utils/genprimopcode/genprimopcode --primop-tag produces Illegal instruction There were other odd messages during the make,such as in this early output: == make boot -r; in

Re: GHC 6.8.1 on powerpc OS X 10.5

2007-11-15 Thread Deborah Goldsmith
I asked internally at Apple about this and got the following response: obvious symptom: stage2 compiler segfaults, gdb reports: Program received signal SIGTRAP, Trace/breakpoint trap. 0x8fe0100c in __dyld__dyld_start () Ignore that. `continue` to actually run the program and get to the

Re: State of parallel GC?

2007-11-15 Thread Neil Mitchell
Hi I am curious, because I have a project in mind that would benefit greatly from real-time, parallel garbage collection :) Is Haskell real-time? Doesn't lazy evaluation rather destroy lots of the real-time properties that you might like in a language. If you want a real-time functional