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 1kdhMs-0006t2-Mh for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 13 Nov 2020 22:16:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kdhMp-0004Hk-SL for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 13 Nov 2020 22:16:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdhMp-0004Hc-NX for pgsql-pkg-yum@lists.postgresql.org; Fri, 13 Nov 2020 22:16:27 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdhMi-0000zB-Kk for pgsql-pkg-yum@lists.postgresql.org; Fri, 13 Nov 2020 22:16:27 +0000 Received: from asus-laptop04.mynet (unknown [31.14.249.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 5DA9D3FDBC for ; Fri, 13 Nov 2020 22:16:18 +0000 (UTC) Message-ID: Subject: LLVM issues with PostgreSQL YUM repository on CentOS 8 From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: PostgreSQL YUM ML Date: Fri, 13 Nov 2020 22:16:15 +0000 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-mYPytd+FArZ38YGOTqJU" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-mYPytd+FArZ38YGOTqJU Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, In the latest 3 minor releases of Red Hat Enterprise Linux 8, Red Hat have broken LLVM compatibility with the previous minor releases (like introducing LLVM 8 with RHEL 8.1, LLVM 9 with RHEL 8.2, and LLVM 10 with RHEL 8.3). This breaks compatibility with the previous releases, and also affects PostgreSQL updates for the users who installed the llvmjit subpackage. The negative effects are: RHEL: Users cannot update to the new LLVM until the packages are rebuilt. This issue has been soled already, by updating the build servers to the new minor release immediately, and rebuilding affected packages. CentOS, which lags behind RHEL, is also significantly affected by this breakage, blocking PostgreSQL minor updates. This is the problem that needs to be solved. Today, we released a new repo called =E2=80=9Cpgdg-centos8-sysupdates=E2=80= =9D for CentOS 8 users. This repo brings in the LLVM and CLANG packages from latest RHEL (of course, rebuilt and signed with our own key), which satisfy the llvmjit dependency. Please note that this is optional, because it may break other packages (if any) which depend on older versions of LLVM and CLANG. This feature is available for PostgreSQL 11 and above.=20 Users first need to update to the latest repo file (dnf -y update pgdg- redhat-repo) to benefit from this feature, which is 42.0.15 at the time of writing. Here are the steps to enable this repo: dnf -qy module disable postgresql llvm-toolset rust-toolset dnf config-manager --set-enabled pgdg-centos8-sysupdates (Disabling rust-toolset is not a must, however dnf will otherwise throw warnings as it has a dependency to the llvm-toolset module). When this is done, you can either update or install the llvmjit package normally.=20 If you have any questions/comments, please either email to pgsql-pkg- yum@lists.postgresql.org, or create an issue at [PostgreSQL community RPM issue tracker](https://redmine.postgresql.org/projects/pgrpms/issues) (requires a community account to access) I would like to thank Magnus Hagande a lot for his extraordinary help to tackle this issue.=20 Regards, --=20 Devrim G=C3=BCnd=C3=BCz Open Source Solution Architect, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-mYPytd+FArZ38YGOTqJU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAl+vBa8ACgkQ2MM9/pLP brUxcQ/9GY83HVWgsYBNWm8s0yidR9QIf3i2xbfPH+BJMbu3oUy4LCw/tplE656z nFWFQzyCV8cffbBdIBfQnuyghwf61FwfGkjlF+6vrAiRgvp3/sWV7nintUgfv57v OizYEtx1r81es33Q4RWxN+Us3fM8G9Ug5wx7FzN0knVo/n2jVJVWCTgxVebS0O0S ehWApP7YsCkG7oE1Kmv88TTCJYDSMiCXgnfJwovmz0vKyWvIkpQr3CH1fu9qeQY0 +Ms+dSolklM2DPTbe7A8rvrr3TkED9fGVr5X8rurezoZRFe2MeZa8KbnboLq+GDs 9YC0C+tjx9RrUKFv7MokA82zYP1x/jKAT6j+xes1rzEX2knkPjDzMYhjF+kU/EJv 3cHE6vd9HSKlNiv/YipV19aDpvzGJI4CNLcXEaGzgIZO4IljP1S1Z+o1ZH/tR+ki e2PUqEwQL1UtZ/Ijd5yC0/gJfYlerFG6q+0emQuLbIIV/sE0lXZIGL9nLHF1urPO CmCuKrg/6wb9gI1YZaJATQ8zbVLna9yRuSrK+tdBaP118NkDHlplmuXCuMlOLKyN BkxZ1jfA7VyCX1pqritEmehjS977bMEsgsWrAg+HZtO7vlvLSTB7+6LJ0yo6npbB tzCx1Pw05HkrdWXrNFqe/rdY51RzDK6EOPTLzrifo4KfpnA19DA= =diRx -----END PGP SIGNATURE----- --=-mYPytd+FArZ38YGOTqJU--