From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WA2JL8CG1GGbpwAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 18:41:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cELQLMCG1GEtWwAA9RJhRA (envelope-from ) for ; Tue, 04 Jan 2022 18:41:20 +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 34DB7350F5 for ; Tue, 4 Jan 2022 18:41:20 +0100 (CET) Received: from localhost ([::1]:40208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4noF-00065s-Da for larch@yhetil.org; Tue, 04 Jan 2022 12:41:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4no4-00061f-4q for help-guix@gnu.org; Tue, 04 Jan 2022 12:41:08 -0500 Received: from [2001:910:1314:ffff::1] (port=58240 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1n4nnz-0007cA-OH for help-guix@gnu.org; Tue, 04 Jan 2022 12:41:07 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 0fd1f0c0; Tue, 4 Jan 2022 17:37:46 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 3acc18fc; Tue, 4 Jan 2022 17:37:46 +0000 (UTC) Date: Tue, 4 Jan 2022 18:41:00 +0100 From: Denis 'GNUtoo' Carikli To: Maxim Cournoyer Subject: Re: Aarch64 build of rust-1.39.0 fails Message-ID: <20220104184100.0eb20290@primary_laptop> In-Reply-To: <871r1nv5ig.fsf@gmail.com> References: <03dH3EelmiQdYTJqTSLQYf_eB7j9uheDFeDNQS66yUacJ7XXjRyHwLU23SQzAhvT0I1xQ1m40P2DPKa5S7SbfQrAsqGCjzg-niw-rOLgo50=@protonmail.com> <87k0g02deu.fsf@gmail.com> <20220104002112.7928301e@primary_laptop> <871r1nv5ig.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3R4s2R_ry/QHRvtl7tgZ_sI"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:910:1314:ffff::1 (failed) Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: phodina via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641318080; 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; bh=DWWboPuSRFH8Fj9OIAUf3H1gu6Am1C1bWEHsVY6cUfE=; b=jifubcExJo/IQ8/5o2ZiiyPnGYYDhhmYatabTvsWhHoJQdqtETi3yan0viy07KPleUT82r E7q4NEsEGlAK+nzLFbsaKP34d5hDj/2flMGd9sTW0Gp/e5I2vHx7XNJgJUStaITJhkWkVl DBIrswao5H1+s/trU74GS/1CH0MZ9KOxcJShlKkliymod5a/p9ajVtwj9EThWbGdCViPlp ltazVg6KAv+GM2E4b+hiRvpX2+qB0NVleOuG7lPZPVLdy45dF/v/4A1hbNh6DySbTm32Tn 2mO8aCt4hD86JP2PdcXaRKNyYWEcsrthw+IBTBfvIDJ5HzzDCqbjSDw4RFmq/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641318080; a=rsa-sha256; cv=none; b=Y8mJ7eW3mntkZGFdBer7gULpv3fq7zIC8UJxyWQxnvwPpMJEj+ZP2H9h+F329Ct9avR1MH fUki2e7w4siB1D3bFiyqxKono95tp40AhrmnqxdCvMbaYl75Jpl7Je3Lx+3ezkj4yDsswH ZYSXwXu1YgXibm841emxfMSCzmQI9R0ma+DMTXNvS+93BZhD6zc/ftavRz4/sSPSlQU0xi qe1pGUnXTMRi/kGmWTWzCi+21C/+ork9Qv59wPVwIPOEFgW85SgD0BtWx57niIdb+EW+vb 174syBaCbWdUuzjRtK68FxFfZRryzEw+J+mdqZlrFxvXMNyiC9WrkPXN3r8mMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.69 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 34DB7350F5 X-Spam-Score: -4.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: VwOPRSA5o1/8 --Sig_/3R4s2R_ry/QHRvtl7tgZ_sI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 04 Jan 2022 11:18:31 -0500 Maxim Cournoyer wrote: > Hi Denis, Hi, =20 > The impact of the lack of Rust on non-x86_64 architectures has been > reduced on non-x86_64 architectures on the master branch by > workarounds such as using polkit-duktape in place of the regular > polkit to avoid requiring Rust for non-x86_64 architectures or an > older librsvg that can be used to build GTK without SVG support. > > The i686 native build of rust 1.39 via mrustc nearly succeeds, but > fails due to GCC using too much memory (more than the 4 GiB limit > imposed by 32 bit addressing). With the growth of Rust, there's > growing value in contributing testing and patches to mrustc, so if > you'd like to help Rust on Guix, that's currently the best option to > pursue (there's a #mrustc channel on libera.chat where the mrustc > author is often available). There's also a wip-cross-built-rust > branch that I had started; I stopped working on it after finding out > rustc couldn't be built statically; other than that it was working to > build rust things on non-x86_64 platforms. Thanks a lot. All the infos you gave me suggest that it's probably easier to try to build it from master than trying to go back in time (the approach I was trying). With both Guix system i686 and Parabola i686 (with linux-libre-pae) htop sees 8GiB of RAM on my laptop[1], and I've also 9G of swap available, and I can probably make it run builds the night, so I'll try to get that built on my laptop and report here and/or on IRC. Though at the end of the day, it'll really be fixed for everybody when official substitutes are available (as not everybody has that amount of RAM and the time to build it) and unfortunatelyu I can't help much with substitute (I guess it's just a matter of waiting for builds as soon as the build works reliability with enough RAM+swap). So beside reporting success/failures if that works, I'll probably try to fix other issues instead (tests fails on i686 for several packages) as I don't run substitute servers. References: ----------- [1] It's a Thinkpad x200 which is capable of running in x86_64 mode, but due to various reason my systems need to run in i686 mode. Denis. --Sig_/3R4s2R_ry/QHRvtl7tgZ_sI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmHUhqwACgkQX138wUF3 4mPQqxAAj/vZV5/uYPogoup1vwB9ZOJAUd7gJ1SATMP/1Kky2QeDalX/3P2YQzkV J3aZWKR0fWKQHMykqy+LzZj2pC14/vwTvFT3DfDb7wvdrNKQo548muS0J2dpqAH/ dvb6+JJxo51U3ewKwyVsHV87MaIEfJ85YS0pSaHaNMP7jAlbsjF3hCu6hz3DiJ6Z NStSkaRGnEhsZlVxyrAbEL+fq5fn2MliQV5OSBilecN2XWHoUe+nV/m7l8DOtJL+ aDbI5eAxTzlHA7gi5ugzdv8dg7thdap+RF+ICNmGhGmTgxJXUDotBJwCSnAnQNeZ MX1FRvmb8lKKskIqF91gypFFI0VS0FPLYwtrk7rpWd1O6FxkesooLUar3pOip9Wh ascpUF8hfQthbMqzIk+TI5076rbiUg+clY23blaJKXWlowOJtyUw9wX6K/D211d3 /QoVFuHWPFzsL7nLOx59g/keoLbge31uBYar3KRIPAh4u2pap7WFAgYr4okyaFkV Mw9g/Of8I8G8bjTDn9ehwxB9lNXD8u5xlO3smNxeZEwBd/IIUmemD3ORl+By9fJP Gwd7D2afHziOeh1/ZWOFxGatpsU1XoEc2J4xZ5lRs8+k/6iORUWYT0dIAuUCFS/v jwTglAlwmQ52fiZV4M6zA/6KAY3emdwle99vmgE+daRyrYas9zs= =ivPh -----END PGP SIGNATURE----- --Sig_/3R4s2R_ry/QHRvtl7tgZ_sI--