From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kCXmE3BO82PB9gAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 11:41:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kOraE3BO82OISQEAauVa8A (envelope-from ) for ; Mon, 20 Feb 2023 11:41:52 +0100 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 B0F6A3C537 for ; Mon, 20 Feb 2023 11:41:51 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=i30FapjQ; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676889712; a=rsa-sha256; cv=none; b=ZwBhH+NDQ+9rRVXMnOKwCIXRRcCSlylp3XKJtA2OnicibHgIqAnbOc1Bnnd06yI5v1PXvf eU0eueJu/wqYsHF0AyRyTVge0PhYGFzYHH7T2DC9rcC0YaPKTJjlbWaIkdh8XD2nLb347/ i7rkSUSxuK+1OOIgjh01NQ7FHBecjane4hnVH5mXNwm+deG/i1+ZMhzVIpnuP68CcFaclv 5pkakmbx9Xq9X313uzf0q82HrtoOsCyO12XrQxE35nhfKu8XgmO9zG48JRrl6hYwMTEmQA agGEAnwx1F0bHVNyDeWHxthgEhstsO9ora0E1/PG4P84lLwgeMVBZH3oP30mXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=i30FapjQ; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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=1676889712; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ULvbjjRc7rNTcrbig7tkp3mnWxY2QRprRJXrzqUp6CQ=; b=AaePxi2/3gJ24qS4GrbDYIfeWdnT+sjeu5DfmXhUmG08mGNohwOsJLgpgvvdzWgDl6Brcx FXnHr411UG7KdHZwMnxhYexASjUT2l42tZGqxKUsuC61Gd/vEMysX0FxbzrBZXhnU0Vxh6 Oyp5ywnBgEsWFjLYFGnAmFkij2kEb7LVbarzpoMNC5QINeKruHRPzhKIN7ieCIpwNuRLcw eSKwekzOLsdTVzxxlQOLsWh7dTBOad9jw8iwGqHhrUYpumDbapm2E6h+CN+FYS+B/1uxWJ W833DAd6z671r3YR1iVPr9xEoaV7iY1upb/zf1dWaKUCZ/0SLZbPXMbQTS+gXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU3bh-0002Uh-5w; Mon, 20 Feb 2023 05:41:17 -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 1pU3bf-0002UA-Fr for guix-devel@gnu.org; Mon, 20 Feb 2023 05:41:15 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU3bc-0000G6-BV for guix-devel@gnu.org; Mon, 20 Feb 2023 05:41:15 -0500 Received: by mail-ed1-x52a.google.com with SMTP id o12so3246461edb.9 for ; Mon, 20 Feb 2023 02:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=ULvbjjRc7rNTcrbig7tkp3mnWxY2QRprRJXrzqUp6CQ=; b=i30FapjQEbgcDrC8pERjllBIOT7QNYotx8VTPJkcm1d0i/Lo36syteXB3Fa2YwSzvL MCEHzneaOAYA3Q+hP2HT6Do8cvsxD0y5oVd8/KwVaMePgkiKF1DGSMrkF06mlPHo3uA+ UcHkig13y3huRsRat0ZeTZ/1Jil3sG9/1QuyWR7ih2nY2TCXQianXz8svmgtA46P5Gf0 ogKBbuVHxhOiy6t5utiORSUuw+8vWqzqngP7f/rHQbhek0yIzepUDctQEWznUNOw1kHj Go8+v73OxXJJaQQCiKnULVVt6qV/Pix/vVoynmqO3ykPHnthw5uhY0R9CY3UVh0Ohzpn UaSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ULvbjjRc7rNTcrbig7tkp3mnWxY2QRprRJXrzqUp6CQ=; b=opI2sTMhXuyP7hJpVrRNlX8Ie9FrB99ZZ+fartaOqWkaB3NWJ6kmE5RdU6shhYds3y kP1dBsbgaO0CHJJ81XsMAO3QKO0IiFJwWnH8aNZOozkTdZ8an5UGb8KgGH6OZxNdiOLe Utas6tCbtLB79kkz3E4Z6pcG5HserOif0Oz+2giE+/MPRy9YWfjLZlLBB0vfM5Zz6Dbh gvdWBwUUHUhe0R6QICmhFXXviz/a3m3Ha9xa7pzKi2yg0li3ibhqwkrRx9lIq7F8HUws p64pAE96oJnqIGxhnZzT9XmQCzaRL5QEFTdkLNzcjWog4fM/7PJtRsIFst1922fZTWYt FXlQ== X-Gm-Message-State: AO0yUKUy15vL6FbWgH6ALpINT0SQEPFcWR3VQy+ct+mBKEzHeoEJGudl 7lYyNwCQLKWgJUwSV9wO1Ib+0uIbVd4hy2JzfE0= X-Google-Smtp-Source: AK7set9Y8YiUphcXqIWU89VLtjlkbiZdjqpDtwf4ugZ7Lh7Pg9bIBXvLkGeDKjcJXq77S57YjOBTRg== X-Received: by 2002:aa7:cfd7:0:b0:4a2:223d:4514 with SMTP id r23-20020aa7cfd7000000b004a2223d4514mr1418656edy.8.1676889669798; Mon, 20 Feb 2023 02:41:09 -0800 (PST) Received: from bombaclaat ([2a01:598:b1a0:6927:57eb:4a81:9152:ce60]) by smtp.gmail.com with ESMTPSA id m30-20020a50d7de000000b004acc61206cfsm1220753edj.33.2023.02.20.02.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 02:41:09 -0800 (PST) References: <86v8k0d79s.fsf@gmail.com> User-agent: mu4e 1.8.13; emacs 29.0.50 From: Roman Scherer To: Efraim Flashner Cc: guix-devel@gnu.org Subject: Re: Building arm64 guix system image Date: Mon, 20 Feb 2023 11:31:04 +0100 In-reply-to: Message-ID: <86a6187h6j.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::52a; envelope-from=roman.scherer@burningswell.com; helo=mail-ed1-x52a.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: B0F6A3C537 X-Spam-Score: -9.43 X-Migadu-Spam-Score: -9.43 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: AQ0TOURTHc7K --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Efraim, that would be great. I'm looking forward to try them out. Since we are already talking about arm64 here, do you have experience with transparent huge pages on aarch64? I would love to get some feedback on this one: https://lists.gnu.org/archive/html/guix-patches/2023-02/msg00698.html Do you know if any of the aarch64 build machines configured with a page size > 4K? If so, I think that patch could help building more packages on that architecture. Thanks, Roman. Efraim Flashner writes: > [[PGP Signed Part:Undecided]] > On Fri, Feb 17, 2023 at 10:29:35AM +0200, Max Brieiev wrote: >> I want to run Guix on Apple M1 as a Qemu virtual machine. >> >> On the Mac machine I run arm64 dedian image. I installed there guix as a >> package manager. Now I am trying to create a guix system image to use >> with Qemu, but it fails. >> >> Here is what I do: >> >> max@debian:~$ guix system image --system=3Daarch64-linux -t qcow2 ~/= code/guix/gnu/system/examples/bare-bones.tmpl >> guix system: warning: Consider running 'guix pull' followed by >> 'guix system reconfigure' to get up-to-date packages and security up= dates. >> >> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 1= 00.0% >> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org= '... 100.0% >> The following derivations will be built: >> /gnu/store/dhknasynfsx9ffsv2m188mmhfvz4l1cl-grub-2.06.drv >> /gnu/store/875pz541zymv6vhl0hkfll151jv8sd2p-qemu-minimal-7.2.0.drv >> /gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj-openbios-qemu-ppc-1.1.= drv >> /gnu/store/dclmdk80rbqqpix98vh6srhdbgscyiwb-qemu-7.2.0.tar.xz.drv >> /gnu/store/g9crxhl9j2pw35kwgx9bdcjg3jrvi77v-linux-libre-6.1.9.drv >> /gnu/store/blyj3j5v3p2lh6pj7mw81xjg58d1k4zb-shepherd-0.9.3.drv >> /gnu/store/r517qlsjsl877kpjfl9ixay9mzh0n923-grub-efi32-2.06.drv >> /gnu/store/pyv1w00f9c0q291qhi6y0911sqlvfcrv-grub-efi-2.06.drv >> /gnu/store/875pz541zymv6vhl0hkfll151jv8sd2p-qemu-minimal-7.2.0.drv >> /gnu/store/brzpisxg4dkvad07pd95riwn7c8559j6-genimage-15-1.ec44ae0.= drv >> >> 1.0 MB will be downloaded >> alsa-utils-1.2.4 987KiB 4.5MiB/s 00:00 [##############= ####] 100.0% >> building /gnu/store/g9crxhl9j2pw35kwgx9bdcjg3jrvi77v-linux-libre-6.1= .9.drv... >> building /gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj-openbios-qemu-p= pc-1.1.drv... >> | 'build' phasebuilder for `/gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fp= wmj-openbios-qemu-ppc-1.1.drv' failed with exit code 1 >> build of /gnu/store/2vbjnb0f6dzcnvvyaaqjzww0146fpwmj-openbios-qemu-p= pc-1.1.drv failed >> View build log at '/var/log/guix/drvs/2v/bjnb0f6dzcnvvyaaqjzww0146fp= wmj-openbios-qemu-ppc-1.1.drv.gz'. >> cannot build derivation `/gnu/store/875pz541zymv6vhl0hkfll151jv8sd2p= -qemu-minimal-7.2.0.drv': 1 dependencies couldn't be built >> guix system: error: build of `/gnu/store/875pz541zymv6vhl0hkfll151jv= 8sd2p-qemu-minimal-7.2.0.drv' failed >> >> >> The relevant part of the build log shows the following errors: >> >> Building OpenBIOS for ppc >> Building... >> error: >> /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10= .35/include/asm/sigcontext.h:128:2: error: unknown type name =E2=80=98__u32= =E2=80=99 >> 128 | __u32 size; /* size in bytes of the extra space */ >> | ^~~~~ >> /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10= .35/include/asm/sigcontext.h:129:2: error: unknown type name =E2=80=98__u32= =E2=80=99 >> 129 | __u32 __reserved[3]; >> | ^~~~~ >> /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10= .35/include/asm/sigcontext.h:136:2: error: unknown type name =E2=80=98__u16= =E2=80=99 >> 136 | __u16 vl; >> | ^~~~~ >> /gnu/store/gm5mbaxkqhzafwy0wnimrg53j884glxn-linux-libre-headers-5.10= .35/include/asm/sigcontext.h:137:2: error: unknown type name =E2=80=98__u16= =E2=80=99 >> 137 | __u16 __reserved[3]; >> | ^~~~~ >> make[1]: *** [rules.mak:83: host/kernel/bootstrap.o] Error 1 >> make[1]: *** Waiting for unfinished jobs.... >> make[1]: Leaving directory '/tmp/guix-build-openbios-qemu-ppc-1.1.dr= v-0/source/obj-ppc' >> make: *** [Makefile:19: build] Error 1 >> error: in phase 'build': uncaught exception: >> %exception #<&invoke-error program: "make" arguments: ("-j" "4") exi= t-status: 2 term-signal: #f stop-signal: #f> >> phase `build' failed after 0.2 seconds >> command "make" "-j" "4" failed with status 2 >> >> I don't know where to look to fix this error. Please, help me. >> >> Also, I thought I could find somewhere arm64 guix build, but apparently >> there is none? >> >> I found only a raw image for Pinebook Pro: >> https://ci.guix.gnu.org/eval/196495 >> >> But for some reason it says it is x86_64 system, and this confuses me. >> >> Thank you in advance. > > I have two patches on the core-updates branch that should allow building > openbios-qemu-ppc from aarch64. I'll try cherry-picking them to master > and see if that allows building qemu-minimal. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmPzTkQfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmYwkB/9rTDb/4xxpEiQc bB/5G6UnTT5q/s8MpbLUBvTpFUPDXC+vAu9hD/jRHeNkxbh8eZ5lh3ym5SOAV5o4 +hpccZiZ5qzd4yZDTSDe3pOIWPecQ3gJ6X4SSlziXhyXW1mmo8D7Jko+5TH/IjnL kXH1n9rkgHaXzSEigy0p6LD4p8N7GimpNK/DapUERbIHdaurbppF9HzIBvXtFR0D NyTRT/Im/j4jjpAQbxNpSFLCoz7L/5yV0ypMCuMcx9SuN6Ld5KGBzFforuB1o4R2 KoyzBYBYwO0tFUxXlUK0c9fREzI5PWquO1iO1IVzH545yUruqWv9Wf1WlTuseP/x EWyPJ0Ca =39mi -----END PGP SIGNATURE----- --=-=-=--