Re: BUG #17927: Postgres does not compile with LLVM-16

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: BUG #17927: Postgres does not compile with LLVM-16
Дата
Msg-id 7AA0E02C-F7FB-4515-ACC5-306B791D2E61@yesql.se
обсуждение исходный текст
Ответ на BUG #17927: Postgres does not compile with LLVM-16  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
> On 10 May 2023, at 12:10, PG Bug reporting form <noreply@postgresql.org> wrote:

Thanks for your report!

> llvmjit.c:506:24: warning: returning 'int' from a function with return type
> 'LLVMValueRef' {aka 'struct LLVMOpaqueValue *'} makes pointer from integer
> without a cast [-Wint-conversion]
>  506 |                 return LLVMBuildLoad(builder, v_fn, "");
>      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is a known problem which is currently being worked on.  LLVM 16 deprecated
typed pointers which the postgres JIT implementation is using, switching over
to opaque pointers is no simple task though.

--
Daniel Gustafsson




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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17927: Postgres does not compile with LLVM-16
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17928: Standby fails to decode WAL on termination of primary