Re: RPM building (was regression on RedHat)

Trond Eivind Glomsrød <teg@redhat.com>

From: teg@redhat.com (Trond Eivind Glomsrød )
To: lockhart@fourpalms.org
Cc: Lamar Owen <lamar.owen@wgcr.org>, pgsql-hackers@postgresql.org
Date: 2001-03-21T15:12:40Z
Lists: pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:

> > It's a good start to test with for the purposes for which I think you want to
> > test for.  (and I'm an English teacher by night -- argh).
> 
> :)
> 
> Mandrake (as of 7.2) still does a brain-dead mix of "-O3" and
> "-ffast-math", which is a risky and unnecessary combination according to
> the gcc folks (and which kills some of our date/time rounding). From the
> man page for gcc:
> 
> -ffast-math
>  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  ANSI
>  rules/specifications for math functions.
> 
> I'd like to get away from having to post a non-brain-dead /root/.rpmrc
> file which omits the -ffast-math flag. Can you suggest mechanisms for
> putting a "-fno-fast-math" into the spec file? Isn't there a mechanism
> to mark things as "distro specific"? Suggestions?

If Mandrake wants to be broken, let them - and tell them.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.