broken master branch - Mailing list pgsql-hackers

From Pavel Stehule
Subject broken master branch
Date
Msg-id CAFj8pRCeR+S=2T1PwPAe+AteTSSJcPrrLa8949yDbac6ef8ZSw@mail.gmail.com
Whole thread Raw
Responses Re: broken master branch
List 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

pgsql-hackers by date:

Previous
From: Mikael Kjellström
Date:
Subject: Re: Making background psql nicer to use in tap tests
Next
From: Thomas Munro
Date:
Subject: Re: broken master branch