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 IPeXMiCl3GHsRgAAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 22:29:04 +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 COHXLyCl3GEycQEA9RJhRA (envelope-from ) for ; Mon, 10 Jan 2022 22:29:04 +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 396082CF16 for ; Mon, 10 Jan 2022 22:29:04 +0100 (CET) Received: from localhost ([::1]:58296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n72Du-0000VA-IL for larch@yhetil.org; Mon, 10 Jan 2022 16:29:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n727S-0007WK-QO for help-guix@gnu.org; Mon, 10 Jan 2022 16:22:23 -0500 Received: from [2607:f8b0:4864:20::f36] (port=40943 helo=mail-qv1-xf36.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n727R-00078t-6C for help-guix@gnu.org; Mon, 10 Jan 2022 16:22:22 -0500 Received: by mail-qv1-xf36.google.com with SMTP id q3so16301499qvc.7 for ; Mon, 10 Jan 2022 13:22:19 -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=6uBNCy1zswUaNIlkZ/ydAwNypNX54JrXPxT+buIthU0=; b=fqFVnd8xpvsd1A88nNroHZViznwyfnmg3AbnnIgKE1MtNqNRmTtVCMZlBmp9wLoTCi X8L5WZTWrErAIWI2wJwMeaFDlGFPdmIlBhZLcCQcb1dOXfAPMkeRMHx4zuFkn62u0PlX GWmBGWyQa44W8nfYheN5sjLPFmzSApoKLTdfHxSDagrWofqPzk9FjEooihs10jzFXk38 ziDRnxCiER8eU0n+2uUSCw7PFs95NhOps2VkmJ8Mht1jmlxoKR5h/1VAYfnb4XqLKrP2 2ibbfavKjKz4kMNaTAv44ojJTBX9Gni3OYdQI9IVsF63LAwPW7IMBXJNOBW5XbEbzJm+ QFOQ== 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=6uBNCy1zswUaNIlkZ/ydAwNypNX54JrXPxT+buIthU0=; b=h4eBkhlzrKj2gjQXwBLB+ZXmODiTMiCwpuk62MyEH9sxx634gNwxCP0w429ljOso9Y mIwsDwLsUa9E8QzXzy7wM6Htgy0gyOutYlrn8bICtr1BMgVJ6ITqDW4wXAb8VNlTd8m8 YX/ayeNlJdghmA1SFM/8o3DbWtURpUBFsL15H0Q1vjb37ujrbMfJ4pHlgEFuBJY0MzNF MnX1lzy9dgEoEOm8KmOOx9LHz+Z2C+NohBoTz1+eIz9x1vnFKLAa21ZxdgiMKNFI1cDo 7tJPOQ2a6pUosA/ZUO+5r7mZT7tvzEnTcI/Q9bBGTaylsA4481rSljgM4UHZYuiDtQ8H zV+w== X-Gm-Message-State: AOAM530a0HN7hrdN1nAjLikuPqozrhnnCes7c+pEhAF+D6M5ksKWW3As 8Af/cB3nWqxs7Ez9c3ewt4969UwAT84= X-Google-Smtp-Source: ABdhPJw0E0uTsAjRwBO1xHc6DCKFeiaVdTjfK/JxDjiODQLEgrZ07uP+b5j7WYxE7MCaPwlG0DCWww== X-Received: by 2002:a05:6214:d87:: with SMTP id e7mr1443896qve.96.1641849738662; Mon, 10 Jan 2022 13:22:18 -0800 (PST) Received: from hurd (dsl-205-151-56-104.b2b2c.ca. [205.151.56.104]) by smtp.gmail.com with ESMTPSA id k8sm3942773qko.27.2022.01.10.13.22.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 13:22:18 -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> <871r1nv5ig.fsf@gmail.com> <20220104184100.0eb20290@primary_laptop> <87h7ajta45.fsf@gmail.com> <20220109221318.0784d8fd@primary_laptop> Date: Mon, 10 Jan 2022 16:22:17 -0500 In-Reply-To: <20220109221318.0784d8fd@primary_laptop> (Denis Carikli's message of "Sun, 9 Jan 2022 22:13:18 +0100") Message-ID: <877db7p9py.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::f36 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf36.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, 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=1641850144; 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=6uBNCy1zswUaNIlkZ/ydAwNypNX54JrXPxT+buIthU0=; b=XNekwOsM2fmkhDWtZh4m8uRQuJF6feiU35AaYaeQTlEt7mGmstBUPnQpnmXosCUnMLCKsc g+X05w1l4aDnOBXlXWjTScAJxgOlHBfxgnv0Khgbg7qzzVqP7uvIntuMHUgMLfbzouAqsk B7jJZppJs/4fXA0dhVXXsjmj4w5dxyZ87ysA3hyroq9DVwD7mz+LwiB5amCn+abiyugZCP gy/OWzMX1hI0e9Gt+N5Et0UonK/C/LAc1lsVs0kd0Ga7y+8z65vk6GcFFy2w26Q8Wq2fXH NbzSEQkvW2mqT7eLvjq+2UyzEhCr4hWJZGmbPfLamBydU6QK5V4VhUPY4QvMOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641850144; a=rsa-sha256; cv=none; b=W92BNGxzibb757RXQM+ncdcoXYHkAa5189WYkNj0Uw2iv8jru2cVbTNGeTsgxDzEKjCzC5 UF/G+78eJOkhHeSI5l5yGhb9Gz5Ks9hPUWkvS5MJelDH//JJ4/tTRT74YJcG3cCdfKlpEY hbi6D8cE1pvT++V1KzzR63IuN/kg8BsPXUV30DOqJVQJSw1V5cK0lKVzl4hoqBi8lW97DW 4exbMqMA09tYqa0w7wpt/07nCpQXVWg+djPWVTeXBjeVyMax/S0whWpQ8Gby3fWv42Vv/d 7KhrNzt6oIsgGf7y8uw7Tp7M3C8ftnWQO7YE2gS+sJO1FfukLOVwaFyHMzsLNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fqFVnd8x; 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: -4.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fqFVnd8x; 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: 396082CF16 X-Spam-Score: -4.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: Vocd7nflRRoR Hi Denis, Denis 'GNUtoo' Carikli writes: > On Tue, 04 Jan 2022 17:22:02 -0500 > Maxim Cournoyer wrote: > >> Hi Denis, > Hi, > >> Note that you'll want to use the latest commit available of mrustc, or >> something recent enough like this in (gnu packages rust) as it >> includes recent fixes to the (still failing) i686 build: > With ./build-1.39.0.sh in mrustc, some help from #mrustc, and some local > patches, I was able to get it build under 4GiB of RAM per process with > an x86_64 kernel (by removing -O2 and -g), but it fails for 3GiB of RAM > per process (i686 kernel) no mater what options are passed to it. Thank you for doing the experiment and sharing the result! I've relayed it to mrustc's author here: https://github.com/thepowersgang/mrustc/issues/78, I hope you don't mind. > My issue is that claws-mail now depend on rust (it didn't before). As > several other pakcages also fails on i686 (failing tests), and that I > also hit a Guix bug, it's hard for me to fix it as everything is > broken and I need to do workarounds on workarounds. The situation with Rust on Guix is far from satisfactory, and the usage of Rust continues to expand, we'll have to find solutions. GCC-rust seems like a good candidate to help us bootstrap for more platforms, but it isn't ready yet. mrustc is the current best option; cross-building rust could be another thing to do (there's a wip-cross-built-rust branch that I had started to explore doing this), but it's a messier path. > What do I need to revert (locally?) to make claws-mail not depend on > rust (for i686)? I don't see this relationship locally: $ guix graph --path claws-mail rust $ guix describe 5b95cad85018e64f2a34ef950dd2e5434d07cfc0 But looking at the package definition, it explicitly depends on librsvg, which is a Rust-powered library. You could try to make this input conditional (e.g., add it only when the system is x86_64), if claws-mail can be built without it. Thanks, Maxim