broken master branch

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: broken master branch
Date: 2023-04-08 08:03:49
Message-ID: CAFj8pRCeR+S=2T1PwPAe+AteTSSJcPrrLa8949yDbac6ef8ZSw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

on fresh Fedora 38, I cannot to run regress tests

+ERROR: could not load library
"/home/pavel/src/postgresql.master/tmp_install/usr/local/pgsql/master/lib/llvmjit.so":
/home/pavel/src/p
ostgresql.master/tmp_install/usr/local/pgsql/master/lib/llvmjit.so:
undefined symbol: LLVMBuildGEP
SELECT BOOLTBL1.*, BOOLTBL2.*
FROM BOOLTBL1, BOOLTBL2
WHERE boolne(BOOLTBL2.f1,BOOLTBL1.f1);

There is lot of compile warnings

In file included from llvmjit_expr.c:31:
../../../../src/include/jit/llvmjit_emit.h: In function ‘l_load_struct_gep’:
../../../../src/include/jit/llvmjit_emit.h:112:30: warning: implicit
declaration of function ‘LLVMBuildStructGEP’; did you mean
‘LLVMBuildStructGEP2’? [-Wimplicit-function-declaration]
112 | LLVMValueRef v_ptr = LLVMBuildStructGEP(b, v, idx, "");
| ^~~~~~~~~~~~~~~~~~
| LLVMBuildStructGEP2
../../../../src/include/jit/llvmjit_emit.h:112:30: warning: initialization
of ‘LLVMValueRef’ {aka ‘struct LLVMOpaqueValue *’} from ‘int’ makes pointer
from integer without a cast [-Wint-conversion]
../../../../src/include/jit/llvmjit_emit.h:114:16: warning: implicit
declaration of function ‘LLVMBuildLoad’; did you mean ‘LLVMBuildLoad2’?
[-Wimplicit-function-declaration]
114 | return LLVMBuildLoad(b, v_ptr, name);
| ^~~~~~~~~~~~~
| LLVMBuildLoad2
../../../../src/include/jit/llvmjit_emit.h:114:16: warning: returning ‘int’
from a function with return type ‘LLVMValueRef’ {aka ‘struct
LLVMOpaqueValue *’} makes pointer from integer without a cast
[-Wint-conversion]
114 | return LLVMBuildLoad(b, v_ptr, name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../src/include/jit/llvmjit_emit.h: In function ‘l_load_gep1’:
../../../../src/include/jit/llvmjit_emit.h:123:30: warning: implicit
declaration of function ‘LLVMBuildGEP’; did you mean ‘LLVMBuildGEP2’?
[-Wimplicit-function-declaration]
123 | LLVMValueRef v_ptr = LLVMBuildGEP(b, v, &idx, 1, "");
| ^~~~~~~~~~~~
| LLVMBuildGEP2
../../../../src/include/jit/llvmjit_emit.h:123:30: warning: initialization
of ‘LLVMValueRef’ {aka ‘struct LLVMOpaqueValue *’} from ‘int’ makes pointer
from integer without a cast [-Wint-conversion]
../../../../src/include/jit/llvmjit_emit.h:125:16: warning: returning ‘int’
from a function with return type ‘LLVMValueRef’ {aka ‘struct
LLVMOpaqueValue *’} makes pointer from integer without a cast
[-Wint-conversion]

Regards

Pavel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2023-04-08 08:38:00 Re: broken master branch
Previous Message Mikael Kjellström 2023-04-08 08:00:50 Re: Making background psql nicer to use in tap tests