Re: Bug fix for glibc broke freebsd build in REL_11_STABLE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug fix for glibc broke freebsd build in REL_11_STABLE
Date
Msg-id 6502.1536102122@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug fix for glibc broke freebsd build in REL_11_STABLE  (Andres Freund <andres@anarazel.de>)
Responses Re: Bug fix for glibc broke freebsd build in REL_11_STABLE  (Andres Freund <andres@anarazel.de>)
Re: Bug fix for glibc broke freebsd build in REL_11_STABLE  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> ... Note that we've previously encountered similar issues
> on gcc, which is why we've tried to force gcc's hand with
> -fexcess-precision=standard.

Right.  Annoying that clang doesn't have that.  We can't realistically
program around an issue that might or might not show up depending on the
whims of the compiler's register allocation.

> I kinda wonder if we should add -mno-x87 or such in configure when we
> detect clang, obviously it doesn't deal correctly with this.

Seems worth looking into, but what happens if someone tries to compile
for x87 hardware?  Or do we care anymore?

            regards, tom lane


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Bug fix for glibc broke freebsd build in REL_11_STABLE
Next
From: Michael Paquier
Date:
Subject: Re: test_pg_dump missing cleanup actions