Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wV99e-001j61-2h for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2026 14:34:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wV99d-006yWN-1B for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2026 14:34:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wV99d-006yWD-06 for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 14:34:41 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wV99a-000000015Lh-3Cgu for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 14:34:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Reply-To: Message-ID:Subject:To:Sender:From:Date:Cc:Content-ID:Content-Description: In-Reply-To:References; bh=rMgWzY/Ucq2oJEVvoVsMqlM1+S9Xj4US4kYDgaJkZDY=; b=gH 2KFpj75x62W3/SgLTrvF8hhlmKhU+Ba24if0JJkpoHVr8T79nI2REccIJWEWKWFpvhHn1a5AhRBZt YC404tSk1gyR8rbIihEVRuJzEN0kxOsuJs3jhhCT4+n/NA8Sn9rgTDQQxPQBMlQtmfqvTjygNC5wm ASmr8XlnmT0y+NA=; Received: from depesz by depesz.com with local (Exim 4.98.2) (envelope-from ) id 1wV9AF-0000000HQH7-1bQS for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 16:35:19 +0200 Date: Thu, 4 Jun 2026 16:35:19 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: PostgreSQL mailing lists Subject: Warning while compiling 19beta1 Message-ID: Reply-To: depesz@depesz.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, fetched newest git head (commit f0aedc7cb0ed82d4cca48332dc0852c767514558), and compiled it. When doing so I got: llvmjit.c: In function ‘llvm_split_symbol_name’: llvmjit.c:1065:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1065 | *funcname = strrchr(name, '.'); | ^ Generally I wouldn't care, but pg normally compiles without warnings, so this one stuck out :) My system is Linux/Ubuntu 26.04. Interesting (?) packages: =$ dpkg -l | awk '$2 ~ /gcc|llvm/' ii gcc 4:15.2.0-5ubuntu1 amd64 GNU C compiler ii gcc-15 15.2.0-16ubuntu1 amd64 GNU C compiler ii gcc-15-base:amd64 15.2.0-16ubuntu1 amd64 GCC, the GNU Compiler Collection (base package) ii gcc-15-x86-64-linux-gnu 15.2.0-16ubuntu1 amd64 GNU C compiler for the x86_64-linux-gnu architecture ii gcc-16-base:amd64 16-20260322-1ubuntu1 amd64 GCC, the GNU Compiler Collection (base package) ii gcc-x86-64-linux-gnu 4:15.2.0-5ubuntu1 amd64 GNU C compiler for the amd64 architecture ii lib32gcc-s1 16-20260322-1ubuntu1 amd64 GCC support library (32 bit Version) ii libgcc-15-dev:amd64 15.2.0-16ubuntu1 amd64 GCC support library (development files) ii libgcc-s1:amd64 16-20260322-1ubuntu1 amd64 GCC support library ii libllvm20:amd64 1:20.1.8-2ubuntu8 amd64 Modular compiler and toolchain technologies, runtime library ii libllvm21:amd64 1:21.1.8-6ubuntu1 amd64 Modular compiler and toolchain technologies, runtime library ii libuno-cppuhelpergcc3-3t64 4:26.2.3.2-0ubuntu0.26.04.1 amd64 LibreOffice UNO runtime environment -- CPPU helper library ii libuno-purpenvhelpergcc3-3t64 4:26.2.3.2-0ubuntu0.26.04.1 amd64 LibreOffice UNO runtime environment -- "purpose environment" helper ii libuno-salhelpergcc3-3t64 4:26.2.3.2-0ubuntu0.26.04.1 amd64 LibreOffice UNO runtime environment -- SAL helpers for C++ library ii llvm 1:21.1.6-71 amd64 Modular compiler and toolchain technologies ii llvm-20 1:20.1.8-2ubuntu8 amd64 Modular compiler and toolchain technologies ii llvm-20-dev 1:20.1.8-2ubuntu8 amd64 Modular compiler and toolchain technologies, libraries and headers ii llvm-20-linker-tools 1:20.1.8-2ubuntu8 amd64 Modular compiler and toolchain technologies - Plugins ii llvm-20-runtime 1:20.1.8-2ubuntu8 amd64 Modular compiler and toolchain technologies, IR interpreter ii llvm-20-tools 1:20.1.8-2ubuntu8 amd64 Modular compiler and toolchain technologies, tools ii llvm-21 1:21.1.8-6ubuntu1 amd64 Modular compiler and toolchain technologies ii llvm-21-dev 1:21.1.8-6ubuntu1 amd64 Modular compiler and toolchain technologies, libraries and headers ii llvm-21-linker-tools 1:21.1.8-6ubuntu1 amd64 Modular compiler and toolchain technologies - Plugins ii llvm-21-runtime 1:21.1.8-6ubuntu1 amd64 Modular compiler and toolchain technologies, IR interpreter ii llvm-21-tools 1:21.1.8-6ubuntu1 amd64 Modular compiler and toolchain technologies, tools ii llvm-dev 1:21.1.6-71 amd64 Modular compiler and toolchain technologies, libraries and headers ii llvm-runtime:amd64 1:21.1.6-71 amd64 Modular compiler and toolchain technologies, bytecode interpreter Configure was called: ./configure \ --quiet \ --prefix=/home/pgdba/work \ --enable-debug \ --with-pgport=$use_port \ --with-tcl \ --with-perl \ --with-python \ --enable-integer-datetimes \ --without-pam \ --without-bonjour \ --with-openssl \ --with-uuid=ossp \ --with-readline \ --with-libxml \ --with-systemd \ --with-zlib \ --with-lz4 \ --with-zstd \ --with-llvm \ --enable-debug --enable-depend --enable-cassert Best regards, depesz