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.94.2) (envelope-from ) id 1tF0Bp-00AptR-5n for pgsql-bugs@arkaria.postgresql.org; Sun, 24 Nov 2024 00:09:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tF0Bn-005465-PD for pgsql-bugs@arkaria.postgresql.org; Sun, 24 Nov 2024 00:09:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tF0Bn-00545w-GO for pgsql-bugs@lists.postgresql.org; Sun, 24 Nov 2024 00:09:23 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tF0Bg-003WBD-Vh for pgsql-bugs@lists.postgresql.org; Sun, 24 Nov 2024 00:09:22 +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 4AO08tVV885806; Sat, 23 Nov 2024 19:08:55 -0500 From: Tom Lane To: Thomas Munro cc: Heikki Linnakangas , =?UTF-8?Q?Bastien_Roucari=C3=A8s?= , pgsql-bugs@lists.postgresql.org Subject: Re: Detection of hadware feature => please do not use signal In-reply-to: References: <4496616.iHFcN1HehY@portable-bastien> <1156374.1730396928@sss.pgh.pa.us> <7ec1c65c-1a28-49a7-af43-f77c260a3df6@iki.fi> <1292593.1730399134@sss.pgh.pa.us> <707008.1732325995@sss.pgh.pa.us> <736756.1732341046@sss.pgh.pa.us> <865773.1732399354@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Sun, 24 Nov 2024 12:50:09 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <885804.1732406935.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 23 Nov 2024 19:08:55 -0500 Message-ID: <885805.1732406935@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Sun, Nov 24, 2024 at 11:02=E2=80=AFAM Tom Lane wr= ote: >> cc1: error: '-mfloat-abi=3Dhard': selected processor lacks an FPU > Interesting. Happens also on Linux starting with GCC 11, apparently. > Here's one with some clues: > https://github.com/checkpoint-restore/criu/issues/1653#issuecomment-9860= 34428 Oh, very interesting! Maybe we need to try -march=3Darmv8-a+crc+fp (or some spelling like that) if -march=3Darmv8-a+crc doesn't work? regards, tom lane