Re: BUG #15270: __builtin_isinf conflict when building using clang

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #15270: __builtin_isinf conflict when building using clang
Дата
Msg-id 20180901001200.35wf3uz2u6jlsosr@alap3.anarazel.de
обсуждение исходный текст
Ответ на BUG #15270: __builtin_isinf conflict when building using clang  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
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


В списке pgsql-bugs по дате отправления:

Предыдущее
От: jhm713
Дата:
Сообщение: Re: Inconsistencies restoring public schema ownership from pg_dump
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15360: Cascade slave cannot continue replication without manualrestart after master server crash/restart.