From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qAGjJixFA2O34gAAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 10:58:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YLBzJixFA2NmMQAAauVa8A (envelope-from ) for ; Mon, 22 Aug 2022 10:58:20 +0200 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 32E2DD040 for ; Mon, 22 Aug 2022 10:58:20 +0200 (CEST) Received: from localhost ([::1]:51184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ3GF-0007uq-B6 for larch@yhetil.org; Mon, 22 Aug 2022 04:58:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ3Fy-0007tR-4V for bug-guix@gnu.org; Mon, 22 Aug 2022 04:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ3Fx-0005WV-SJ for bug-guix@gnu.org; Mon, 22 Aug 2022 04:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ3Fx-0004Sh-Mo for bug-guix@gnu.org; Mon, 22 Aug 2022 04:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57303: powerpc64le: rust build failure is bottleneck for many packages Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Aug 2022 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57303 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marcel van der Boom Cc: 57303@debbugs.gnu.org Received: via spool by 57303-submit@debbugs.gnu.org id=B57303.166115863017086 (code B ref 57303); Mon, 22 Aug 2022 08:58:01 +0000 Received: (at 57303) by debbugs.gnu.org; 22 Aug 2022 08:57:10 +0000 Received: from localhost ([127.0.0.1]:37774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3F7-0004RW-Fv for submit@debbugs.gnu.org; Mon, 22 Aug 2022 04:57:09 -0400 Received: from flashner.co.il ([178.62.234.194]:45158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3F5-0004Qt-93 for 57303@debbugs.gnu.org; Mon, 22 Aug 2022 04:57:08 -0400 Received: from localhost (unknown [31.210.177.64]) by flashner.co.il (Postfix) with ESMTPSA id 0F11A4024A; Mon, 22 Aug 2022 08:57:00 +0000 (UTC) Date: Mon, 22 Aug 2022 11:53:30 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Marcel van der Boom , 57303@debbugs.gnu.org References: <875yioxce6.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dNxKHMiVPPbrpczF" Content-Disposition: inline In-Reply-To: <875yioxce6.fsf@van-der-boom.nl> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661158700; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=R6wkZJBmJZJ4wW0fQfnRMNuoTQOlhelv3xkcd3QqOAc=; b=ChVWcfjIMblr6XgaJ7/J+006vGvbtgyPR2jpBWK+XQBz2zfcW0D6SPzyRV0bEgPYtTchDA kSaWT/abSrrloI39VUcj7r711MXjp/KYHPiRMRZMcXN2hSjYJnlfveOA+IHm70dvQMiXGb v0EcqU2uV0PHpLbn8m/W4Njtd3wcEwlgwot0E9T4+Gp87DY/311YoZenneRCJMuFi3AaNV MRFMXoW7CQ/07S3z6Tl+jZfTcAwbAPLJo8wayJNdhM2WbV6ptisKU7ErveTNEdtI8JJAKN dki/kOn/3hA7w3Cv8bTn7Df55xSVglldTc7iv+8Q00Er57eXiuYhalXkE5lXNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661158700; a=rsa-sha256; cv=none; b=HqHLBNFExLUkmSuCj7VjelZO8z2S64n09F7jpn/9zTc6LWOaLNySumyq93LOg+L47Ey+we irLBEI+Nwi4cQANOQE/EttUe8IAc3Uk433hDasMZAJrV4jgLWauRbdroGMFAmf8/qEYFLx IGAHU7IisFnHvE+VvphNWiL69HOkp7fDSbXifZ8LWIYSDmsVH8EjXz1vXFLyDqI/knxLc2 UWRzzyL5BVSAXb/ZYIzxDvleBJa5Qtf/J8hz4yFBEwhO5YlxIz443Pm/FZo03MB63XPJXx /7mcqmB3dZX9Dr3JQiU+y70PE3LuRs4o+eBPbVy3eu6ZOpwJ9OtUzjlkYtW9ZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 32E2DD040 X-Spam-Score: -4.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: eCNgvW4qwr0d --dNxKHMiVPPbrpczF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 19, 2022 at 08:56:10PM +0200, Marcel van der Boom wrote: >=20 > I use a Talos II machine as my daily driver and slowly migrating as many > packages to GUIX along the way. The kernel I am running comes fromm > https://archlinuxpower.org/ >=20 >=20 > For many packages, rust is getting to be the bottleneck as a dependency t= hat > does not build. >=20 > From what I can see there's a whole chain of rust dependencies going back= to > rust@1.39.0 which then ultimately fails with: >=20 >=20 > --8<---------------cut here---------------start------------->8--- > (16/112) BUILDING bitflags v1.1.0 > > /tmp/guix-build-rust-1.39.0.drv-0/mrustc/bin/mrustc > > rustc-1.39.0-src/vendor/bitflags/src/lib.rs -o > > output/rustc-build/libbitflags-1_1_0.rlib --crate-name bitflags > > --crate-type rlib -C > > emit-depfile=3Doutput/rustc-build/libbitflags-1_1_0.rlib.d --crate-tag > > 1_1_0 -g --cfg debug_assertions -O -L output -L output/rustc-build --cfg > > bitflags_const_fn > (17/112) BUILDING cc v1.0.35 > > /tmp/guix-build-rust-1.39.0.drv-0/mrustc/bin/mrustc > > rustc-1.39.0-src/vendor/cc/src/lib.rs -o > > output/rustc-build/libcc-1_0_35.rlib --crate-name cc --crate-type rlib > > -C emit-depfile=3Doutput/rustc-build/libcc-1_0_35.rlib.d --crate-tag > > 1_0_35 -g --cfg debug_assertions -O -L output -L output/rustc-build > > /tmp/guix-build-rust-1.39.0.drv-0/mrustc/bin/mrustc > > rustc-1.39.0-src/src/librustc_llvm/build.rs --crate-name build > > --crate-type bin -o output/rustc-build/build_rustc_llvm_run -L > > output/rustc-build -g -L output --extern > > build_helper=3Doutput/rustc-build/libbuild_helper-0_1_0.rlib --extern > > cc=3Doutput/rustc-build/libcc-1_0_35.rlib --edition 2018 > > /tmp/guix-build-rust-1.39.0.drv-0/mrustc/output/rustc-build/build_rustc= _llvm_run > thread 'main' panicked at 'assertion failed: `(left =3D=3D right)` > left: `1`, > right: `0`', rustc-1.39.0-src/vendor/hashbrown/src/raw/mod.rs:1086:59 > Process was terminated with signal 6 > --8<---------------cut here---------------end--------------->8--- >=20 >=20 > The line in =3Dmod.rs=3D points to an assertion in some sort of table ite= rator. > Way over my head. >=20 > I know rust runs on powerpc64le because I have a binary version 1.62 > installed through https://archlinuxpower.org/ >=20 >=20 > Is anyone familiar with this working on rust on powerpc64 for the > powerpc64le-linux system? About 2 months ago I spent some time and got the rust bootstrap working for riscv64-linux. I would suggest looking at the staging branch since there the rust bootstrap version is at 1.54. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --dNxKHMiVPPbrpczF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmMDRAYACgkQQarn3Mo9 g1EFjg//XfJwp51WEmqzPK69SYIg1FcQvjM0i3mW04twBe8ZqYI04ZIGLUHloFj0 mpE2rroEl/QV0M18ZvF3vZiHZ3fZdvqVLrOY31gS6yUceRZm8h0PsBHMT2ykRIrz t8g8jOMaD8Ms644RpeoqoQBq94uuvMppsJaZvg4ModOd7EVDNFOSelfSeXqm4Ed2 yBopZL/qv2u3Shw6X2QFzuu65cMLV1RoGJiPOvBsp8rr2PckTOCZx6FuZYnLCGYF mZPnGuPeYNdB9DpP6z8OA8KrRm/ceHRa+GUMArx4m0AwFoFKBdcqcKAfphUADBGv 82TxrE0N2XX7LkuPNFtZ3Ymm0zpd0yH3zV6rdgHQYivgK/IlN3weZw/ATimMPVpl tPGBbFHDYLgbvmkwr0jQsdA5cBfOuvlQ7COWf32wLA8+j018oAYQF2zy1mF1v8QW odsavpd2q6ltJX96ao0bbHu4yIwIqXItvVI04/WCWZthdWFnL+LZGR6WjUzmpLxl m3JVdSjUoANoVQ7QOIDjlxh//yVGjE5Vl01wB5YJYgQH07r9m7h9dQcQOx2IWetd B5ad43M2jTRR6kGggXBDEE3rP0eKMH5QJyt7RtjnhONpJgLtY6SsK68+ewMtMU0i xF6Nrj+4t1jLYvAVHya4LnOCEmP1qF+8OJGsnTKebxaVzLqjivE= =res8 -----END PGP SIGNATURE----- --dNxKHMiVPPbrpczF--