From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oFM6LAdzrWEAdwAAgWs5BA (envelope-from ) for ; Mon, 06 Dec 2021 03:18:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GFD8JwdzrWGtcAAA1q6Kng (envelope-from ) for ; Mon, 06 Dec 2021 02:18:47 +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 7A8562081D for ; Mon, 6 Dec 2021 03:18:47 +0100 (CET) Received: from localhost ([::1]:54938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mu3aY-0001Kr-E3 for larch@yhetil.org; Sun, 05 Dec 2021 21:18:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mu3aO-0001Kj-8v for guix-devel@gnu.org; Sun, 05 Dec 2021 21:18:36 -0500 Received: from [2607:f8b0:4864:20::735] (port=36665 helo=mail-qk1-x735.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mu3aM-000552-6M; Sun, 05 Dec 2021 21:18:35 -0500 Received: by mail-qk1-x735.google.com with SMTP id i9so9802401qki.3; Sun, 05 Dec 2021 18: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=3vhN7PJ03ELVqUT0t66RgbkxxM/OEbzeYPvMvJRbLcM=; b=OJS9NnI7Qi4owoPSuJspJ1KXpTDna9BWVKdvOtGSE1seHFuZmm+COQtQsxNPSQClZd +nsLcWK9NfPQP31zaWM7ml9YXCShWGkKlxbgJ3Cz7YBMWXUJFjDyp9UeOjql3haJGMy9 YbxqYrlb2GkbA+08Z3YEcYBi+v6XdyQCOhSfVl6oVISYVpGOOB4rK0ItnEm3pR8as/Y0 0JoOasRPLFdADRh51zj7EUAx1CTLeyt/hSrereqtbi6WrNmvM8oZdOMM8i8nsck7wh3N QMZafy8euIdjxnS+Q+F79Z4WQ2ciINKtxXjsGinq8tdtrp7yKsvFjHgpFUAqfyhd/cha Fc5Q== 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=3vhN7PJ03ELVqUT0t66RgbkxxM/OEbzeYPvMvJRbLcM=; b=yG5K+ZyxOchvpCJ+zETSsVGIEmhQTPYQ8cr4sd5bFxmM5l/RptKgLOgVBaVfPg0BTA rI149dxzSgL0C994SObPrCJX/bGWOW1YbTcoSi9aSMPEkq3Q3CGmSL5qfh1vpndtupmT vBw40ReBa8MI6Nv+4QNn6Xijw42dCKAjl9a7EDSVS7oebmlQq88Kye860/kDkuopD0Af Wk/011ldGA6pEdC27ngaO+/yzCrXk0z/dY835hREcBPmPqVU0dQE0ka5XD/ESn7KxAFX YR+RCNcCYlm9Dnu0z5wTA+6MrtJ328i5esEWjXxo//e7+0rjbK+3Dc0uecE5k/uWUx3y 0bTw== X-Gm-Message-State: AOAM5338xrVJAZg2y/1ByKfaZcMMhDbWXrM2LNImvc6gYFom8GgYVfwG BBTj2jTDcweJ4MfsFfwvGWwbyFlIkVI= X-Google-Smtp-Source: ABdhPJy7I69E05/GQjrqMV12FDa/vu6N/0LA2X0W0p/cqsNmODE13JS3VkvSeiXkNg5x+4VN/Nf25A== X-Received: by 2002:a05:620a:2444:: with SMTP id h4mr30035022qkn.398.1638757112722; Sun, 05 Dec 2021 18:18:32 -0800 (PST) Received: from hurd (dsl-158-219.b2b2c.ca. [66.158.158.219]) by smtp.gmail.com with ESMTPSA id y15sm6020308qko.74.2021.12.05.18.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Dec 2021 18:18:32 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Desktops on non-x86_64 systems References: <8735nh8bvw.fsf@inria.fr> <87sfvhnrm2.fsf@elephly.net> <87pmql6kug.fsf@gmail.com> <87lf196jrg.fsf@gmail.com> <874k7w9nm9.fsf@gnu.org> <87pmqghqiy.fsf@gmail.com> <87mtlkz03c.fsf@gnu.org> Date: Sun, 05 Dec 2021 21:18:31 -0500 In-Reply-To: <87mtlkz03c.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 01 Dec 2021 18:49:59 +0100") Message-ID: <87tufm8oi0.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::735 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x735.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, SPF_PASS=-0.001 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638757127; 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=3vhN7PJ03ELVqUT0t66RgbkxxM/OEbzeYPvMvJRbLcM=; b=EHnWEmcmAYUeFBx9m/RHqpAl4VdiajmaFFWfRkozDfXvMQoDoKLAetlw+J2A9wb5AEYDjP YAkiOuRahMLWiHaHEhoQvcN8hkCWRJyWNh4PQU4SaIomv0ljC0DBaEEeAuia703IbHDQuO hwD4XlvjCNwCTsLdi/n35QxSzG7DJPwCN1FPdo39KJGuyR1TYf0nSSqADKIuMFbE2It9n9 WCmdzuigI7wsMESgRb5JSdHWA/Io8KcQfrkQDWJRJ8dmgFuNPvy0T9si7uLzvF3SD9YUOT njfLt/UXW/Un9HcPbzxX17iR5qf4aUyZRc6B3tYovVXQ7wIy+UGq2T5w38ZnWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638757127; a=rsa-sha256; cv=none; b=tOaC7EVByJEqYqYkCZQIVjM+DCshPPOKYhk6+h/IDLn6jOAl0iZ/TlnK0xpHQA0/0YGIqq aLcX9JLUgathIyiZLB4TtAxoeS23RPhthqYuJpRuv52CZFL2v/m7MTqgf1jR/3piKvwnlO EmBoc1IBIc9D94rnFVeLqhafqwTsZ9M/OQu2xMooh/wVUGdzlRACV0CVegs+DT6y67OzBA qQiNEKjhKPYzi2LeqB2lsJLwuwv0vAR5uw5zQ7OxLIHBjNWvrIpGhVK35mbzSVkE+rkJ5U lTfyYWb+q+G/aAshROvJ7yi+lpN1KuNO2M4TtSyvy9FzhqIlXXEpMRLY40Ymzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OJS9NnI7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -1.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OJS9NnI7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 7A8562081D X-Spam-Score: -1.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: uGoR/V2Acqph Hello again, I've refreshed the branch again, and now there are no performance problems with the cross-built rustc. But Ludovic mentioned that the binary would need to be statically linked rather than dynamically linked, and in the case of rustc that complicates things because it relies on dynamic linkage for its procedural macros, a feature it uses and thus requires to build itself. It could perhaps work to 'guix pack' it into a relocatable pack, but that'd be fragile and not very clean, compared to a statically link archive. The road ahead is 1. Try to 'cargo expand' the crates that use other proc macros crates, and de-register the proc-macros crates from the rust sources. Rust bundles about 40 proc-macros crates. That's not guaranteed to work easily, unfortunately, as 'cargo expand' is a lossy process and not guaranteed to be correct. 2. Supposing 1 works, it should be possible to build a statically linked rust/cargo. If the above fail or is too difficult to achieve, we could explore a 'guix pack'-based solution. Thanks, Maxim