Re: OpenBSD/Sparc status

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Darcy Buskermolen <darcy(at)wavefire(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: OpenBSD/Sparc status
Date: 2004-11-24 02:58:49
Message-ID: 20041124025849.GA36071@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 23, 2004 at 11:34:44AM -0700, Michael Fuhr wrote:
>
> gcc 3.4.2 on Solaris 9/sparc 64 appears to be okay.

But gcc 3.3.2 on Solaris 9/sparc 64 isn't.

% gcc -m64 test.c
% ./a.out
x = 12.3
y = 12.3

% gcc -O -m64 test.c
% ./a.out
x = 12.3
y = 2.51673e-42

% gcc -O2 -m64 test.c
% ./a.out
x = 12.3
y = 2.51673e-42

% gcc -O3 -m64 test.c
% ./a.out
x = 12.3
y = 12.3

% file a.out
a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2004-11-24 03:03:00 Re: Beta5 now Available
Previous Message Michael Fuhr 2004-11-24 02:18:21 Re: OpenBSD/Sparc status