Re: gcc2.95 and GHC

1999-08-24 Thread Simon Marlow
I seem to have found the ghc/gcc 2.95 problem. There was a bug in one of the constraints on an inline-assembly fragment in the PrimOp for small integer multiplication; patch below. I've run some benchmarks, and gcc 2.95 does a *much* better job than 2.7.2.1 of compiling the garbage collector: i

RE: multiplying is one problem (was: Re: gcc2.95 and GHC)

1999-08-23 Thread Simon Marlow
> The whole thing boils down to: > > \begin{code} > module Main (main) where > main :: IO () > main = if 1*2 == 0 then putStrLn "GHC(GCC 2.95) can't multiply, eh?" >else putStrLn "not reached" > \end{code} > > Strange, isn't it? I've tracked this down as far as PrelNum.hs in

multiplying is one problem (was: Re: gcc2.95 and GHC)

1999-08-21 Thread Michael Weber
On Sat, Aug 07, 1999 at 16:21:47 +0200, Matthias Kilian wrote: > - I tried to compile ghc and it's libraries using gcc -fno-strict-aliasing > (since this may be a problem), but it doesn't help, so you don't have to try > this options to find the error. so did I... ||/ NameVersion

RE: gcc2.95 and GHC

1999-08-07 Thread Matthias Kilian
>I'm building it now, so I'll hopefully have some results later today. If this helps (applies to linux-2.2.10, glibc-2.1.1, libgpm-2.0.2, compiled as shared libs, AMD K6-II): - As I've already said, using a egcs-1.1.2 compiled ghc-4.04 seems to work fine, even with gcc-2.95 used as the C compile

RE: gcc2.95 and GHC

1999-08-06 Thread Simon Marlow
George Russell writes: > Unhappily, having managed to build hsc from scratch with > gcc2.95 on Sparc/Solaris, > I can confirm that I still get a segmentation fault when I > run it. So it looks like > we are stuck with gcc2.7.2. Is there anything that can be > done about this? I'm building i

Re: gcc2.95 and GHC

1999-08-04 Thread Michael V. Nikolaev
I think, the only thing we can do is wait for GHC developers support of gcc2.95. - Original Message - From: George Russell <[EMAIL PROTECTED]> To: Michael V. Nikolaev <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 4 ñåðïíÿ 1999 ð. 19:23 Subject: Re: gcc2.95 and

Re: gcc2.95 and GHC

1999-08-04 Thread George Russell
Unhappily, having managed to build hsc from scratch with gcc2.95 on Sparc/Solaris, I can confirm that I still get a segmentation fault when I run it. So it looks like we are stuck with gcc2.7.2. Is there anything that can be done about this?

Re: gcc2.95 and GHC

1999-08-04 Thread Matthias Kilian
Hmmm. On my machine, at least my own programs compile fine with ghc-4.04 and gcc-2.95. I didn't yet try to recompile ghc-4.04, however. FYI: it's a K6-II running linux-2.2.10 with glibc-2.1.1. Kili

Re: gcc2.95 and GHC

1999-08-03 Thread Michael V. Nikolaev
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 3 ñåðïíÿ 1999 ð. 12:26 Subject: gcc2.95 and GHC > Do these two work together? (I believe gcc2.95 is supposed to be descended > from egcs, which is supposed to sort-of-work with GHC). >

RE: gcc2.95 and GHC

1999-08-03 Thread Simon Marlow
> Do these two work together? (I believe gcc2.95 is supposed > to be descended > from egcs, which is supposed to sort-of-work with GHC). I haven't got around to testing it yet, but I'll let you know as soon as I do. Cheers, Simon

gcc2.95 and GHC

1999-08-03 Thread George Russell
Do these two work together? (I believe gcc2.95 is supposed to be descended from egcs, which is supposed to sort-of-work with GHC).