From unknown Sun Jun 22 00:59:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57303: powerpc64le: rust build failure is bottleneck for many packages Resent-From: Marcel van der Boom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Aug 2022 19:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57303 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57303@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16609372415168 (code B ref -1); Fri, 19 Aug 2022 19:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2022 19:27:21 +0000 Received: from localhost ([127.0.0.1]:59295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP7eL-0001LH-Ec for submit@debbugs.gnu.org; Fri, 19 Aug 2022 15:27:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:38464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP7eH-0001L8-Na for submit@debbugs.gnu.org; Fri, 19 Aug 2022 15:27:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP7eF-0000nX-I8 for bug-guix@gnu.org; Fri, 19 Aug 2022 15:27:15 -0400 Received: from read.hsdev.com ([2001:19f0:5001:2902:5400:1ff:feeb:c9ab]:42878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP7eC-0006Y1-3O for bug-guix@gnu.org; Fri, 19 Aug 2022 15:27:15 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id D309520DC9 for ; Fri, 19 Aug 2022 21:26:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=van-der-boom.nl; s=202103; t=1660937217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=sbp9kWvMuDPUegb/fsFxUfpvntxy/LMxvTZSsnDczbo=; b=vENJyjgYOndT1TdUR3p8UIzqc5eXqudHct1So7p+fP9B9of2Xe6VcXHxJinukjM+z54Hwx Cxe8kZZiYCgPSEDKbOF2Dlc9aSJZMEunaf1En37JKQIV/zYsWn7Ymu19bhZcFOpF/C0kcB H8oXBiPAmOnrBrINjnY8YhWqU7CMjo8= Received: from changeme.hsdev.com (localhost [127.0.0.1]) by hsdev.com (Postfix) with ESMTP id 7E6D236A2A01 for ; Fri, 19 Aug 2022 21:26:57 +0200 (CEST) User-agent: mu4e 1.8.9; emacs 29.0.50 From: Marcel van der Boom Date: Fri, 19 Aug 2022 20:56:10 +0200 Message-ID: <875yioxce6.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.00 Received-SPF: pass client-ip=2001:19f0:5001:2902:5400:1ff:feeb:c9ab; envelope-from=marcel@van-der-boom.nl; helo=read.hsdev.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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/ For many packages, rust is getting to be the bottleneck as a dependency that does not build. >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: --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=output/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=output/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=output/rustc-build/libbuild_helper-0_1_0.rlib > --extern cc=output/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 == 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--- The line in =mod.rs= points to an assertion in some sort of table iterator. Way over my head. I know rust runs on powerpc64le because I have a binary version 1.62 installed through https://archlinuxpower.org/ Is anyone familiar with this working on rust on powerpc64 for the powerpc64le-linux system? From unknown Sun Jun 22 00:59:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marcel van der Boom Subject: bug#57303: closed (Re: bug#57303: powerpc64le: rust build failure is bottleneck for many packages) Message-ID: References: <87tu68hu28.fsf@gmail.com> <875yioxce6.fsf@van-der-boom.nl> X-Gnu-PR-Message: they-closed 57303 X-Gnu-PR-Package: guix Reply-To: 57303@debbugs.gnu.org Date: Fri, 19 Aug 2022 20:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1660939982-9609-1" This is a multi-part message in MIME format... ------------=_1660939982-9609-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57303: powerpc64le: rust build failure is bottleneck for many packages which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57303@debbugs.gnu.org. --=20 57303: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57303 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1660939982-9609-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57303-done) by debbugs.gnu.org; 19 Aug 2022 20:12:15 +0000 Received: from localhost ([127.0.0.1]:59320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP8Lj-0002Ts-HV for submit@debbugs.gnu.org; Fri, 19 Aug 2022 16:12:14 -0400 Received: from mail-qv1-f50.google.com ([209.85.219.50]:44728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP8Lf-0002TX-Hy for 57303-done@debbugs.gnu.org; Fri, 19 Aug 2022 16:12:10 -0400 Received: by mail-qv1-f50.google.com with SMTP id c5so3713068qvt.11 for <57303-done@debbugs.gnu.org>; Fri, 19 Aug 2022 13:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=RNAVBZaAsiMDIZxnd3In/zuzkcu72d+zh8sZLouMgM4=; b=jC1xi9u5LdGo47qQ1cmczLWR+TvZfpH3cz/yicR8CrnPaXOU1mj+z+MVOOHsUrBGPA UYfQK1D3EYbHOBDsfey5a3TdP9Abh6xZfL3T422Lw/SKetiHLuCkZe0aMJI48T6+74Vs sYhuSMfDofrpzsD06SbHvCZLceklmlvW+qfuAx7DxTvEyzwnh/zNyqKc2oZi0PwuocZd +3Qgt8H5ZsHWoAk2imXyyBHwHJ9pGIq15xXyim0BbyAzQwCISKzwzyEgzJB9xrjkL9Y9 POxDo5JYu4lHdFITdv0nQd7Q9C391IoDkpW2BQgJXnw5+RalvCjUOHFbaYZLZHwD2lWP PetA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=RNAVBZaAsiMDIZxnd3In/zuzkcu72d+zh8sZLouMgM4=; b=oC2FjeJUBJzc54sTmRtCaBLvSjjLEduhxtxnValwQbZeZ7eFAImOTyuOftztPA4k3R cG+gYZLLPgNPNj34s0gJoVCTcBpePwiPLNvLXLHHZ7U3mcUPawbyS2rP/2ZonPTqfpO4 We+rQDx3jvW49+UPcEnAHpNPrX2NE78BGI6835Zv3NeV3jzyhcC3LEug905hfA7mlFMC is6Uoylz5iLX1y6dZZbFxoEqP2ffVxmEkxp6limhwsTd30cppk+CcUMiFmrwhHVxj/pv ULt3OKeKtWZxwiENHpRRbn+o4Dn4KbcttQodURnQN0BZiHa+xTzt5jk1lvttOLYEtrJ/ +VlA== X-Gm-Message-State: ACgBeo3ailyMVYDo0I6b9Em00HiGL60X7F1H+cMYwthBLSNHDnXX8E81 lbcb1rYQiPeI4ahzNZzP+KwuxhEZDrM= X-Google-Smtp-Source: AA6agR6L0FW5gmIpzOmcmINN86I8eS06eseaQzHdIx8GtW1CGA/Y7edM5LFLv/rsL2iyhpvOiBoXeg== X-Received: by 2002:a05:6214:27e4:b0:476:f199:40c with SMTP id jt4-20020a05621427e400b00476f199040cmr7781365qvb.118.1660939921538; Fri, 19 Aug 2022 13:12:01 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1004]) by smtp.gmail.com with ESMTPSA id m9-20020a05620a24c900b006af0ce13499sm4810343qkn.115.2022.08.19.13.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 13:12:01 -0700 (PDT) From: Maxim Cournoyer To: Marcel van der Boom Subject: Re: bug#57303: powerpc64le: rust build failure is bottleneck for many packages References: <875yioxce6.fsf@van-der-boom.nl> Date: Fri, 19 Aug 2022 16:11:59 -0400 In-Reply-To: <875yioxce6.fsf@van-der-boom.nl> (Marcel van der Boom's message of "Fri, 19 Aug 2022 20:56:10 +0200") Message-ID: <87tu68hu28.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57303-done Cc: 57303-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 57303 +notabug thanks Hi! Marcel van der Boom writes: > 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/ Cool! > For many packages, rust is getting to be the bottleneck as a > dependency that does not build. > >>>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: > > (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=output/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=output/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=output/rustc-build/libbuild_helper-0_1_0.rlib >> --extern cc=output/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 == right)` > left: `1`, > right: `0`', > rustc-1.39.0-src/vendor/hashbrown/src/raw/mod.rs:1086:59 > Process was terminated with signal 6 > > > The line in =mod.rs= points to an assertion in some sort of table > iterator. Way over my head. Working only on x86_64 is a limitation of mrustc, which is used to bootstrap rust cleanly from sources on Guix. > I know rust runs on powerpc64le because I have a binary version > 1.62 installed through https://archlinuxpower.org/ Yes, Rust itself is not the problem, but its bootstrap. I'd suggest lending a hand to mrustc to iron out issues like this or request to Rust upstream support for bootstrapping for sources. Investigating future alternatives such as GCC Rust or other similar efforts could be useful for the time they are ripe to use, too. Closing, as there's not much we can do on Guix's side. Thanks, Maxim ------------=_1660939982-9609-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Aug 2022 19:27:21 +0000 Received: from localhost ([127.0.0.1]:59295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP7eL-0001LH-Ec for submit@debbugs.gnu.org; Fri, 19 Aug 2022 15:27:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:38464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP7eH-0001L8-Na for submit@debbugs.gnu.org; Fri, 19 Aug 2022 15:27:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP7eF-0000nX-I8 for bug-guix@gnu.org; Fri, 19 Aug 2022 15:27:15 -0400 Received: from read.hsdev.com ([2001:19f0:5001:2902:5400:1ff:feeb:c9ab]:42878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP7eC-0006Y1-3O for bug-guix@gnu.org; Fri, 19 Aug 2022 15:27:15 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id D309520DC9 for ; Fri, 19 Aug 2022 21:26:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=van-der-boom.nl; s=202103; t=1660937217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=sbp9kWvMuDPUegb/fsFxUfpvntxy/LMxvTZSsnDczbo=; b=vENJyjgYOndT1TdUR3p8UIzqc5eXqudHct1So7p+fP9B9of2Xe6VcXHxJinukjM+z54Hwx Cxe8kZZiYCgPSEDKbOF2Dlc9aSJZMEunaf1En37JKQIV/zYsWn7Ymu19bhZcFOpF/C0kcB H8oXBiPAmOnrBrINjnY8YhWqU7CMjo8= Received: from changeme.hsdev.com (localhost [127.0.0.1]) by hsdev.com (Postfix) with ESMTP id 7E6D236A2A01 for ; Fri, 19 Aug 2022 21:26:57 +0200 (CEST) User-agent: mu4e 1.8.9; emacs 29.0.50 From: Marcel van der Boom To: bug-guix@gnu.org Subject: powerpc64le: rust build failure is bottleneck for many packages Date: Fri, 19 Aug 2022 20:56:10 +0200 Message-ID: <875yioxce6.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.00 Received-SPF: pass client-ip=2001:19f0:5001:2902:5400:1ff:feeb:c9ab; envelope-from=marcel@van-der-boom.nl; helo=read.hsdev.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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/ For many packages, rust is getting to be the bottleneck as a dependency that does not build. >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: --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=output/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=output/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=output/rustc-build/libbuild_helper-0_1_0.rlib > --extern cc=output/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 == 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--- The line in =mod.rs= points to an assertion in some sort of table iterator. Way over my head. I know rust runs on powerpc64le because I have a binary version 1.62 installed through https://archlinuxpower.org/ Is anyone familiar with this working on rust on powerpc64 for the powerpc64le-linux system? ------------=_1660939982-9609-1-- From unknown Sun Jun 22 00:59:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57303: powerpc64le: rust build failure is bottleneck for many packages References: <875yioxce6.fsf@van-der-boom.nl> In-Reply-To: <875yioxce6.fsf@van-der-boom.nl> Resent-From: Marcel van der Boom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Aug 2022 08:08:02 +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: 57303@debbugs.gnu.org Received: via spool by 57303-submit@debbugs.gnu.org id=B57303.166098285130578 (code B ref 57303); Sat, 20 Aug 2022 08:08:02 +0000 Received: (at 57303) by debbugs.gnu.org; 20 Aug 2022 08:07:31 +0000 Received: from localhost ([127.0.0.1]:59543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPJVz-0007x7-6B for submit@debbugs.gnu.org; Sat, 20 Aug 2022 04:07:31 -0400 Received: from read.hsdev.com ([209.250.245.235]:37172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPJVw-0007ws-6l for 57303@debbugs.gnu.org; Sat, 20 Aug 2022 04:07:29 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id 7694920DC9 for <57303@debbugs.gnu.org>; Sat, 20 Aug 2022 10:07:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=van-der-boom.nl; s=202103; t=1660982841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=K0ikiVStLWrAnU70wG77TBIkUjOSwM2u/75Wkd9A6bw=; b=Th9tVU/dbHm133KwcsrznrdNL58P5DMwd/ymhuYluJn/pyJwWZVJ77p3rjPMgpDk68vG3e NZCDy5WB9txHF+OTypW2iAVgYRHGwhdOh2Zw2Ai9XJ+31M4DL81pSDy6DGnZ9MADGni03u WRii7/UOBpDPsePKZkCBu5UHqZQ7SOQ= Received: from changeme.hsdev.com (localhost [127.0.0.1]) by hsdev.com (Postfix) with ESMTP id 4411D36A2B42 for <57303@debbugs.gnu.org>; Sat, 20 Aug 2022 10:07:21 +0200 (CEST) User-agent: mu4e 1.8.9; emacs 29.0.50 From: Marcel van der Boom Date: Sat, 20 Aug 2022 10:06:36 +0200 Message-ID: <87ilmn1gp2.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.00 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) For reference: this is the mrustc bug that needs resolving https://github.com/thepowersgang/mrustc/issues/194 From unknown Sun Jun 22 00:59:27 2025 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From unknown Sun Jun 22 00:59:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57303: powerpc64le: rust build failure is bottleneck for many packages Resent-From: Marcel van der Boom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Aug 2022 09:09:02 +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: Efraim Flashner Cc: 57303@debbugs.gnu.org Received: via spool by 57303-submit@debbugs.gnu.org id=B57303.166115930918304 (code B ref 57303); Mon, 22 Aug 2022 09:09:02 +0000 Received: (at 57303) by debbugs.gnu.org; 22 Aug 2022 09:08:29 +0000 Received: from localhost ([127.0.0.1]:37801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3Q4-0004lA-Or for submit@debbugs.gnu.org; Mon, 22 Aug 2022 05:08:28 -0400 Received: from read.hsdev.com ([209.250.245.235]:52530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3Pz-0004kq-Eo for 57303@debbugs.gnu.org; Mon, 22 Aug 2022 05:08:27 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id F2F932134C; Mon, 22 Aug 2022 11:08:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=van-der-boom.nl; s=202103; t=1661159297; h=from:from: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; bh=4h1/TrKpbL8P2giVhsSuaYjx4ZRw9P25fDaxlULSbxA=; b=f7c7r6Kt+RZ6foBc2QaAeJ1Yy/svFCXF9egfYqMLpp4moQPNv02pucdzGZaKfLPW/cRDyC 7vFKThnIDrQNcIY+OWvdVA+WjZVneYSxDHMlkey5zj/R4aP8vYYSEKff6uH4uNeYQdxXie 7u98BISP70h2PY0f81iI/NXK1Jh7OIo= Received: from changeme.hsdev.com (localhost [127.0.0.1]) by hsdev.com (Postfix) with ESMTP id BC3A936A02BC; Mon, 22 Aug 2022 11:08:16 +0200 (CEST) References: <875yioxce6.fsf@van-der-boom.nl> User-agent: mu4e 1.9.0; emacs 29.0.50 From: Marcel van der Boom Date: Mon, 22 Aug 2022 11:06:25 +0200 In-reply-to: Message-ID: <87fsholk73.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 1.44 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [Efraim Flashner]: >> 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. Ah, I didn't even think of that, thanks! Will try that. From unknown Sun Jun 22 00:59:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57303: powerpc64le: rust build failure is bottleneck for many packages Resent-From: Marcel van der Boom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 Aug 2022 09:40:02 +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: Efraim Flashner Cc: 57303@debbugs.gnu.org Received: via spool by 57303-submit@debbugs.gnu.org id=B57303.166124757110469 (code B ref 57303); Tue, 23 Aug 2022 09:40:02 +0000 Received: (at 57303) by debbugs.gnu.org; 23 Aug 2022 09:39:31 +0000 Received: from localhost ([127.0.0.1]:42604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQQNf-0002in-6x for submit@debbugs.gnu.org; Tue, 23 Aug 2022 05:39:31 -0400 Received: from read.hsdev.com ([209.250.245.235]:35984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQQNc-0002iY-Sp for 57303@debbugs.gnu.org; Tue, 23 Aug 2022 05:39:30 -0400 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id 9B30F20E6A; Tue, 23 Aug 2022 11:39:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=van-der-boom.nl; s=202103; t=1661247562; h=from:from: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; bh=+WFZqCyxTo0HdHp6jUZ/e6Eucm36zot5QsRLzogxSc0=; b=mRpmlifLU04DJoKUc51/i2wRvKEihAyvwIKQ9NRvaafKqoP8WnBXr+GSmDBM1tAZLiwWZl Zy8rOopCKiXwR7Got/zQ2MoigVk8f3+zW63NIS29HpKD33MfV6tLtM1TGIi0zuJmpzh5vH f/2tRqtCYdnhth8CaIlfCiGGpvqa5No= Received: from changeme.hsdev.com (localhost [127.0.0.1]) by hsdev.com (Postfix) with ESMTP id 5698036A0212; Tue, 23 Aug 2022 11:39:22 +0200 (CEST) References: <875yioxce6.fsf@van-der-boom.nl> <87fsholk73.fsf@van-der-boom.nl> User-agent: mu4e 1.9.0; emacs 29.0.50 From: Marcel van der Boom Date: Tue, 23 Aug 2022 11:38:34 +0200 In-reply-to: <87fsholk73.fsf@van-der-boom.nl> Message-ID: <87ilmj5met.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 2.04 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [Marcel van der Boom]: > [Efraim Flashner]: >> 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. > Ah, I didn't even think of that, thanks! Will try that. Unfortunately, it fails with the exact same error