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 1wV9jT-001jhr-10 for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2026 15:11: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 1wV9jS-007BbU-0P for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2026 15:11:42 +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 1wV9jR-007BJF-2T for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 15:11: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 1wV9jQ-000000015d8-0yi6 for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 15:11:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Reply-To:Message-ID:Subject:Cc:To:Sender:From:Date:Content-ID: Content-Description; bh=IfZ+6zoQ5KzPoQmTflL+ZmLSfgMLCqVCKXTIZWCx4rU=; b=aWZHl K+bT7+up/yW8pxn/si+F24ANQXA68xeCvfs8ktH/LxMolr5peQ3sucYdUgMSQPcYavHX0nfc55ADN R1+cBpcaJov792nedxRU2uepiu0XeZ4mgh5n+mE3w/aZdOh+G1ThkhTGxjxzR3nHAo5ep5esq13GY sdLOT2vNbemc=; Received: from depesz by depesz.com with local (Exim 4.98.2) (envelope-from ) id 1wV9k5-000000003TX-3k3K; Thu, 04 Jun 2026 17:12:21 +0200 Date: Thu, 4 Jun 2026 17:12:21 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Tom Lane Cc: PostgreSQL mailing lists Subject: Re: Warning while compiling 19beta1 Message-ID: Reply-To: depesz@depesz.com References: <3208217.1780584180@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3208217.1780584180@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jun 04, 2026 at 10:43:00AM -0400, Tom Lane wrote: > hubert depesz lubaczewski writes: > > 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, '.'); > > | ^ > > Yeah, some of the buildfarm animals have been showing this for awhile. > I suppose it's from using a bleeding-edge LLVM version, because most > of them don't show it. Which LLVM are you actually compiling against? configure output contained: checking for llvm-config... /usr/bin/llvm-config configure: using llvm 21.1.8 Best regards, depesz