From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kHrJEqn3omE+ZAAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 04:29:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8AOKDqn3omHHfgAAB5/wlQ (envelope-from ) for ; Sun, 28 Nov 2021 03:29:45 +0000 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 D2A7D24976 for ; Sun, 28 Nov 2021 04:29:44 +0100 (CET) Received: from localhost ([::1]:52170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrAsp-0006Ev-Tv for larch@yhetil.org; Sat, 27 Nov 2021 22:29:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrAsB-0006El-2V for guix-devel@gnu.org; Sat, 27 Nov 2021 22:29:03 -0500 Received: from [2607:f8b0:4864:20::f2c] (port=36434 helo=mail-qv1-xf2c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrAs3-00027V-12; Sat, 27 Nov 2021 22:29:00 -0500 Received: by mail-qv1-xf2c.google.com with SMTP id kl8so10956191qvb.3; Sat, 27 Nov 2021 19:28:53 -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:content-transfer-encoding; bh=7Mh7JS+u3hh6awbGqXNHZgELej3qFfhfUZRT+YFEd8E=; b=WZ4NSTZan51b6iN1FW0MhNh8YhIv8uyCzJHNph1tnNgCbK/4WmE7orHwcQN3IV4w9o l9R7ws4DchKPn9zI/3MNhxumtFVo7BbRc6L5iKVqcRxpW29BhL/8MEoWj9i0FYkJnnJy x0jIND3z+DTgc4gDOFgQ0sa4qtuSWf/4AqfJgGp/fgdF3lZzkE1sVqPs8iumkL9prVJ9 4Qa/BRrWTouhMx/F5HofIV/H47d/tTZp59CB4IkiHU2HTh5mL7MQ8lBUu6btgQfiA5c1 Y8JbQuYBa8HsfxYHl6/mkwI2DKLFb9iCMn/zHEAxm8fh3QEcpZCzRUojM6T0QXqaXFZN ojOQ== 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:content-transfer-encoding; bh=7Mh7JS+u3hh6awbGqXNHZgELej3qFfhfUZRT+YFEd8E=; b=J/vf9CeYPlt5HhU4OhHdU86zbjW6Jk7ugKfXxdDC1rhHAPinm/ZcRYY5PxKdAZ4+yg gHWvxIetI3fK2CQVhzpKmXnaaULWwmgh8gJBxCeHwSC1PQ7O+eoIIOK+WRxe2n3YCcAW UezU8qUTLmMGmZICfgTWFcIz8hW6hyr1CIA0GO59yZWQgvgWTGnT5BLJ5Q9dOBfcbZpf 93FcNlEC3bgewII3PNenAMA1O3igg0PPcsa6LPu6TOkKulqT2nhZ5FJjH0aIMl6QR53c 0bsVUfuXs6mACLs7lCG0/Yul25w9TXuwwKjlXtEhNiV9gyFbqaZCAlSu71m4FpgcSSka tdjg== X-Gm-Message-State: AOAM530cmXMKSXeyRIGoF0LFybKXdUXjeXjHYsnzqb7ays9/jZEwOZq6 goSPhoCo91gWk+AWAwpnGtvgF7MTVhJocA== X-Google-Smtp-Source: ABdhPJy9GsTzET7/ati8iSB7X2GIlWwyZSkKBK9lzfn8MK+u6iVPgEDYF/gvWSYGC0LatnrJyzJufw== X-Received: by 2002:a05:6214:2aa9:: with SMTP id js9mr33883756qvb.67.1638070132924; Sat, 27 Nov 2021 19:28:52 -0800 (PST) Received: from hurd (dsl-148-169.b2b2c.ca. [66.158.148.169]) by smtp.gmail.com with ESMTPSA id m9sm5861517qtn.73.2021.11.27.19.28.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Nov 2021 19:28:52 -0800 (PST) From: Maxim Cournoyer To: Ricardo Wurmus Subject: Re: Desktops on non-x86_64 systems References: <8735nh8bvw.fsf@inria.fr> <87sfvhnrm2.fsf@elephly.net> <87pmql6kug.fsf@gmail.com> Date: Sat, 27 Nov 2021 22:28:51 -0500 In-Reply-To: <87pmql6kug.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 27 Nov 2021 22:05:27 -0500") Message-ID: <87lf196jrg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no 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: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638070184; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7Mh7JS+u3hh6awbGqXNHZgELej3qFfhfUZRT+YFEd8E=; b=CjRMwATtMkF+2SG7b23hfndGUP3Zi76Dt62hH9e2BOP/yHCBq6Nk14G2FFeFGx/S+qilyQ SYcFKBo0OPy9xOOCne7cagvqXXm/M9he55WMRLbb6Z0a6wxkXoQPW+Xp617Q4qzEcdWpDg QF7lCAvTsYtWldTK5hWwROFBT0qGMFMFNOwKsxI47oHMdtXrZiqJfZ02n6HsgliQa2sFPp xV9OyUdKvoCq+HX2+WnPCYoWWdAN7Q/oHe8l84saXb7Rlz+yp6xa4Q3Wl2xXBQO80BySOi ZAK4vXc2QruKg+/MvCLXuWyavSEbmQ+DgE4iq07PvaLOJiBw5XuvIsqvxl3S1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638070184; a=rsa-sha256; cv=none; b=qUberspRD6E16ZXu9pC56Tt9qbJPXYFE6XTQM1TqwxLNbP8Sw9tboCXEuUL8kTFMz2klzT cxndyvbnY4IdVDi6H4S24DdjAlLsyq2pzBMSwIiRs6FBgP23MaUvrFH/5RdjPljDM8XvuS 7bXZVSxV+4R3OQA7I8FEhhAe+F8RJfem+M13xQpyBlnWbDQg1ynvbKRvQ5/XznTdoE0NsN FBhi+l8KMwao2uk/aiNUPT0B6uSZUPPN2kSHsEp85W7INXyjGxsY2HRgEFok/ojZVfr3YJ 8SQBYz6H77cbECt9r9QIPK+SgYV0K6UP3FQ4lfucAzlPXbapsfQBvSfVoFHzQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WZ4NSTZa; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=WZ4NSTZa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: D2A7D24976 X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: NZX9hm19Jbhl Hello again, Maxim Cournoyer writes: [...] >> There is also the unpleasant option to introduce a rust binary for >> architectures other than x86_64, because we can=E2=80=99t bootstrap it=20 >> there. It should be noted that this would not be unprecedented. We >> have bootstrap binaries for some compilers such as Free Pascal or GHC. >> >> Adding an old version of librsvg is not obviously the better option. > > I agree with Ricardo here. We've tried hard to get Rust bootstrapped, > but that is only viable for x86_64 so far. When bootstrapping is not > possible, there is already a precedent of using bootstrap binaries as > Ricardo pointed out. So it seems that Rust falls into this category for > now. > > It'd be much easier in my opinion to do so than trying to get GNOME to > build an obsolete versions that it will reject without us going at > length with it (not to mention the security vulnerabilities that'd need > to be patched by our own). With mrustc and gcc-rust improving quickly, > hopefully that'd be a temporary solution. I'd like to revise my position, as I got confirmation that it ought to be possible to cross-build rustc for other architectures from our (cleanly bootstrapped) x86_64 rustc! Here's a transcript of my question on #mrustc (libera.chat): --8<---------------cut here---------------start------------->8--- 00:36:38 apteryx | hello! Can rustc cross-compile itself and its stdlib f= or another architecture?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 00:37:13 apteryx | in other words; is it possible to have a clean bootstra= pped rust (via mrustc) on all architectures although mrustc currently only = support x86_64?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 02:27:53 Mutabah | yes=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 04:28:27 clemens3 | fyi: http://techinvest.li/tinux/#rustc=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 04:28:38 clemens3 | which uses and bundles mrustc=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 04:29:05 clemens3 | happy to now upstream my little changes, mostly based o= n the Test.. build.sh and readme.txt.. --8<---------------cut here---------------end--------------->8--- I haven't yet done any reading, but if Mutabah (the author of mrustc) says it's possible, I believe it! Cheers, Maxim