From: Andres Freund <andres@anarazel.de>
To: steven.winfield@cantabcapital.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15270: __builtin_isinf conflict when building using clang
Date: Fri, 31 Aug 2018 17:12:00 -0700
Message-ID: <20180901001200.35wf3uz2u6jlsosr@alap3.anarazel.de> (raw)
In-Reply-To: <153116283147.1401.360416241833049560@wrigleys.postgresql.org>
References: <153116283147.1401.360416241833049560@wrigleys.postgresql.org>
On 2018-07-09 19:00:31 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15270
> Logged by: Steven Winfield
> Email address: steven.winfield@cantabcapital.com
> PostgreSQL version: 11beta2
> Operating system: RHEL 7.4
> Description:
>
> Hi,
>
> I've been experimenting with getting the whole of PG 11beta2 (not just the
> JIT) compiling with the most recent stable version of llvm/clang: 6.0.1.
>
> TL;DR: In src/include/port.h, inside the #else branch of #ifndef HAVE_ISINF,
> there probably need to be some glibc version checks within the #ifdef
> __clang__ block.
The actual problem appears to be issues within libc++ (rather than
libstdc++). I nevertheless have restricted it to C for now, as there's
no performance issue with the tiny amount of C++ in postgres.
We probably need to find a better solution.
Sorry for the late response!
Greetings,
Andres Freund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, steven.winfield@cantabcapital.com
Subject: Re: BUG #15270: __builtin_isinf conflict when building using clang
In-Reply-To: <20180901001200.35wf3uz2u6jlsosr@alap3.anarazel.de>
References: <153116283147.1401.360416241833049560@wrigleys.postgresql.org> <20180901001200.35wf3uz2u6jlsosr@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox