From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gAg8NgryomEfWQAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 04:05:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IBYBMgryomFtXQAA1q6Kng (envelope-from ) for ; Sun, 28 Nov 2021 03:05:46 +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 6E4F3298C for ; Sun, 28 Nov 2021 04:05:46 +0100 (CET) Received: from localhost ([::1]:48962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrAVd-0002vI-L1 for larch@yhetil.org; Sat, 27 Nov 2021 22:05:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrAVQ-0002v9-R0 for guix-devel@gnu.org; Sat, 27 Nov 2021 22:05:32 -0500 Received: from [2607:f8b0:4864:20::732] (port=43557 helo=mail-qk1-x732.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrAVO-0007mh-Gh; Sat, 27 Nov 2021 22:05:32 -0500 Received: by mail-qk1-x732.google.com with SMTP id 193so18997584qkh.10; Sat, 27 Nov 2021 19:05:29 -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=Rl7LVnwyo/we7gZG/SnO/Z6AEFeDD5AId+T3U/u2NBQ=; b=Nv+De64bVutuSARUM69dEmcZyt8uXC2ljzndPPRVSB15TGXwYPCcLVI+Oclnwn8+PD Nyr4j+2gAHNYHRbLMEM9k+JzOgBRd4io4AL2a5esoKLP8MUfFqR1Io1AdjTQRBPj6itJ 0ZfL8GLo1OwvhuqumCN3ALwvh//KhwQk3UM2e7TtGa69lshyKGctY9LF05RJHK8bIdOq lbwvW6kcRUOVH0DdJ2uxX2sYGEfzW/cs4h98EC0OeBvelMANUBHxcmyH3zPLv1JKxtqS C3RcRtU5mQywbNNXpKnndGjAnQQ1YLshPRrbwLnUyppI9JrLnV9cKwPaOVcoJqllHpP7 ytGw== 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=Rl7LVnwyo/we7gZG/SnO/Z6AEFeDD5AId+T3U/u2NBQ=; b=0pjnINyhjybaoiTSxIOF+wZ6edHsIO9OlB5WX5rHS4DR1aBRijWvvqVRhkGvuTo7R6 anvCm8b6QMbcwuyP7kJukwI3uAl/kFI61yPtp6Ho6n/LdGsxDMq9MEkeOM/tkXaeGUoE HLwJkIa2yfXJZpjXoel36Y1rbmEMYQvIwg9eQtwG+F+CSxnD6VRFkqdfY5Dr6Akd7PKg CYRgQOeCst1Gp9Wa34gGsXBB4xFUh/3d2M2tubAGOPpK7U26h6uvPxEgj2YxJOUcXcBQ jEqeOmpBNqtcTKKprqjlXeCtRTtwhSLzG4xZCyhnQDB76MT8hV7IWBAHmEDe960tBCQV HZSw== X-Gm-Message-State: AOAM530iAt/QDQjV0m2VhwXH4fJJFsHqSIvZLuBaXPU8CyReG+UKx0BR tg8hTOC69emlL1WxoUQ5jnhYxH/op6CiuQ== X-Google-Smtp-Source: ABdhPJxUCmG7XahS7LzPqC6/h/JhR3wSvI9SKVx8s30nmXc0t7qVZBNhBpRlTq1aX1B3e9PRe3BNXA== X-Received: by 2002:a05:620a:4249:: with SMTP id w9mr29437334qko.251.1638068728669; Sat, 27 Nov 2021 19:05:28 -0800 (PST) Received: from hurd (dsl-148-169.b2b2c.ca. [66.158.148.169]) by smtp.gmail.com with ESMTPSA id h22sm5743702qkk.14.2021.11.27.19.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Nov 2021 19:05:28 -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> Date: Sat, 27 Nov 2021 22:05:27 -0500 In-Reply-To: <87sfvhnrm2.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 27 Nov 2021 23:43:41 +0100") Message-ID: <87pmql6kug.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::732 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::732; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x732.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638068746; 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=Rl7LVnwyo/we7gZG/SnO/Z6AEFeDD5AId+T3U/u2NBQ=; b=Kqdw7kHWrqfG0FgOPFeGDfn4JphrFc/IpVYeF+vk0ReGTeuIU34XF+GiSMaWaA8U43OEqK gIYXnRp3rJY6v+aLVB8nOgrmMTVxnwn9XQJvx3zhb7rHVADY0qPcYN/b7o5mIhX49cmzch i9nskgwlOsnnbKkHojP2AXnZRKkpiXjydrC990DcYaFnDrf9388p5nRLYodxosXmUhlrIF i3AMuSzwTW8hh2SWSb+YqNlCIF49j9PsP4BFuUuBbhWhvQ1HuP/Q4HZ4/7qveoLX8r6R6x m2oOEWsEEpK0UOQlzfTeTo8yjPY7+2O2XFeyUE6M/yNSrBg9lMay0rV3HnvO1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638068746; a=rsa-sha256; cv=none; b=BZqM9OzXGPxwUKIt+YX9SMt+ZfXM7fsQ6Z4XfcXjbqOZB2NRYfuMMwUSAZwO+JMXRPnmwT SJ6NND47Taqj13xnz0y8CCmjd2N84ZWXfCFRu9QKgvWai1exZNki8gSUMKAJlzYj0u8Hi7 rhMEDOBYRmjV/oUWWLLkuiZIf0CZyxh92EQx6yGmRW/0VQkqifzPFQIzrd0RuELwgfpknD 1buV2wFrmTw7FeskOHkV5+VH1Hd/il8N48Sv8HgA/rCbjvqeESWv5QUzG8TENqfzHciW5h lr023dLPfyxAwapUlz5c6dVVVtInv/P6JUjSVljcmsSUXTw+7Vk7cQC7IHs3Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Nv+De64b; 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-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Nv+De64b; 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: 6E4F3298C X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: YoDIkRwaiV4Q Hello, Ricardo Wurmus writes: > Ludovic Court=C3=A8s writes: > >> As you may know, librsvg 2.50 on =E2=80=98core-updates-frozen=E2=80=99 d= epends on >> Rust. >> However mrustc, which we use to build the first Rust compiler, >> currently >> only works on x86_64. This means that ~28% of the packages on >> =E2=80=98core-updates-frozen=E2=80=99 are x86_64-only (vs. ~15% on =E2= =80=98master=E2=80=99). >> >> Among these, the most problematic missing packages are desktop >> environments: Xfce, GNOME, etc. So far our =E2=80=9Cpledge=E2=80=9D, en= coded in >> =E2=80=98etc/release-manifest.scm=E2=80=99, was that all the desktop env= ironments >> would >> be available on x86_64 and i686, so that one could install Guix >> System >> just the same way on both. Currently this is no longer possible on >> =E2=80=98core-updates-frozen=E2=80=99, and I think that=E2=80=99s a prob= lem. >> >> The patch below does something unorthodox: it reintroduces librsvg >> 2.40 >> (written in C) and uses it selectively so we can have a desktop >> environment with Xfce on i686. It=E2=80=99s not enough to get GDM thoug= h; >> there=E2=80=99s a couple of GNOME packages that depend on librsvg and I >> haven=E2=80=99t >> checked whether they work with the old librsvg. > > 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'll still try to get mrustc to build on i686 by specifying -O0 to gcc while it builds it, to see if the memory usage can be brought below the 4 GiB limit. Thanks, Maxim