Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pl3Yl-0008WU-F6 for pgsql-hackers@arkaria.postgresql.org; Sat, 08 Apr 2023 08:04:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pl3Yj-0004Un-RZ for pgsql-hackers@arkaria.postgresql.org; Sat, 08 Apr 2023 08:04:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pl3Yj-0004Ue-EH for pgsql-hackers@lists.postgresql.org; Sat, 08 Apr 2023 08:04:29 +0000 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pl3Yh-0006eP-83 for pgsql-hackers@lists.postgresql.org; Sat, 08 Apr 2023 08:04:28 +0000 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-54e40113cf3so53228917b3.12 for ; Sat, 08 Apr 2023 01:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680941066; x=1683533066; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=1a/OYOUuH0NkScMujqxSdaDX8nL0ejA1gVDBrKI+9CU=; b=Jcv1RBBgPEt1KrATSN2p68fy+s1/ktCHXB4WLeAsLjEqUbqOBR6BMXU64MOs4yr9Oj z3AO/mC10chkgXpcUtKKSW9BygD+kTCGRUPzB18IcRc70HcjlL7yUF5LzlwtQqsnQcq2 26n+BcOp3YmeiR9X1WxiLzSW7uUpgUeqqzqzvVkjtWQW1xAtNoHCf9Z8Cf1t/CtW5IPG R9Ov3Y3DTbc7Zrlg0Y10JS6UNBD9DofyI3TAtp68ej7bLbBYs3AFVkHPpRVb26GhDt0Z 5G3PNEG0OK2Q7itNpUBr0wcaTm2zad8lLf/tjXi5jgpwufb6yoptoy9+j+JFuSpDueCh 0qFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680941066; x=1683533066; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1a/OYOUuH0NkScMujqxSdaDX8nL0ejA1gVDBrKI+9CU=; b=NBfR/AJt2bX1xzcz05b6QjYsMize+vCBHCutTtbm6bDyfrz2vP3Bs4gNxgM/ivSu85 AfZAhq7TDm9uhjIqMXuPYQk6Vfr+fbkL+LPac9E74UrmRnemER6XSzY186136EHl/an5 pzGWe/VGkVkEZLS80Ge4iRDlSpLhEDwpRBdiqf2FMeJdq9yL4QKkiXVhV+OM5BPj+nKD Mgez9C0TjVRIWCIaLi5+YCe716ch1Px0aPfuGcV2JxVvQQbTLwmiG2DZgvga13/H/i/t LkWmE6jJFSjTmoyRGsojG+5URRg0DBEwROcCLxz+9Vu1Gx0txFimRyGdSAymLd/q7Le2 gO3Q== X-Gm-Message-State: AAQBX9caP4FQJYhJFgskID99R3iCMNJbnXhfsB8pcg5OEBg0FYrRkpTf VWTAULqeQlB13yz50AYj6YJimiVi8ZcBgbGJ9NUmTpGKhhJ6ww== X-Google-Smtp-Source: AKy350aUX7f3WqwzJqAKjZeQbBC1btcuh3SpTBVWdcM1zvFvwYIR5yg/MUHUWpBlYsEGN7uUd16lYzX+wrNhKdt1Hlk= X-Received: by 2002:a81:bd04:0:b0:545:4133:fc40 with SMTP id b4-20020a81bd04000000b005454133fc40mr671209ywi.9.1680941065586; Sat, 08 Apr 2023 01:04:25 -0700 (PDT) MIME-Version: 1.0 From: Pavel Stehule Date: Sat, 8 Apr 2023 10:03:49 +0200 Message-ID: Subject: broken master branch To: PostgreSQL Hackers Content-Type: multipart/alternative; boundary="0000000000001a517e05f8ce971e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001a517e05f8ce971e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/l= lvmjit.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 =E2=80=98l_load_str= uct_gep=E2=80=99: ../../../../src/include/jit/llvmjit_emit.h:112:30: warning: implicit declaration of function =E2=80=98LLVMBuildStructGEP=E2=80=99; did you mean =E2=80=98LLVMBuildStructGEP2=E2=80=99? [-Wimplicit-function-declaration] 112 | LLVMValueRef v_ptr =3D LLVMBuildStructGEP(b, v, idx, ""); | ^~~~~~~~~~~~~~~~~~ | LLVMBuildStructGEP2 ../../../../src/include/jit/llvmjit_emit.h:112:30: warning: initialization of =E2=80=98LLVMValueRef=E2=80=99 {aka =E2=80=98struct LLVMOpaqueValue *=E2= =80=99} from =E2=80=98int=E2=80=99 makes pointer from integer without a cast [-Wint-conversion] ../../../../src/include/jit/llvmjit_emit.h:114:16: warning: implicit declaration of function =E2=80=98LLVMBuildLoad=E2=80=99; did you mean =E2= =80=98LLVMBuildLoad2=E2=80=99? [-Wimplicit-function-declaration] 114 | return LLVMBuildLoad(b, v_ptr, name); | ^~~~~~~~~~~~~ | LLVMBuildLoad2 ../../../../src/include/jit/llvmjit_emit.h:114:16: warning: returning =E2= =80=98int=E2=80=99 from a function with return type =E2=80=98LLVMValueRef=E2=80=99 {aka =E2=80= =98struct LLVMOpaqueValue *=E2=80=99} makes pointer from integer without a cast [-Wint-conversion] 114 | return LLVMBuildLoad(b, v_ptr, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/include/jit/llvmjit_emit.h: In function =E2=80=98l_load_gep= 1=E2=80=99: ../../../../src/include/jit/llvmjit_emit.h:123:30: warning: implicit declaration of function =E2=80=98LLVMBuildGEP=E2=80=99; did you mean =E2=80= =98LLVMBuildGEP2=E2=80=99? [-Wimplicit-function-declaration] 123 | LLVMValueRef v_ptr =3D LLVMBuildGEP(b, v, &idx, 1, ""); | ^~~~~~~~~~~~ | LLVMBuildGEP2 ../../../../src/include/jit/llvmjit_emit.h:123:30: warning: initialization of =E2=80=98LLVMValueRef=E2=80=99 {aka =E2=80=98struct LLVMOpaqueValue *=E2= =80=99} from =E2=80=98int=E2=80=99 makes pointer from integer without a cast [-Wint-conversion] ../../../../src/include/jit/llvmjit_emit.h:125:16: warning: returning =E2= =80=98int=E2=80=99 from a function with return type =E2=80=98LLVMValueRef=E2=80=99 {aka =E2=80= =98struct LLVMOpaqueValue *=E2=80=99} makes pointer from integer without a cast [-Wint-conversion] Regards Pavel --0000000000001a517e05f8ce971e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

on fresh Fedora 38, I can= not to run regress tests

+ERROR: =C2=A0could not l= oad library "/home/pavel/src/postgresql.master/tmp_install/usr/local/p= gsql/master/lib/llvmjit.so": /home/pavel/src/p
ostgresql.master/tmp= _install/usr/local/pgsql/master/lib/llvmjit.so: undefined symbol: LLVMBuild= GEP
=C2=A0SELECT BOOLTBL1.*, BOOLTBL2.*
=C2=A0 =C2=A0 FROM BOOLTBL1, = BOOLTBL2
=C2=A0 =C2=A0 WHERE boolne(BOOLTBL2.f1,BOOLTBL1.f1);
=
There is lot of compile warnings

In= file included from llvmjit_expr.c:31:
../../../../src/include/jit/llvmj= it_emit.h: In function =E2=80=98l_load_struct_gep=E2=80=99:
../../../../= src/include/jit/llvmjit_emit.h:112:30: warning: implicit declaration of fun= ction =E2=80=98LLVMBuildStructGEP=E2=80=99; did you mean =E2=80=98LLVMBuild= StructGEP2=E2=80=99? [-Wimplicit-function-declaration]
=C2=A0 112 | =C2= =A0 =C2=A0 =C2=A0 =C2=A0 LLVMValueRef v_ptr =3D LLVMBuildStructGEP(b, v, id= x, "");
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~= ~~~~~~~~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0LL= VMBuildStructGEP2
../../../../src/include/jit/llvmjit_emit.h:112:30: war= ning: initialization of =E2=80=98LLVMValueRef=E2=80=99 {aka =E2=80=98struct= LLVMOpaqueValue *=E2=80=99} from =E2=80=98int=E2=80=99 makes pointer from = integer without a cast [-Wint-conversion]
../../../../src/include/jit/ll= vmjit_emit.h:114:16: warning: implicit declaration of function =E2=80=98LLV= MBuildLoad=E2=80=99; did you mean =E2=80=98LLVMBuildLoad2=E2=80=99? [-Wimpl= icit-function-declaration]
=C2=A0 114 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 retu= rn LLVMBuildLoad(b, v_ptr, name);
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~
=C2=A0 =C2=A0 =C2= =A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0LLVMBuildLoad2=
../../../../src/include/jit/llvmjit_emit.h:114:16: warning: returning = =E2=80=98int=E2=80=99 from a function with return type =E2=80=98LLVMValueRe= f=E2=80=99 {aka =E2=80=98struct LLVMOpaqueValue *=E2=80=99} makes pointer f= rom integer without a cast [-Wint-conversion]
=C2=A0 114 | =C2=A0 =C2=A0= =C2=A0 =C2=A0 return LLVMBuildLoad(b, v_ptr, name);
=C2=A0 =C2=A0 =C2= =A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~
../../../../src/include/jit/llvmjit_emit.h: In function = =E2=80=98l_load_gep1=E2=80=99:
../../../../src/include/jit/llvmjit_emit.= h:123:30: warning: implicit declaration of function =E2=80=98LLVMBuildGEP= =E2=80=99; did you mean =E2=80=98LLVMBuildGEP2=E2=80=99? [-Wimplicit-functi= on-declaration]
=C2=A0 123 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 LLVMValueRef v_= ptr =3D LLVMBuildGEP(b, v, &idx, 1, "");
=C2=A0 =C2=A0 =C2= =A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 | = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0LLVMBuildGEP2
../../../../src/include/jit= /llvmjit_emit.h:123:30: warning: initialization of =E2=80=98LLVMValueRef=E2= =80=99 {aka =E2=80=98struct LLVMOpaqueValue *=E2=80=99} from =E2=80=98int= =E2=80=99 makes pointer from integer without a cast [-Wint-conversion]
.= ./../../../src/include/jit/llvmjit_emit.h:125:16: warning: returning =E2=80= =98int=E2=80=99 from a function with return type =E2=80=98LLVMValueRef=E2= =80=99 {aka =E2=80=98struct LLVMOpaqueValue *=E2=80=99} makes pointer from = integer without a cast [-Wint-conversion]


Regards

Pavel
--0000000000001a517e05f8ce971e--