public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pavel Stehule <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: broken master branch
Date: Sat, 8 Apr 2023 10:03:49 +0200
Message-ID: <CAFj8pRCeR+S=2T1PwPAe+AteTSSJcPrrLa8949yDbac6ef8ZSw@mail.gmail.com> (raw)

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


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: broken master branch
  In-Reply-To: <CAFj8pRCeR+S=2T1PwPAe+AteTSSJcPrrLa8949yDbac6ef8ZSw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox