From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QDZWMxbJm2USOQEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 11:06:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YGnJKxbJm2ULkQAA62LTzQ (envelope-from ) for ; Mon, 08 Jan 2024 11:06:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="l+m/aXoK"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704708374; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=oYQ8xK6M0u7EkDJcIRDfgpr9pfYvSMqTPK3X7dn7Ers=; b=emdtiaIIWSVTLYUP78YrERs1joZWqUNaWcZjNoBCPFtvm+joVTh1QiJxSabP1toDh0kyru c2KCV1YOAQIOEE4XOl7D9QVHHyWP/hQ8lhif34EjfLtUTj767jhvyquL87j2QnAni+EETh MiCTd1Va80hbzLo9DzE6km5yt1hqRCqL3B0gqBaP3LUu+9U6m8ypKLxTaOfDD3RGadzR2C ZgAO9zaXbl1M+aB8IlKhmWmROPRQGsDcX/xfbcg2rUBaXLnWuyBo0pbeB3cXfUOJna9kUz pdgsNFpV6C7oxkNmaDHNxJ2PhlGj4Y6NCFJBhiwUT8n2j5VXqMMUXCKMj4C/3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="l+m/aXoK"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704708374; a=rsa-sha256; cv=none; b=rOE04birabyKHskOur9vLu8Q83kLMceQtGrk0Gyx4jfRztBlU/uFsxbudiQ75e4zj41Q7m z6a8ivcL6BmUsY80rC2lubP2oErDt2MPC0NUcd/DkvWECd+uQQdzX0qBnPO9cfyTaDbkhf yYTCVJYfdeDcjsoiO9XP68064NCyTjlD6tP//vmcJS4Tyg24Szq4ptA4IwcoJzKQg/DMPU Yosh3H1LdE07mk4RfPE/z6ZX398oQ3qwyXfRVtFDZBFqe2EewkRnPTP2d0x2GLdRZNEMt7 QKMYTZ8/GJKom3h8tDnYeddndZ7s8l04X6a+b+pncNYOBTjlEq5tyeK3OdSccQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C2F423C756 for ; Mon, 8 Jan 2024 11:06:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMmW7-0002hQ-HM; Mon, 08 Jan 2024 05:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMmW5-0002hI-FT for guix-patches@gnu.org; Mon, 08 Jan 2024 05:05:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMmW5-0007ys-3i for guix-patches@gnu.org; Mon, 08 Jan 2024 05:05:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMmWA-0006pp-Ge for guix-patches@gnu.org; Mon, 08 Jan 2024 05:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68202] [PATCH 2/5] gnu: Add target-x32?. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 10:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: 68202@debbugs.gnu.org, Josselin Poiret , Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines Received: via spool by 68202-submit@debbugs.gnu.org id=B68202.170470831926225 (code B ref 68202); Mon, 08 Jan 2024 10:06:02 +0000 Received: (at 68202) by debbugs.gnu.org; 8 Jan 2024 10:05:19 +0000 Received: from localhost ([127.0.0.1]:35243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMmVT-0006os-7u for submit@debbugs.gnu.org; Mon, 08 Jan 2024 05:05:19 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:46184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMmVP-0006oW-OU for 68202@debbugs.gnu.org; Mon, 08 Jan 2024 05:05:16 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40d6b4e2945so21217295e9.0 for <68202@debbugs.gnu.org>; Mon, 08 Jan 2024 02:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704708303; x=1705313103; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=oYQ8xK6M0u7EkDJcIRDfgpr9pfYvSMqTPK3X7dn7Ers=; b=l+m/aXoKHOXJ4WW1GjxkswJQj7HxwrMRuceiPGdWRjp9Zbi7lKVpNgamzWyk5bGuZ+ c7yNefm9+QIVf1vK9AxehEDqSRTxgHzDgt6H9k+6Go2yoxKydy7o1H6hXMC56PomoUpu nqG+qb6EcBreBR99eHwUr0DuMsz1Aq/uJgku3vZPDvVrk6/l2F01Qbc4Xe0H9bKBwwkQ P9FH+xCNCHKZOLI70BT0YoYGsG+U3cwE50ctvnx2wgfBXgfwSdHlWrdcTQXhcIAfB5Zy Jf0xjT/3B8gV1d/6GcfOTfaSqSm1RtMqXrAMeqTR/ttaruMypWs9j0MoS5oz4IDJ8FDs sNjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704708303; x=1705313103; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oYQ8xK6M0u7EkDJcIRDfgpr9pfYvSMqTPK3X7dn7Ers=; b=Rynrozz7zA7pVZJ1YjVaDk7bnNPL/+nqAta7lnV+E7sXbgEkeaK1cS5AmfkjA7MbmL g6LRrLNBs/HSFixegfvNevn+4ZMYDAniQYyUoD3d2J7Ek/wlfM48qrl9rKVenC420zFB aM17Z7JhDiwpCXpLgLofRlsgVB0WigEtO1ptPQ0R+pSQqSnGtYgXs8aYveX6ywQu4Emq F/DrFUvP4WICr6UALu1zuoEyqKpPQFaPFgPpYiYmgDNpl3+2NWdzx0IaVWosjmhbtnTF JqTndiQZXWqnjS74W/nSi/EA2/IeAMRGyxI1sZ+r36M7ZFV79ba6nzK/4drYXiXotGtw 8+eg== X-Gm-Message-State: AOJu0YwKKd8YfUpMFmxBXmU/5p3ofzwjlskx0ZxDNtBqC8gZePXfwO4r xFh7zmCEmSrUXNS14CUxdwk= X-Google-Smtp-Source: AGHT+IEQL13fjM+bkwn6sWkVvLiPttPes81VfqEf2U9NA9MYwCx2oKyQKU0gfIAfrE8RWkZuaBcMdg== X-Received: by 2002:a05:600c:5494:b0:40d:877b:e94 with SMTP id iv20-20020a05600c549400b0040d877b0e94mr1161851wmb.1.1704708303318; Mon, 08 Jan 2024 02:05:03 -0800 (PST) Received: from localhost ([141.226.15.142]) by smtp.gmail.com with ESMTPSA id w1-20020a5d5441000000b0033674734a58sm7399061wrv.79.2024.01.08.02.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 02:05:02 -0800 (PST) Date: Mon, 8 Jan 2024 12:05:00 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Simon Tournier , 68202@debbugs.gnu.org, Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Tobias Geerinckx-Rice References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1gJcev4/z63t5Dvd" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.85 X-Spam-Score: -3.85 X-Migadu-Queue-Id: C2F423C756 X-TUID: I15VLzGgVOdd --1gJcev4/z63t5Dvd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 08, 2024 at 10:20:36AM +0100, Simon Tournier wrote: > Hi, >=20 > On Tue, 2 Jan 2024 at 08:29, Efraim Flashner wrot= e: >=20 > > +(define* (target-x32? #:optional (target (or (%current-target-system) > > + (%current-system)))) > > + "Is the architecture of TARGET a variant of Intel/AMD's 64-bit > > +architecture (x86_64) using 32-bit data types?" > > + (and (target-x86-64? target) > > + (string-suffix? "gnux32" target))) > > + > > (define* (target-x86? #:optional (target (or (%current-target-system) > > (%current-system)))) > > (or (target-x86-32? target) (target-x86-64? target))) >=20 > Why not add it to target-x86-32? ? It won't run on 32-bit only systems. The preprocessor macro test is __x86_64__ and __ILP32__ I wasn't exactly sure where to put it, but ld.so --help gave the output with the glibc-hwcaps optimization paths exactly like x86_64-linux and pretty much every other piece of software which needed adjusting for it stressed that it was x86_64. There's a #debian-x32 channel on libera.chat, they might have some suggestions about tagging it as 32-bit or 64-bit. As-is it's currently labeled as 64-bit. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --1gJcev4/z63t5Dvd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWbyMcACgkQQarn3Mo9 g1HgrQ//SNUWkngu1ZqbA1FW/gxU43wLqfVw9Gff+7z/g5UDNMVuiu+XzQjrvZE9 bETVW6e6SnBtxROXLF2XIr6qGvXAeirKVkS7YF8OSAEVUTYYqvCSF5dmgor3PLcJ pMlJteq7rnAHvhbqojk45FpcdObwD9cGFX8SthPwFD5kOv1TmYRcK0tCbPEU5PlL dIMLw1miWHZNICJTx89xiIZIUrnJSC+rLPKSaWmYRcJqdoYq4pHbALGyKrB1AC/b gAaNUOVvOHltpDUq/iHdnwlXGm23Z5+jvIOqFXQ9sFF2JcOyR9/uHbxF41dx3G8S +jOR79l52XhbVJLrljMn/fCqKf0tEKwuFa39YkhTGABgvz2lfgUZTooaZlYGVVBX ngwYUV4o5gD05ruBZipM5ebTlq8eFDIohUV0nlFWAEb9ZmGUGkoTHBq3HAjUg5Vf d3UbiUGLyaWLX/1LbnnPIHDTrq4htVfX+1b+mhl7XnhAMOOmfoHicGOpYeIYi3LN pjrKhoU+gFsa3HZ8przWhPt9CXjj5CspfS8wQ4IRGKWGVeU7fEnOuukc4RXhxn2b xP3QkaVMoZgwwWuHcg24Fvl9EUwMF7bU413QxL6NUHxnVzMLdV5nJYo0PbxDaP94 air8y5/EQRWojAWRfmtwm0z6s9xDU6f6aSMTqeUJN7nIqjTXW5E= =zCVM -----END PGP SIGNATURE----- --1gJcev4/z63t5Dvd--