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 SMxFLWhz1GFmIgAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 17:18:48 +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 gEKkKmhz1GGoiAAA9RJhRA (envelope-from ) for ; Tue, 04 Jan 2022 17:18:48 +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 36D7032948 for ; Tue, 4 Jan 2022 17:18:48 +0100 (CET) Received: from localhost ([::1]:37770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4mWN-0001ws-Am for larch@yhetil.org; Tue, 04 Jan 2022 11:18:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4mWB-0001wE-CO for help-guix@gnu.org; Tue, 04 Jan 2022 11:18:35 -0500 Received: from [2607:f8b0:4864:20::f35] (port=33693 helo=mail-qv1-xf35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4mW9-00021o-OD for help-guix@gnu.org; Tue, 04 Jan 2022 11:18:35 -0500 Received: by mail-qv1-xf35.google.com with SMTP id kk22so34800252qvb.0 for ; Tue, 04 Jan 2022 08:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=RHTaRaRjGyPVNBOuHJwtxBQJd//mFrb4U1wR4AY+W38=; b=T05hCSA7nqB+m0SHBFG2U11gBs/xdtt1r3eh87TVeoa0w91v+O6q2TTcujYBpa06E4 hdNWGW81W9EELxcrnGIwDr1GlaXZWQqt0xjG/ou+n4TNr0UgmqJdjlrk6GMt3l0+JV+S L97YCgMhW/ZqvFqIEao7GTlk9s2k0jeq9aij9ciCK37eW/7OMKF7JcTu7Y+/R4RB7qGI k+7Z6hvovEQk1l7YqFV0Y7YQ+swqiNvsMCHrAKCJI9dqDka04qrkoz5GaIFlwP9VywmO dtmImJmKKRg43tOtI/nIhllmCJl6ocg/0hSf3MlknLwX0r2P80CDMfuZX98TspoHDoQz LA5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=RHTaRaRjGyPVNBOuHJwtxBQJd//mFrb4U1wR4AY+W38=; b=mUgNLQeh9XuA3/LmdQ8nPHMgbr/0l8a/Ze1FKEx02ENmcBy/N789tG7CAu6Cdg3Fnq zm1/smSLpeoz2NjsytoS8vG6YF8ZguD1zroCkfMi+cVkbaTyUoMi0A9dTi0w/PQ4RQOx Bgy8WZ3OwByifv7ZSJqK+odI/IDUA4uAAIfAodQthN6KaLrVEOGnAhvV6tQpxT6oxQUW zExIcioKNuPkdlZOqR0mGdlBJPV7U2NaGOxfyVgbJKJeAE+PdLiREvgkkAKACn8LK4xZ lqO0xcq2PfbNeSvRlYk+MPcVWqLFRJGwEQM+h+42eOviiwpbdIx6RehDE0hempcYvcQJ W4JA== X-Gm-Message-State: AOAM530lA2ibkyVS59BEjS1T5I4O7MYaUdHsanu4lr/JvPaFs67JtAV9 aDYL0JI8HBZj6xL25ZVm10tMx9fUZB8= X-Google-Smtp-Source: ABdhPJzuZd6ApHejHzSJA2FUB3lz2EUa+QTL15rBohA1q48th6MdNgQ3RpGV23ucPfM8caUf+FpfLQ== X-Received: by 2002:a05:6214:226e:: with SMTP id gs14mr45940751qvb.52.1641313112615; Tue, 04 Jan 2022 08:18:32 -0800 (PST) Received: from hurd (dsl-152-60.b2b2c.ca. [66.158.152.60]) by smtp.gmail.com with ESMTPSA id p16sm30444129qtx.19.2022.01.04.08.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 08:18:32 -0800 (PST) From: Maxim Cournoyer To: Denis 'GNUtoo' Carikli Subject: Re: Aarch64 build of rust-1.39.0 fails References: <03dH3EelmiQdYTJqTSLQYf_eB7j9uheDFeDNQS66yUacJ7XXjRyHwLU23SQzAhvT0I1xQ1m40P2DPKa5S7SbfQrAsqGCjzg-niw-rOLgo50=@protonmail.com> <87k0g02deu.fsf@gmail.com> <20220104002112.7928301e@primary_laptop> Date: Tue, 04 Jan 2022 11:18:31 -0500 In-Reply-To: <20220104002112.7928301e@primary_laptop> (Denis Carikli's message of "Tue, 4 Jan 2022 00:21:12 +0100") Message-ID: <871r1nv5ig.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f35 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf35.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=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=1641313128; 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=RHTaRaRjGyPVNBOuHJwtxBQJd//mFrb4U1wR4AY+W38=; b=YNlieLnRW78idyqGGdoRYAk8a9Re9IM8uz5hTXw+MQ+7R+BWuN5j2TKFM3E/lUOOmImP1u FEJ+7RNKyMkTfLcos9bmTtlzXGQQkcOh6xK7WLPzM9Mz+W339Ag6oYEENYOHLe8fNtSd88 6HBCL4uiXYqUHajHzcjiSJZrFxGL9386mfZMtl7b+xDpzDLSw9kjNMcQXrTyaGGvgFhS/2 e91vLNC/3y5LbRY8IpXc+5mGTQFhFrWFfrPErRAeBHfuVwk/+FLjr4Kk/UWDPULEAVdaQq GwE0Cr4zQulXHQDWqfbmDeX/CrQBwbs732MCiZk83uurivKLZi4zWHhwj/7XWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641313128; a=rsa-sha256; cv=none; b=odQBT+mG13Lt5m3Rahma4ZqPtBu4YlQwXzcJYCfnFR8GWyPH+aHgXUJVegLaz2kDsSVGdH tJv8ttUW7LhFd2WBKX2exrG0yh1I0NUT9iAgyeS6U2IFMPPc5SXgnvV/TltEnJlXxV6CQD /7MRPm3Ls90WLOgcD3gFwHysrbCeKgDVk6WbHUN5CbZhKY0jerGc6lYitBSojuerVKjG/n RuExcejUjYlezyJBSQsf5vl4SHZyC7r/k4GlmNEeDb/3bRDY8aTHizmmOc5FMlfOObQaBJ oLJ1YnOzJHdL8yYptRlXYQ7gCqyyBDrQ8xOxAexkEaN48+w9fdom+fsEBv9x0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=T05hCSA7; dmarc=pass (policy=none) header.from=gmail.com; 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: -9.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=T05hCSA7; dmarc=pass (policy=none) header.from=gmail.com; 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: 36D7032948 X-Spam-Score: -9.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: zBepJdgVJdzm Hi Denis, Denis 'GNUtoo' Carikli writes: > On Sun, 19 Dec 2021 21:55:21 -0500 > Maxim Cournoyer wrote: >> This is not a Rust but a (known) mrustc issue, which is used to >> bootstrap Rust starting at version 1.39.0. It currently only supports >> x86_64, although the author is interested in enabling support for >> other architectures (a WIP). > So that's why it also fails on i686. > > In that case would it be possible to revert to the way it > was before for non x86_64 architectures (so without mrustc), when it's > done to switch the remaining architectures to mrustc when they become > ready for that? Rust has been bootstrapped via mrustc since September 2018 (commit 3159ef7c99c646b78b04cedb1bd3525c301ef978); I don't think it supported non-x86_64 back then, it's just that Rust wasn't as widely used as it is today so it had a lesser impact. 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, Maxim