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 1pnKSv-0006eJ-4l for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Apr 2023 14:31:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pnKSt-0007GE-Pl for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Apr 2023 14:31:51 +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 1pnKSt-0007G5-GR for pgsql-hackers@lists.postgresql.org; Fri, 14 Apr 2023 14:31:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pnKSr-0001X8-15 for pgsql-hackers@lists.postgresql.org; Fri, 14 Apr 2023 14:31:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 33EEVmYr1516595 for ; Fri, 14 Apr 2023 10:31:48 -0400 From: Tom Lane To: pgsql-hackers@lists.postgresql.org Subject: Where are we on supporting LLVM's opaque-pointer changes? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1516593.1681482708.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Apr 2023 10:31:48 -0400 Message-ID: <1516594.1681482708@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk LLVM 16 is apparently released, because Fedora has started using it in their rawhide (development) branch, which means Postgres is failing to build there [1][2]: ../../../../src/include/jit/llvmjit_emit.h: In function 'l_load_gep1': ../../../../src/include/jit/llvmjit_emit.h:123:30: warning: implicit decla= ration of function 'LLVMBuildGEP'; did you mean 'LLVMBuildGEP2'? [-Wimplic= it-function-declaration] 123 | LLVMValueRef v_ptr =3D LLVMBuildGEP(b, v, &idx, 1, ""); | ^~~~~~~~~~~~ | LLVMBuildGEP2 ... etc etc etc ... leading to lots of +ERROR: could not load library "/builddir/build/BUILD/postgresql-15.1/tmp= _install/usr/lib64/pgsql/llvmjit.so": /builddir/build/BUILD/postgresql-15.= 1/tmp_install/usr/lib64/pgsql/llvmjit.so: undefined symbol: LLVMBuildGEP I know we've been letting this topic slide, but we are out of runway. I propose adding this as a must-fix open item for PG 16. regards, tom lane [1] https://bugzilla.redhat.com/show_bug.cgi?id=3D2186381 [2] https://kojipkgs.fedoraproject.org/work/tasks/8408/99938408/build.log