Re: cannot to compile master in llvm_resolve_symbols

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: cannot to compile master in llvm_resolve_symbols
Дата
Msg-id CA+hUKG+PqNkLcnSJU=FXuPyDECLwmMv0heqv_Nss4rDLUen54Q@mail.gmail.com
обсуждение исходный текст
Ответ на cannot to compile master in llvm_resolve_symbols  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: cannot to compile master in llvm_resolve_symbols  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Thu, Sep 22, 2022 at 10:43 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:
> Today I found new bug
>
> -o llvmjit_wrap.o llvmjit_wrap.cpp -MMD -MP -MF .deps/llvmjit_wrap.Po
> llvmjit.c: In function ‘llvm_resolve_symbols’:
> llvmjit.c:1115:57: error: ‘LLVMJITCSymbolMapPair’ undeclared (first use in this function); did you mean
‘LLVMOrcCSymbolMapPair’?
>  1115 |         LLVMOrcCSymbolMapPairs symbols = palloc0(sizeof(LLVMJITCSymbolMapPair) * LookupSetSize);
>       |                                                         ^~~~~~~~~~~~~~~~~~~~~
>       |                                                         LLVMOrcCSymbolMapPair

Hi Pavel,

Some changes are needed for LLVM 15.  I'm working on a patch, but it's
not quite ready yet.  Use LLVM 14 for now.  There are a few
superficial changes like that that are very easy to fix (that struct's
name changed), but the real problem is that in LLVM 15 you have to do
extra work to track the type of pointers and pass them into API calls
that we have a lot of.  https://llvm.org/docs/OpaquePointers.html



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: cannot to compile master in llvm_resolve_symbols
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: cannot to compile master in llvm_resolve_symbols