| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | cannot to compile master in llvm_resolve_symbols |
| Date: | 2022-09-22 10:42:58 |
| Message-ID: | CAFj8pRCDWAmPJR0BLN=yieQiosJ2f6jr0yk4ho9VNGvH=epVcw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi
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
llvmjit.c:1115:57: note: each undeclared identifier is reported only once
for each function it appears in
llvmjit.c: In function ‘llvm_create_jit_instance’:
llvmjit.c:1233:19: error: too few arguments to function
‘LLVMOrcCreateCustomCAPIDefinitionGenerator’
1233 | ref_gen =
LLVMOrcCreateCustomCAPIDefinitionGenerator(llvm_resolve_symbols, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from llvmjit.c:22:
/usr/include/llvm-c/Orc.h:997:31: note: declared here
997 | LLVMOrcDefinitionGeneratorRef
LLVMOrcCreateCustomCAPIDefinitionGenerator(
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have fedora 37
Regards
Pavel
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2022-09-22 10:54:00 | Re: cannot to compile master in llvm_resolve_symbols |
| Previous Message | Amit Kapila | 2022-09-22 10:11:33 | Re: Perform streaming logical transactions by background workers and parallel apply |