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 1w1wRc-000joE-0d for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 01:08:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w1wRb-006djR-0J for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 01:08:31 +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 1w1wRa-006djJ-2b for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 01:08:31 +0000 Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w1wRZ-00000000Jw4-1zFy for pgsql-hackers@postgresql.org; Mon, 16 Mar 2026 01:08:30 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 23410EC056D; Sun, 15 Mar 2026 21:08:29 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Sun, 15 Mar 2026 21:08:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1773623309; x=1773709709; bh=vV7AAbGRVo ak38Irw/ZK2NUaiuLYPjuaOCcYXeeaTHQ=; b=Sw4qmv+NdiIWHv8GqQoJjmTlY5 8ST8JLKJwdVgIcWV2cjLxFhp46Kcd0SLGQgLwd/eyPATdGQgvrzJQrIANtl18P1I e8EQ26LFtUH/9gQrRdgMMRQzIg593RmN/a8T9jG+x8GzeMMFFY8r07S9mugsydWQ U2mQKlk9RpL8TCkCe830DnN8Tc5yxf3xVfymbej907uyXbVxmAHucUQLnJ6/U1XD nL9za2YSBhtM9FnEXUGF4A7LjBy9A8EQ6erpbtNVTBPV+1YqkmuN8WR9xSN0c3R6 lvZtAXj9LcnQ/al847twfbqtPCdZ+6nCwLBDGjB5K5oMaDGt6Z39lXcjkppA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1773623309; x=1773709709; bh=vV7AAbGRVoak38Irw/ZK2NUaiuLYPjuaOCc YXeeaTHQ=; b=MJeCa6AdXtRosgwmJK6ocyMZnEmXzS4LrieI2Fc1pw3dPDMHhsn 0clmhxuAW04d5nEienPBG2t6YgLHtS7bpWyMjaUfqDirFOF3VAduqO1z2K8TxCmu TKaBg/LPX2J2imgVo+4vOQuyoJnw3rwkbxMSzfWe0yizr5mJsrFjNtSEZwjkxHWo 247vObkjksJdEQ7F6IyyEdTCI3znuxhoKyVp1GlsJcvhDosobYJJz1FuKgiRSos3 QPnZrteng1qPeak/9oGX8a39/PjhtGJ+StqiiC00BpwS+BZxaB8WamX3AfLPHCR3 hiKTHiinV4APhkhOZ3ktJQ0vDajCOr8VspA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvleejtdduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvgigtg hluhhsihhonhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgv rhhssehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehgrhgvghessghurhgurd hmvg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 Mar 2026 21:08:26 -0400 (EDT) Date: Mon, 16 Mar 2026 10:08:22 +0900 From: Michael Paquier To: Alexander Lakhin Cc: pgsql-hackers , Greg Burd Subject: Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="azRbFh4HumSrHknO" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --azRbFh4HumSrHknO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 15, 2026 at 02:00:00PM +0200, Alexander Lakhin wrote: > adding -march=3Drv64gcv to CFLAGS makes clang generate different (wrong?) > code for crypt-des.c. Namely, having reproduced the diff locally, with > this debugging addition: >=20 > when the code compiled with CC=3Dclang-20 CPPFLAGS=3D"-march=3Drv64gcv". Thanks for the detailed investigation. I was puzzled by it myself for a couple of hours, and did not see something else than a broken compiler here.. -- Michael --azRbFh4HumSrHknO Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmm3WAYACgkQnvQgOdby QH0tww//e5yydaUmyTopKxIMu5/+QSX3gqga0cPyiU6HNXFf0aAoy7Wq+982tqlD LfvB5q4HAAeMGuXo16KXWMrbIhxMIPxd/s06xFOH0P1yVO4q2lET9j5QnuhhXmlG 6+JRzFWeOjWH9gQ6Eb4sub998Ok5Vd/frQ/kUm1ZXWRYyR50ZwMeozt2tnSfe1oF LiE7elji2S+KEF4HPo9qWDD/T0F5SeUIFeG7S/4ZOifS34VqgQVBk6t4TKWAl0wz GSdwjmq7gQVm/hCtBjLKyY3uHdbtYZOiPELzLJLUop4t8c+kS3wN40LEJd43cVal M8qsAXpUcZ6XVkvJ3y+VbMiSSe4O3TlfQgHX2BKHjEs3uVLeze9aVqhe5dAGlGod zAW08y9j73tjRLfbmPySl5nlxBNwMeRXAPJKQrmNVAj1X7daRMlV9WgNf3EjlPBO 8ajU3hdtyHTg9s68vHPQ/kwEQcvISKGleXj17ndMMUbOMm1Zrdy9YHdxera59mF5 599M3gghtlxvJQ7ym/PZ9pP/Gyab7X7J/6S1IV+NCpd64RdkR2Sd1402PRDu3Ba3 lgWJMkw6OUqnpqGL9tfu+8lAN6h06nUyqwTdXy2ib99G9KyPxMdRHc7EhHneaio0 YV7b3XjNKOOZbTNppa4KfXfmHme24vVr+07A4yfVl6uugs+GcPQ= =g/sQ -----END PGP SIGNATURE----- --azRbFh4HumSrHknO--