From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oEr3LA9FpmG2OwEAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 16:36:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EH63KA9FpmGXDwAAB5/wlQ (envelope-from ) for ; Tue, 30 Nov 2021 15:36: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 57E25164D7 for ; Tue, 30 Nov 2021 16:36:47 +0100 (CET) Received: from localhost ([::1]:53550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms5BW-0005dE-HF for larch@yhetil.org; Tue, 30 Nov 2021 10:36:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms5BK-0005ZA-C8 for guix-devel@gnu.org; Tue, 30 Nov 2021 10:36:34 -0500 Received: from [2607:f8b0:4864:20::f30] (port=41915 helo=mail-qv1-xf30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms5BI-0003jt-IN; Tue, 30 Nov 2021 10:36:34 -0500 Received: by mail-qv1-xf30.google.com with SMTP id m17so18324532qvx.8; Tue, 30 Nov 2021 07:36:31 -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=EaARNoPkIjTuAxyqp2m/5hDucR4qp4E7aq9DffSfYxk=; b=kN+Lvl/CgjfoUjSBo6lcQQ0pG3bMFegfWnY9D7+HpewmitcU3gb3OjafVhJTjJzgU+ wy+27KNUXdb2i3TM+8rI3wqWVF4izUBOJbbqGqe6oOtBV2WtnQVrjADz6rIyDWUI5nJN 7tHamQmUFbpCQ+5lChF48Ci4tP7VVaatdzG9b2vca32A9oXl5yDy5GUhwPvVUv2GoqVT NaWbLg9WF9iTc26NcaZ9rf4uW0gWZwb5tLCTsrpKQJogTB5CyAMXr04/fwG/yz/8l8o2 ZzLfcX2bz4/ax6q6BrqXzaKqFelw0fk7l8aMXzXyIIzB8bZrwYPIUlmla7GlymdxrYDZ /4EA== 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=EaARNoPkIjTuAxyqp2m/5hDucR4qp4E7aq9DffSfYxk=; b=ZsqmYdrTJWofu7rJHHVt8CA94LkvRzpQpOb4+ejdZ85VrB8DChqsWfj80EgeLBX9hn OfZQf3wQzfKHZ+4IvyI+LD5Qd2xxW4w29zj3hSOfaSqYo7rEvtGhj39uGM+9Ta6dV1dx srn9t9MU6zYHB3GZ3bHsM/hYgssPo6uQX6UeuZrI/G6svjUQ7KMpPStzJeeomW82X5K9 0gzKGBFtDGPKUpnjjXL5frKWeIbm08fNAKspXCKSWbD2O9m2bUnoYSAHToPElV5jAzdc 5Y6qDDB4SkIUVP5A/mPyJrhw7HXI7jmRg9QPtl+EVG+dfX7dDN+OTD0Roq6/ckD8mxS8 Y8Jg== X-Gm-Message-State: AOAM5310FPOuZl1or8ShVrKpCmFhhdiXkWT+jPXR0bNjftlYP2cpZFj+ 3oxDNPLa543po1A3cyBjpbbnZbbfjj/SYQ== X-Google-Smtp-Source: ABdhPJzLKiDzg2Dz+XvzEtb0cibVzyNCsfPs3E19hQFAQa1uuG1BEufCc52ijXZ5ha00YqzU5S0Feg== X-Received: by 2002:a0c:e84b:: with SMTP id l11mr49147980qvo.25.1638286590165; Tue, 30 Nov 2021 07:36:30 -0800 (PST) Received: from hurd (dsl-10-146-213.b2b2c.ca. [72.10.146.213]) by smtp.gmail.com with ESMTPSA id j14sm1339465qkp.28.2021.11.30.07.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 07:36:29 -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> <87lf196jrg.fsf@gmail.com> <874k7w9nm9.fsf@gnu.org> <87k0gsnnvy.fsf@elephly.net> Date: Tue, 30 Nov 2021 10:36:28 -0500 In-Reply-To: <87k0gsnnvy.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 28 Nov 2021 19:15:47 +0100") Message-ID: <87wnkphczn.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::f30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf30.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=1638286607; 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=EaARNoPkIjTuAxyqp2m/5hDucR4qp4E7aq9DffSfYxk=; b=bya8yx7zydSGeg/L7vIE36dGcp5fwU8OU06qUHFmSS232sKnQ1CGaTsVPMobvYpd7bF+wG 2wjpjrqdATT2bv0k+0a9c8va1DxsuiaEbC57ds2gYfzE+bDvlxdSKX2xI/7wWKBaz4/5yt RJkszzRKY7Ebg3d1WqD1ndtjwd4UEIUQI9waM6ZJ9HXp0kyAiGAAiJZBuQppt/0PmU7eAg qNrud56PXjMzR66+sIRKFGzPvwkV/mwB36PrirTWg4jG0vWOjS7SYDB9kNdhpRDRuJdpzL POLybglux62w7nE0uWInvSjvVboAS/Cy1yv5fGjI9LcqWyjLePtJGIpvPG348A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638286607; a=rsa-sha256; cv=none; b=Ry/Dj1s/vohW07JphFjPc6KMlKxd2caiHQY1+c79xzGIO0MUrYaDrgMah5V8qPtX/nwR+n 6Nc7ncNVLXSL/B0lu1FUdjT7KBm0OAudiku7pdPNqNuP+MqhPJqAIlQLghoWWjsZi3q3Ns SEpICSiGqks+SU/7Nh/Djo7Dgfh/9hzPOkUwkeDGKN6oc3TxDfN+3ttPzW/CdW7oV/5nmu 4ld2fIgMcyNSCfW6two7XaViVIgEyZ3gDpw399F5YiaDnCcnjKcshOwqNvPAborJLPg3kq bQ3tlA2Ii0Hk1S9l5hcTzN2ve+0f5g3jLzDbBFjMo3vrLxD4ej7ZOVIWQwKceQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="kN+Lvl/C"; 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.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="kN+Lvl/C"; 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: 57E25164D7 X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8tNkls38zutR Hello, Ricardo Wurmus writes: > Ludovic Court=C3=A8s writes: > >> We could try that, but IMO we first need a solution within days=E2=80=94= we >> just >> cannot reasonably let this branch go on for longer than that. The >> librsvg 2.40 hack would give us Xfce (maybe GNOME?) on i686 today. >> >> Perhaps we can address all this in several steps: >> >> 1. apply the librsvg 2.40 hack now so we can merge >> =E2=80=98core-updates-frozen=E2=80=99 this week for real; >> >> 2. later on, introduce some Rust binary for non-x86_64; that >> would >> lead to rebuilds only on those architectures; >> >> 3. eventually, update mrustc (and have it call gcc with -O0 to >> reduce >> its memory footprint), or use GCC-Rust instead of that=E2=80=99s >> viable. >> >> WDYT? > > This sounds sensible. Merging core-updates-frozen does *not* mean > that it needs to be ready for release. It=E2=80=99s been delayed for too= =20 > long and further delays just serve to taint our morale and drain our > energy, applying fixes again and again with no end in sight. > > These ongoing delays have made core-updates-frozen grow so much in > scope that we cannot afford to delay a merge any longer. Let=E2=80=99s=20 > merge asap, even if that means using an older librsvg right now. Then > add rust for non-x86_64 =E2=80=94 either by cross-building it ourselves or > getting an existing binary to restore feature parity. Then work on a > long-term solution. I hear your frustration w.r.t to delays; I don't mind if this stopgap solution is implemented *now*, but I'm skeptical that it'd allow GNOME to built. I've been experimenting with a cross-compiled rustc; it's building, but there are some things to fix (the ld-wrapper used to wrap rustc so far is the native one, which is incorrect I believe, and cargo doesn't find the correct libz, libssh2). The branch is wip-cross-built-rust on our Savannah repo. I 'guix pack'd rust-i686-linux and tried it on a 32-bit Debian VM: For rustc: --8<---------------cut here---------------start------------->8--- $ file /gnu/store/6fkn8fc0m642xlnbblv3026cpp4i2411-profile/bin/rustc /gnu/store/6fkn8fc0m642xlnbblv3026cpp4i2411-profile/bin/rustc: symbolic lin= k to /gnu/store/50fsf4g5xb51qa9jg7xhaaxcwh7h5v2w-rust-i686-linux-1.54.0/bin= /rustc $ file /gnu/store/50fsf4g5xb51qa9jg7xhaaxcwh7h5v2w-rust-i686-linux-1.54.0/= bin/.rustc-real /gnu/store/50fsf4g5xb51qa9jg7xhaaxcwh7h5v2w-rust-i686-linux-1.54.0/bin/.rus= tc-real: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glibc-cross-i686-linux-gnu-2.33= /lib/ld-linux.so.2, for GNU/Linux 2.6.32, stripped $ /gnu/store/6fkn8fc0m642xlnbblv3026cpp4i2411-profile/bin/rustc --version rustc 1.54.0 --8<---------------cut here---------------end--------------->8--- For cargo: --8<---------------cut here---------------start------------->8--- $ file /gnu/store/6fkn8fc0m642xlnbblv3026cpp4i2411-profile/bin/cargo /gnu/store/6fkn8fc0m642xlnbblv3026cpp4i2411-profile/bin/cargo: symbolic lin= k to /gnu/store/vhfdxbxla54n56qggv975c39vyaa0z91-rust-i686-linux-1.54.0-car= go/bin/cargo $ file /gnu/store/vhfdxbxla54n56qggv975c39vyaa0z91-rust-i686-linux-1.54.0-c= argo/bin/cargo /gnu/store/vhfdxbxla54n56qggv975c39vyaa0z91-rust-i686-linux-1.54.0-cargo/bi= n/cargo: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynam= ically linked, interpreter /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glib= c-cross-i686-linux-gnu-2.33/lib/ld-linux.so.2, for GNU/Linux 2.6.32, stripp= ed $ /gnu/store/vhfdxbxla54n56qggv975c39vyaa0z91-rust-i686-linux-1.54.0-cargo/= bin/cargo --version /gnu/store/vhfdxbxla54n56qggv975c39vyaa0z91-rust-i686-linux-1.54.0-cargo/bi= n/cargo: error while loading shared libraries: libz.so: wrong ELF class: ELFCLASS64 $ ldd /gnu/store/vhfdxbxla54n56qggv975c39vyaa0z91-rust-i686-linux-1.54.0-ca= rgo/bin/cargo=20 linux-gate.so.1 (0xb7f22000) libz.so =3D> not found libcurl.so.4 =3D> not found libssl.so.1.1 =3D> /lib/i386-linux-gnu/libssl.so.1.1 (0xb71ae000) libcrypto.so.1.1 =3D> /lib/i386-linux-gnu/libcrypto.so.1.1 (0xb6eeb000) libgcc_s.so.1 =3D> /gnu/store/x5y2ngh1asiv3dkcbzaga9ml56xcm3ps-gcc-cross-i= 686-linux-gnu-10.3.0-lib/lib/gcc/i686-linux-gnu/10.3.0/../../../../i686-lin= ux-gnu/lib/libgcc_s.so.1 (0xb6ecb000) libpthread.so.0 =3D> /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glibc-cro= ss-i686-linux-gnu-2.33/lib/libpthread.so.0 (0xb6eaa000) libm.so.6 =3D> /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glibc-cross-i68= 6-linux-gnu-2.33/lib/libm.so.6 (0xb6da8000) libdl.so.2 =3D> /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glibc-cross-i6= 86-linux-gnu-2.33/lib/libdl.so.2 (0xb6da0000) libc.so.6 =3D> /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glibc-cross-i68= 6-linux-gnu-2.33/lib/libc.so.6 (0xb6bb0000) /gnu/store/miwzifnpn3lgzd6kvkcmz1i0hx7vvdfm-glibc-cross-i686-linux-gnu-2.3= 3/lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0xb7f24000) --8<---------------cut here---------------end--------------->8--- To be continued... Maxim