Re: BUG #4190: sparc64 test suite fails

From: Dennis Gilmore <dennis(at)ausil(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4190: sparc64 test suite fails
Date: 2008-05-24 05:51:27
Message-ID: 200805240051.35213.dennis@ausil.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The full build log is
http://sparc.koji.fedoraproject.org/koji/getfile?taskID=56849&name=build.log

the build was using gcc-4.3 with the package as built on the rest of fedora.
it builds ok sparc32 ppc ppc64 i386 x86_64 and ia64 but fails on sparc64.

I will forward everything to the gcc guys in a bug report.

Dennis

On Friday 23 May 2008, Gregory Stark wrote:
> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> > IMHO, what you have here is a compiler bug, or at least the gcc boys are
> > going to need to provide a damn good excuse why it's not.
>
> You don't, perhaps have any of -ffast-math or these two suboptions which
> -ffast-math enables turned on?
>
> `-funsafe-math-optimizations'
> Allow optimizations for floating-point arithmetic that (a) assume
> that arguments and results are valid and (b) may violate IEEE or
> ANSI standards. When used at link-time, it may include libraries
> or startup files that change the default FPU control word or other
> similar optimizations.
>
> This option should never be turned on by any `-O' option since it
> can result in incorrect output for programs which depend on an
> exact implementation of IEEE or ISO rules/specifications for math
> functions.
>
> The default is `-fno-unsafe-math-optimizations'.
>
> `-fno-trapping-math'
> Compile code assuming that floating-point operations cannot
> generate user-visible traps. These traps include division by
> zero, overflow, underflow, inexact result and invalid operation.
> This option implies `-fno-signaling-nans'. Setting this option
> may allow faster code if one relies on "non-stop" IEEE arithmetic,
> for example.
>
> This option should never be turned on by any `-O' option since it
> can result in incorrect output for programs which depend on an
> exact implementation of IEEE or ISO rules/specifications for math
> functions.
>
> The default is `-ftrapping-math'.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-05-25 22:50:32 Re: BUG #4186: set lc_messages does not work
Previous Message Gregory Stark 2008-05-23 20:01:45 Re: BUG #4190: sparc64 test suite fails