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

From Andres Freund
Subject Re: Bug fix for glibc broke freebsd build in REL_11_STABLE
Date
Msg-id 20180904224436.vbkkjad756pobuxk@alap3.anarazel.de
Whole thread Raw
In response to Re: Bug fix for glibc broke freebsd build in REL_11_STABLE  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2018-09-04 15:16:27 -0700, Andres Freund wrote:
> I'm now looking at how it comes that clang on linux doesn't default to
> x87 math, but freebsd does.

Oh well. I present you, without comments, the following:

  switch (Triple.getOS()) {
  case llvm::Triple::FreeBSD:
  case llvm::Triple::NetBSD:
  case llvm::Triple::OpenBSD:
    return "i486";
  case llvm::Triple::Haiku:
    return "i586";
  default:
    // Fallback to p4.
    return "pentium4";
  }

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [HACKERS] Bug in to_timestamp().
Next
From: "R, Siva"
Date:
Subject: Re: Bug in ginRedoRecompress that causes opaque data on page to beoverrun