Subject: Re: "To crash or not to crash", or "netbsd or solaris"
To: Martin Weber <Ephaeton@gmx.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 09/14/2003 17:48:20
On Sun, Sep 14, 2003 at 05:06:12PM +0200, Martin Weber wrote:
> On Sun, Sep 14, 2003 at 02:52:42PM +0100, David Brownlee wrote:
> > On Sun, 14 Sep 2003, Martin Weber wrote:
> > 
> > > [problems with pkgsrc on NetBSD/sparc64]
> > 
> > 	gcc 2.95 is known to have issues with sparc64 codegen. gcc 3.3
> > 	is a lot better, and I believe people are working on making it
> > 	cleanly compile pkgsrc on various platforms (Solaris springs to
> > 	mind :)
> 
> The fun part is, I don't have these problems with gcc 2.95 for
> Solaris 7 on sparc64. The very same program (tgif) compiled with
> the same compiler (well, nearly. 2.95 vs. netbsd's 2.95) on the
> same hardware (sparc64, ultra sparc II 400 mhz) in the same machine
> basically (ok, 2 proc vs. 1 proc) with the only real difference
> being netbsd vs. sunos 5.7, works fine on the latter, crashes
> immediately on the former...

I suspect that on solaris7, gcc emits 32bit code. At last it did on my solaris7
boxes, and still does now that I've reinstalled everything with solaris9

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--