From unknown Fri Aug 15 03:38:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41074 <41074@debbugs.gnu.org> To: bug#41074 <41074@debbugs.gnu.org> Subject: Status: [PATCH] gnu: qemu-minimal: Only build for the host's architecture. Reply-To: bug#41074 <41074@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:38:08 +0000 retitle 41074 [PATCH] gnu: qemu-minimal: Only build for the host's architec= ture. reassign 41074 guix-patches submitter 41074 Efraim Flashner severity 41074 normal tag 41074 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 06:26:30 2020 Received: (at submit) by debbugs.gnu.org; 4 May 2020 10:26:30 +0000 Received: from localhost ([127.0.0.1]:59057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVYIr-000542-K8 for submit@debbugs.gnu.org; Mon, 04 May 2020 06:26:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:50384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVYIp-00053v-SH for submit@debbugs.gnu.org; Mon, 04 May 2020 06:26:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVYIp-00054f-MM for guix-patches@gnu.org; Mon, 04 May 2020 06:26:23 -0400 Received: from flashner.co.il ([178.62.234.194]:50410) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVYIo-00085J-Jw for guix-patches@gnu.org; Mon, 04 May 2020 06:26:23 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id C644540281; Mon, 4 May 2020 10:25:49 +0000 (UTC) From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH] gnu: qemu-minimal: Only build for the host's architecture. Date: Mon, 4 May 2020 13:25:15 +0300 Message-Id: <20200504102515.18650-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/04 06:25:50 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust configure-flags so that each architecture only builds for its native architectures. [synopsis]: Adjust to clarify it's only for the host's architecture. --- I tested this with building grub and a vm-image and both seem to have worked without any regressions. --- gnu/packages/virtualization.scm | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b9ac18820f..e5d678e685 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2020 Ludovic Courtès ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver -;;; Copyright © 2016, 2017, 2018. 2019 Efraim Flashner +;;; Copyright © 2016, 2017, 2018. 2019, 2020 Efraim Flashner ;;; Copyright © 2016, 2017 Ricardo Wurmus ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2017 Andy Patterson @@ -99,7 +99,8 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) - #:use-module (srfi srfi-1)) + #:use-module (srfi srfi-1) + #:use-module (ice-9 match)) (define (qemu-patch commit file-name sha256) "Return an origin for COMMIT." @@ -274,15 +275,33 @@ server and embedded PowerPC, and S390 guests.") (supported-systems (delete "mips64el-linux" %supported-systems)))) (define-public qemu-minimal - ;; QEMU without GUI support. + ;; QEMU without GUI support, only supporting the host's architecture (package (inherit qemu) (name "qemu-minimal") - (synopsis "Machine emulator and virtualizer (without GUI)") + (synopsis + "Machine emulator and virtualizer (without GUI) for the host architecture") (arguments (substitute-keyword-arguments (package-arguments qemu) ((#:configure-flags _ '(list)) - ;; Restrict to the targets supported by Guix. - ''("--target-list=i386-softmmu,x86_64-softmmu,mips64el-softmmu,arm-softmmu,aarch64-softmmu")))) + ;; Restrict to the host's architecture. + `(,@(match (or (%current-system) + (%current-target-system)) + ("x86-64-linux" + ''("--target-list=i386-softmmu,x86_64-softmmu")) + ("i686-linux" + ''("--target-list=i386-softmmu")) + ("mips64el-linux" + ''("--target-list=mips64el-softmmu")) + ("aarch64-linux" + ''("--target-list=arm-softmmu,aarch64-softmmu")) + ("armhf-linux" + ''("--target-list=arm-softmmu")) + ((or "powerpc64-linux" "powerpc64le-linux") + ''("--target-list=ppc-softmmu,ppc64-softmmu")) + ("powerpc-linux" + ''("--target-list=ppc-softmmu")) + (_ ; An empty list actually builds all the targets. + ''())))))) ;; Remove dependencies on optional libraries, notably GUI libraries. (native-inputs (fold alist-delete (package-native-inputs qemu) -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Tue May 05 12:11:06 2020 Received: (at 41074) by debbugs.gnu.org; 5 May 2020 16:11:06 +0000 Received: from localhost ([127.0.0.1]:37189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jW09y-0002m3-Ei for submit@debbugs.gnu.org; Tue, 05 May 2020 12:11:06 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jW09v-0002lY-Vn for 41074@debbugs.gnu.org; Tue, 05 May 2020 12:11:06 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 79D415C00F0; Tue, 5 May 2020 12:10:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 05 May 2020 12:10:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=4o8dokjEmyeQxUyJ+MsBEJHD UWsQTaKVWTehRn9/ICk=; b=stU1FTT6T0PqO0sCYdJWXirK8NttiUEQQjh+Z7fm uu3Lk9NCvcbhEKL2ubNzhEx4GE5odw4+okJ38B2S4cGMQvjAnGhS9RqwNMsMsReM gDt1WKQgNL+JQp+XpmURVaxfyXV9KwR1v5GPaerSKMLVJlCY/z/Pd5lRquU53pU1 c2I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=4o8dok jEmyeQxUyJ+MsBEJHDUWsQTaKVWTehRn9/ICk=; b=UZYrwj2w+MFakGEREpxg4w wcgQQLhpKkXj/pn/5uewpeO9w4QqligEdoMUjI6ottnvu71ExksquxThHg9hY2LT Cn+7qe4kCCYuTr1EQIWVhBMlBJ5NBPmu0AHaA+qj/Yz3wLuuEeYd5xEKnnzZXAow 591HhgPxtpZAZmWX0aJRzru70VrrqjZshRIt68scekfr46PayrEi6IfFOf5SKLip mIO8WMxfn32lMtvM8qXfq+paPIUS44i6sYh1NydFaSyyL3VoZxxz0308IlXHHzCE SPhk9fw0SWKITi2OhFrHvIONqW9R4ZnXG66uaAcDUBNYVNZsKrmWHYFFRdAM1FFw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeigdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheffvefg necukfhppeejiedruddvgedrudefkedrieefnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 1EF313280066; Tue, 5 May 2020 12:10:58 -0400 (EDT) Date: Tue, 5 May 2020 12:10:55 -0400 From: Leo Famulari To: Efraim Flashner Subject: Re: [bug#41074] [PATCH] gnu: qemu-minimal: Only build for the host's architecture. Message-ID: <20200505161055.GA31092@jasmine.lan> References: <20200504102515.18650-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200504102515.18650-1-efraim@flashner.co.il> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41074 Cc: 41074@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, May 04, 2020 at 01:25:15PM +0300, Efraim Flashner wrote: > * gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust > configure-flags so that each architecture only builds for its native > architectures. > [synopsis]: Adjust to clarify it's only for the host's architecture. I admit I don't understand the impact or motivation of this change. What will be different from what currently happens? From debbugs-submit-bounces@debbugs.gnu.org Wed May 06 03:16:45 2020 Received: (at 41074) by debbugs.gnu.org; 6 May 2020 07:16:45 +0000 Received: from localhost ([127.0.0.1]:38388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWEIO-0001gP-M9 for submit@debbugs.gnu.org; Wed, 06 May 2020 03:16:45 -0400 Received: from flashner.co.il ([178.62.234.194]:58006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWEIM-0001g5-E6 for 41074@debbugs.gnu.org; Wed, 06 May 2020 03:16:43 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 60C1A40212; Wed, 6 May 2020 07:16:36 +0000 (UTC) Date: Wed, 6 May 2020 10:16:03 +0300 From: Efraim Flashner To: Leo Famulari Subject: Re: [bug#41074] [PATCH] gnu: qemu-minimal: Only build for the host's architecture. Message-ID: <20200506071603.GB2359@E5400> References: <20200504102515.18650-1-efraim@flashner.co.il> <20200505161055.GA31092@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0lnxQi9hkpPO77W3" Content-Disposition: inline In-Reply-To: <20200505161055.GA31092@jasmine.lan> 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41074 Cc: 41074@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0lnxQi9hkpPO77W3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2020 at 12:10:55PM -0400, Leo Famulari wrote: > On Mon, May 04, 2020 at 01:25:15PM +0300, Efraim Flashner wrote: > > * gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust > > configure-flags so that each architecture only builds for its native > > architectures. > > [synopsis]: Adjust to clarify it's only for the host's architecture. >=20 > I admit I don't understand the impact or motivation of this change. What > will be different from what currently happens? Currently every architecutre building qemu-minimal builds targets for each of the architectures we support, x86_64, i686, mips64el, armhf, aarch64. With this change armhf only builds for armhf, x86_64 builds for x86_64 and i686, etc. Looking through the code with a 'git grep qemu-minimal', qemu-minimal is only used for tests for grub and system tests and for (gnu system vm) and on core-updates a bit more similar places. Basically it's only used for running tests and creating VMs, which means it only needs to target the host architecture. Every other place where we provide support for other architectures, like the binfmt service, uses full qemu by default. Overall it doesn't save as much space as I'd hoped, each target architecture only costs about 16MiB, but it does save a fair amount of time building each target architecture. Currently qemu-minimal is 303MiB, dropping the 3 architectures for x86_64 would drop it down to ~258MiB. Some more work would need to be done to trim the share/qemu folder to only have the relevant bits. Currently there's about 200MiB of edk2 stuff for arm/aarch64. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --0lnxQi9hkpPO77W3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6yZC8ACgkQQarn3Mo9 g1E9YRAAixUQwn6heijFGdKN0vvFYTottPCAoAj6DBrgaNhBI/POa0syFq2YvUwH eDc0hXXVePFRjXCxaqtu8CeRwY5SNTNUA2TO/sOwRK3DFtnjfrLQM0ENgYRrKYjN zTfHSKJ1Y3RPUGL5QhQjMuPETocUM/fop6DityAFqsiDVcU2u2wepxc70+UQ7st8 WXKtgQN2zRNRon58KWqRcUYDcpAxa/mMXmB73qd6g1V/uTztQJ+xB+UfxnW+ro/V 2Jm2UEFCCK6+J8i3WG2YZWUu/L4HUcwe7dynFGxNAhpUaLSwEn3CbjWbjwWgl92W X7aTtPUEjdFrTlbVINm04nv3qA5svTUqhjhbnYSQTIFhy05NF3jFT+GMw+DS4IKX Ay+f40PLt383p4p1285XacpcBFk2uAsywjkRMhzViRmBSTaDrMntkhDC4ykKehAZ VqMeM3VZ9cfMZMRMiYqzLQV9WV1fd5nd5a3vqh01v7Q/KzoPS6XofSx3VkJLczXw MNr2p+GqljgxQZNJWZVezGbdnxGcFzGi0XFUtG6DHtk74czUnNBmx4+Ld2HMngTI R5Oxpt9XqsGoLaQgSttvhoHROEbM4HsPo/Ez3HNm3gu9oG7yubI8mIidr9f3LaBS Q+JjW7bKDSE8khT3ImhZdo7oI3nfhseFqbqCj3EsVTEhF28lyrI= =wJ0G -----END PGP SIGNATURE----- --0lnxQi9hkpPO77W3-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 08 06:01:33 2020 Received: (at 41074) by debbugs.gnu.org; 8 May 2020 10:01:33 +0000 Received: from localhost ([127.0.0.1]:44621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWzoy-0002Uh-SY for submit@debbugs.gnu.org; Fri, 08 May 2020 06:01:33 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWzox-0002UV-Lo for 41074@debbugs.gnu.org; Fri, 08 May 2020 06:01:32 -0400 Received: by mail-wr1-f65.google.com with SMTP id i15so1149868wrx.10 for <41074@debbugs.gnu.org>; Fri, 08 May 2020 03:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1gzilf8Mymq33+weXzfCmVgjXPulljn3ZcMHtbDrNbI=; b=MCwfHf/MCKB0TmBK+PwXDssQnCqbdW5kibtm8glEPms2909oL3e13+qL/mB93Z/E13 4LwPhZUC/zxR3hsks4jB4HLOWK67kdGpXUuepEwR5mVBgp5tCJPmc/cNq2aiNPgm5/d+ e4uuAgljJSC33Lj7LlmpvV/HpCmY6UdwA1jepOGSs+ozi7uzS2ok4K4SlpSJlPJMf2xc 4oGl4Ht9kBz7DuL7B57RLZ3MO+PJCj0tfvgpSp+WL7L3RFrf4T+EFTi6R23IRBLEYecR +s4tmYdTg1VPDSUOKYn2TfN7VccUTXxDgC237r/lzGUnVEtu0g58gWwU8bjdSzoXIdtb hjMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1gzilf8Mymq33+weXzfCmVgjXPulljn3ZcMHtbDrNbI=; b=FMpS3CRvZduNlIlP7KSeS2PVBleLLWqxK5g/pAvW1qlcXUfD7xiKcE/r1xhd2wx4p1 JFL7bviiVll8g0kTybGwGrVlXvOblMlVZn5ogi68On1fzDjur/8G8NQqgEzWnKJxV9kJ E/iSAnj517zLMnrIS+8Bqcu0q0y+Z3xqH2F8CoTORv0KsHElBUc9eiwSpxkgy1gjiRIo /UgFssF0o94H7jidNgou/9gc2E9KN/cmVd6T/uvy/bQkkkT7CLHOQ7NDrvGXoUi03Zfc ooPjjpoARoly3A20akpB5J08NYTelSyijxWHmvxQE0o/csG3VlY1i8vrT9RAl3WnEwxD +dcA== X-Gm-Message-State: AGi0PubzP6lKM8Vl3En9N3tWBzCj5f69bEEj3aNExz0/ymHRwIe4uiYv AqvNq9fmtKZ3JP78Rtt1PRwqu2uK X-Google-Smtp-Source: APiQypI5DL2Pxtd7AMRSYK3jVao/vQE1qTd7S9XriN8urC8gySWRDieR0U/zA6xI39aKdOiFvZuDfw== X-Received: by 2002:adf:ee0d:: with SMTP id y13mr2004508wrn.401.1588932085513; Fri, 08 May 2020 03:01:25 -0700 (PDT) Received: from cervin ([2a01:cb18:832e:5f00:d130:8dab:4aff:8b2]) by smtp.gmail.com with ESMTPSA id z3sm2193338wrm.81.2020.05.08.03.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2020 03:01:24 -0700 (PDT) From: Mathieu Othacehe To: Efraim Flashner Subject: Re: [bug#41074] [PATCH] gnu: qemu-minimal: Only build for the host's architecture. References: <20200504102515.18650-1-efraim@flashner.co.il> Date: Fri, 08 May 2020 12:01:22 +0200 In-Reply-To: <20200504102515.18650-1-efraim@flashner.co.il> (Efraim Flashner's message of "Mon, 4 May 2020 13:25:15 +0300") Message-ID: <87k11mbv9p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41074 Cc: 41074@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Efraim, > + `(,@(match (or (%current-system) > + (%current-target-system)) If cross-compiling for aarch64, %current-system will be #f and %current-target-system will be "aarch64-linux-gnu" which does not match anything below. I think "system->linux-architecture" could help you here. Otherwise, this seems fine. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Thu May 14 10:25:21 2020 Received: (at 41074-done) by debbugs.gnu.org; 14 May 2020 14:25:21 +0000 Received: from localhost ([127.0.0.1]:34347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEnZ-0005K3-Ff for submit@debbugs.gnu.org; Thu, 14 May 2020 10:25:21 -0400 Received: from flashner.co.il ([178.62.234.194]:53544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEnY-0005Jm-IE for 41074-done@debbugs.gnu.org; Thu, 14 May 2020 10:25:21 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 87E7A40041; Thu, 14 May 2020 14:25:14 +0000 (UTC) Date: Thu, 14 May 2020 17:24:36 +0300 From: Efraim Flashner To: Mathieu Othacehe Subject: Re: [bug#41074] [PATCH] gnu: qemu-minimal: Only build for the host's architecture. Message-ID: <20200514142436.GQ918@E5400> References: <20200504102515.18650-1-efraim@flashner.co.il> <87k11mbv9p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TYoqghpzCwoKvQG2" Content-Disposition: inline In-Reply-To: <87k11mbv9p.fsf@gmail.com> 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41074-done Cc: 41074-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --TYoqghpzCwoKvQG2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 08, 2020 at 12:01:22PM +0200, Mathieu Othacehe wrote: >=20 > Hello Efraim, >=20 > > + `(,@(match (or (%current-system) > > + (%current-target-system)) >=20 > If cross-compiling for aarch64, %current-system will be #f and > %current-target-system will be "aarch64-linux-gnu" which does not match > anything below. >=20 > I think "system->linux-architecture" could help you here. Otherwise, > this seems fine. >=20 Thanks for the tip. I integrated the system->linux-architecture code into qemu-minimal and it works nicely. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --TYoqghpzCwoKvQG2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl69VKQACgkQQarn3Mo9 g1H0exAAov7T5m2KfOx6tUABNc8+oksrn8c1LLYJCTHhQSTVX9R06AGSoE6Nt5fF rkTjhwmhYWFNnlfdJIovSYUQ3uJJSwDaMc1EtJtCuCefalqoCWH60a9kSCeqQV1L E0Yd8yQppYjWY8RDtpVYyBu9+b72vvmJIPH6vwf2EiGUcaji1iYJChiSlAX4Defk HoGHIBM9GaSMIRFylExxlumSnEcCSR/a8adAuk+K2CAQrmUwUzxLnVn3azgCVoRb lj//+KzAf1Ahn5OU/xiPiUT05BUVywG0VnoorWR1Abvzd1NTzkGImcvxt4B3j0fg 2YNOrBi/+f085MSslwHBZLcxlGnyMEL+VZS/olKb1X0FiNcJrCWbyAgL7BTnsJhi PlCZZesQf/CBMjqWLBUzXlZ5CtX5gY+vkhli83dX9DGrPlpPCSREo4lg3U6hZLt6 ce0JiGk0WiCIycyiGc5UGYLdUksPblziUJbioMvv9pagWomRmb14iL+IRSXqufd9 OAA/T6Q3xvyPZgyqYqQ3EmJ03PsR5VL56oIXUL607AU+RzJgmpx36BZHPClI/Ds9 PVTeW6RuC9W/+Cd3pU2A/4a2FdLsZsflRUXuKvnnu6Xf3jGSqtB6pOsylV5cf/Is EikaUjqulDZlyrb4vrHefK71K6nKGrkAOTN46ohngttR0/RjRQc= =KpOr -----END PGP SIGNATURE----- --TYoqghpzCwoKvQG2-- From unknown Fri Aug 15 03:38:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 12 Jun 2020 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator