Re: Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)

2008-06-27 Thread Ian Lynagh
On Fri, Jun 27, 2008 at 01:30:58PM -0400, Judah Jacobson wrote: > > Now that we've confirmed it, can someone please update the 6.8.3 > downloads page (Replacing "PowerPC" with "PowerPC G5", perhaps)? I've updated the blurb. Thanks Ian ___ Glasgow-ha

Re: Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)

2008-06-27 Thread Judah Jacobson
On Fri, Jun 27, 2008 at 12:34 PM, Christian Maeder <[EMAIL PROTECTED]> wrote: > Judah Jacobson wrote: >> >> Christian, did you compile this distribution on a G5 PowerPC? > > Yes! > >> GMP is >> statically linked into this distribution, so if it's using any >> processor-specific instructions I could

Re: Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)

2008-06-27 Thread Christian Maeder
Judah Jacobson wrote: Christian, did you compile this distribution on a G5 PowerPC? Yes! GMP is statically linked into this distribution, so if it's using any processor-specific instructions I could see that tripping up my G4. If you or someone else can confirm that this works on a G5, then w

Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)

2008-06-27 Thread Judah Jacobson
Hi, I recently installed ghc-6.8.3 on an iBook running OS X 10.4.11 (PowerPC G4), using the following distribution: http://www.haskell.org/ghc/dist/6.8.3/maeder/ghc-6.8.3-powerpc-apple-darwin.tar.bz2 Running the following program, compiled with -O, causes an illegal instruction error: ==

RE: possible OI extension

2008-06-27 Thread Simon Peyton-Jones
Yes, the idea of some kind of backtracking solution of class constraints (multiple instance declarations, choose the one whose context is indeed soluble) has often been suggested, and is quite attractive. But it raises a bunch of new complications. And your proposal does so even more, because

Re: ghc-6.8.3 binary dist problem

2008-06-27 Thread Benjamin Franksen
Ian Lynagh wrote: > On Thu, Jun 26, 2008 at 02:51:05PM +0200, Benjamin Franksen wrote: >> aragon: .../i386-unknown-linux/ghc-6.8.3 > utils/pwd/pwd forwardslash >> [1]28489 floating point exception utils/pwd/pwd forwardslash > > This happens when your system (libc?) is too old to run the binar

using GHC for dependency generation, a couple of questions

2008-06-27 Thread Claus Reinke
http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#makefile-dependencies Recently, I stumbled on -v2 in combination with --make or -M, which produces nice module-based output instead of the file-based makefile dependencies of -M, but have run into a couple of : 1.

possible OI extension

2008-06-27 Thread Serge D. Mechveliani
Hello, people, This is about possible extension in treating of overlapping instances. Here is a simple example. -- import qualified Data.Set as Set (empty, member, insert) import List (nub) class Nub a where myNub :: a -> a instance Eq a => Nub [a] where

Re: error building HEAD

2008-06-27 Thread Jim Burton
At Thu, 26 Jun 2008 20:46:52 +0100, Ian Lynagh wrote: > > On Thu, Jun 26, 2008 at 08:32:40PM +0100, Jim Burton wrote: > > > > > > "make install" is probably broken at the moment. You should be able to > > > use it in-place, though (run compiler/stage2/ghc-inplace). > > > > > Thanks Ian. In fact,