Last active
October 10, 2022 00:53
-
-
Save r-value/61aa4658ec1a1c9bb803e768cb003d19 to your computer and use it in GitHub Desktop.
rust 1.64.0 build on Arch Linux RISC-V
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copying stage0 rustc from stage0 (riscv64gc-unknown-linux-gnu -> riscv64gc-unknown-linux-gnu / riscv64gc-unknown-linux-gnu) | |
Assembling stage1 compiler (riscv64gc-unknown-linux-gnu) | |
Building stage1 std artifacts (riscv64gc-unknown-linux-gnu -> riscv64gc-unknown-linux-gnu) | |
Compiling cc v1.0.69 | |
Compiling core v0.0.0 (/build/rust/src/rustc-1.64.0-src/library/core) | |
Compiling libc v0.2.126 | |
Compiling memchr v2.5.0 | |
Compiling std v0.0.0 (/build/rust/src/rustc-1.64.0-src/library/std) | |
Compiling compiler_builtins v0.1.73 | |
Compiling unwind v0.0.0 (/build/rust/src/rustc-1.64.0-src/library/unwind) | |
Compiling profiler_builtins v0.0.0 (/build/rust/src/rustc-1.64.0-src/library/profiler_builtins) | |
thread 'rustc' panicked at 'already borrowed: BorrowMutError', compiler/rustc_arena/src/lib.rs:387:42 | |
stack backtrace: | |
0: 0x3fbc8aa764 - std::backtrace_rs::backtrace::libunwind::trace::h59e68af62f3367cc | |
at /rustc/1.64.0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 | |
1: 0x3fbc8aa764 - std::backtrace_rs::backtrace::trace_unsynchronized::h3fd5e1a617d52327 | |
at /rustc/1.64.0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 | |
2: 0x3fbc8aa764 - std::sys_common::backtrace::_print_fmt::hf0e6b468dc9f2d1f | |
at /rustc/1.64.0/library/std/src/sys_common/backtrace.rs:66:5 | |
3: 0x3fbc8aa764 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h831c29a94e278fcb | |
at /rustc/1.64.0/library/std/src/sys_common/backtrace.rs:45:22 | |
4: 0x3fbc8f3c94 - core::fmt::write::hd40c19d10e02f5f1 | |
at /rustc/1.64.0/library/core/src/fmt/mod.rs:1198:17 | |
5: 0x3fbc89e810 - std::io::Write::write_fmt::h964616b24dc3c323 | |
at /rustc/1.64.0/library/std/src/io/mod.rs:1672:15 | |
6: 0x3fbc8ac9de - std::sys_common::backtrace::_print::hcecd644c72d1b31e | |
at /rustc/1.64.0/library/std/src/sys_common/backtrace.rs:48:5 | |
7: 0x3fbc8ac9de - std::sys_common::backtrace::print::h337373b45acf45a4 | |
at /rustc/1.64.0/library/std/src/sys_common/backtrace.rs:35:9 | |
8: 0x3fbc8ac9de - std::panicking::default_hook::{{closure}}::h1c5de6bd4db8611c | |
at /rustc/1.64.0/library/std/src/panicking.rs:295:22 | |
9: 0x3fbc8ac766 - std::panicking::default_hook::h22c24004e5e077a6 | |
at /rustc/1.64.0/library/std/src/panicking.rs:314:9 | |
10: 0x3fb9526888 - rustc_driver[3b5a9b00cffbdda2]::DEFAULT_HOOK::{closure#0}::{closure#0} | |
11: 0x3fbc8ad61a - std::panicking::rust_panic_with_hook::h8a4f8bcd521525a4 | |
at /rustc/1.64.0/library/std/src/panicking.rs:702:17 | |
12: 0x3fbc8ad428 - std::panicking::begin_panic_handler::{{closure}}::hebbffdb638b5451f | |
at /rustc/1.64.0/library/std/src/panicking.rs:588:13 | |
13: 0x3fbc8aaad4 - std::sys_common::backtrace::__rust_end_short_backtrace::heb8dfb4825567274 | |
at /rustc/1.64.0/library/std/src/sys_common/backtrace.rs:138:18 | |
14: 0x3fbc8ad1f0 - rust_begin_unwind | |
at /rustc/1.64.0/library/std/src/panicking.rs:584:5 | |
15: 0x3fbc87fd60 - core::panicking::panic_fmt::hf488e2ff17b398f6 | |
at /rustc/1.64.0/library/core/src/panicking.rs:142:14 | |
16: 0x3fbc87fe34 - core::result::unwrap_failed::hb74c17d443e385e8 | |
at /rustc/1.64.0/library/core/src/result.rs:1814:5 | |
17: 0x3fb94a1f9e - <rustc_arena[d636766200224d7c]::DroplessArena>::grow | |
18: 0x3fba606c10 - <rustc_middle[993b22a45d6e8d22]::arena::Arena>::alloc_from_iter::<rustc_middle[993b22a45d6e8d22]::dep_graph::dep_node::DepKindStruct, rustc_arena[d636766200224d7c]::IsNotCopy, [rustc_middle[993b22a45d6e8d22]::dep_graph::dep_node::DepKindStruct; 282usize]> | |
19: 0x3fba819f82 - rustc_query_impl[cc889a495b24c279]::query_callbacks | |
20: 0x3fb92e32ea - <core[e0a5b60f968d6f4]::cell::once::OnceCell<_>>::get_or_try_init::outlined_call::<<core[e0a5b60f968d6f4]::cell::once::OnceCell<rustc_middle[993b22a45d6e8d22]::ty::context::GlobalCtxt>>::get_or_init<rustc_interface[f5707607c2a62ae0]::passes::create_global_ctxt::{closure#1}::{closure#0}>::{closure#0}, rustc_middle[993b22a45d6e8d22]::ty::context::GlobalCtxt, !> | |
21: 0x3fb96317fa - <core[e0a5b60f968d6f4]::cell::once::OnceCell<rustc_middle[993b22a45d6e8d22]::ty::context::GlobalCtxt>>::get_or_init::<rustc_interface[f5707607c2a62ae0]::passes::create_global_ctxt::{closure#1}::{closure#0}> | |
22: 0x3fb95a8420 - <rustc_session[1a9683fd9e3b3609]::session::Session>::time::<&rustc_middle[993b22a45d6e8d22]::ty::context::GlobalCtxt, rustc_interface[f5707607c2a62ae0]::passes::create_global_ctxt::{closure#1}> | |
23: 0x3fb95a6f50 - rustc_interface[f5707607c2a62ae0]::passes::create_global_ctxt | |
24: 0x3fb9620f2a - <rustc_interface[f5707607c2a62ae0]::queries::Queries>::global_ctxt | |
25: 0x3fb94c706e - <rustc_interface[f5707607c2a62ae0]::interface::Compiler>::enter::<rustc_driver[3b5a9b00cffbdda2]::run_compiler::{closure#1}::{closure#2}, core[e0a5b60f968d6f4]::result::Result<core[e0a5b60f968d6f4]::option::Option<rustc_interface[f5707607c2a62ae0]::queries::Linker>, rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>> | |
26: 0x3fb94ae9aa - rustc_span[28850c1012382a92]::with_source_map::<core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>, rustc_interface[f5707607c2a62ae0]::interface::create_compiler_and_run<core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>, rustc_driver[3b5a9b00cffbdda2]::run_compiler::{closure#1}>::{closure#1}> | |
27: 0x3fb94c7df4 - <scoped_tls[af90a9864adeb091]::ScopedKey<rustc_span[28850c1012382a92]::SessionGlobals>>::set::<rustc_interface[f5707607c2a62ae0]::interface::run_compiler<core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>, rustc_driver[3b5a9b00cffbdda2]::run_compiler::{closure#1}>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>> | |
28: 0x3fb9512960 - std[51819d692cc99d00]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f5707607c2a62ae0]::util::run_in_thread_pool_with_globals<rustc_interface[f5707607c2a62ae0]::interface::run_compiler<core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>, rustc_driver[3b5a9b00cffbdda2]::run_compiler::{closure#1}>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>> | |
29: 0x3fb94deaf2 - std[51819d692cc99d00]::panicking::try::do_call::<core[e0a5b60f968d6f4]::panic::unwind_safe::AssertUnwindSafe<<std[51819d692cc99d00]::thread::Builder>::spawn_unchecked_<rustc_interface[f5707607c2a62ae0]::util::run_in_thread_pool_with_globals<rustc_interface[f5707607c2a62ae0]::interface::run_compiler<core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>, rustc_driver[3b5a9b00cffbdda2]::run_compiler::{closure#1}>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>> | |
30: 0x3fb94e151e - __rust_try.llvm.7069133175427770161 | |
31: 0x3fb94e5e88 - <<std[51819d692cc99d00]::thread::Builder>::spawn_unchecked_<rustc_interface[f5707607c2a62ae0]::util::run_in_thread_pool_with_globals<rustc_interface[f5707607c2a62ae0]::interface::run_compiler<core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>, rustc_driver[3b5a9b00cffbdda2]::run_compiler::{closure#1}>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>>::{closure#0}, core[e0a5b60f968d6f4]::result::Result<(), rustc_errors[5201bb7f9ecfa55a]::ErrorGuaranteed>>::{closure#1} as core[e0a5b60f968d6f4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} | |
32: 0x3fbc8b5472 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he685b3b3d0cf92ce | |
at /rustc/1.64.0/library/alloc/src/boxed.rs:1935:9 | |
33: 0x3fbc8b5472 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h76f6cf45a565d586 | |
at /rustc/1.64.0/library/alloc/src/boxed.rs:1935:9 | |
34: 0x3fbc8b5472 - std::sys::unix::thread::Thread::new::thread_start::h7dde461c3d105352 | |
at /rustc/1.64.0/library/std/src/sys/unix/thread.rs:108:17 | |
35: 0x3fb8d13672 - <unknown> | |
36: 0x3fb8d61512 - <unknown> | |
37: 0x0 - <unknown> | |
error: internal compiler error: unexpected panic | |
note: the compiler unexpectedly panicked. this is a bug. | |
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md | |
note: rustc 1.64.0 (Arch Linux rust 1:1.64.0-1) running on riscv64gc-unknown-linux-gnu | |
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -Z unstable-options -C symbol-mangling-version=legacy -Z unstable-options -Z unstable-options -Z macro-backtrace -Z unstable-options -C split-debuginfo=off -Z save-analysis -C prefer-dynamic -C embed-bitcode=yes -C force-unwind-tables=yes -Z crate-attr=doc(html_root_url="https://doc.rust-lang.org/1.64.0/") -Z binary-dep-depinfo -Z force-unstable-if-unmarked | |
note: some of the compiler flags provided by cargo are hidden | |
query stack during panic: | |
end of query stack | |
error: could not compile `core` | |
warning: build failed, waiting for other jobs to finish... | |
Build completed unsuccessfully in 3:41:10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changelog-seen = 2 | |
profile = "user" | |
[llvm] | |
link-shared = true | |
[build] | |
target = [ | |
"riscv64gc-unknown-linux-gnu", | |
"riscv64gc-unknown-linux-musl", | |
"wasm32-unknown-unknown", | |
"wasm32-wasi", | |
] | |
cargo = "/usr/bin/cargo" | |
rustc = "/usr/bin/rustc" | |
rustfmt = "/usr/bin/rustfmt" | |
locked-deps = true | |
vendor = true | |
tools = ["cargo", "rls", "clippy", "rustfmt", "analysis", "src", "rust-demangler"] | |
sanitizers = true | |
profiler = true | |
# Generating docs fails with the wasm32-* targets | |
docs = false | |
[install] | |
prefix = "/usr" | |
[rust] | |
debuginfo-level-std = 2 | |
channel = "stable" | |
description = "Arch Linux $pkgbase $epoch:$pkgver-$pkgrel" | |
rpath = false | |
backtrace-on-ice = true | |
remap-debuginfo = true | |
# jemalloc = true | |
# LLVM crashes when passing an object through ThinLTO twice. This is triggered | |
# when using rust code in cross-language LTO if libstd was built using ThinLTO. | |
# http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html | |
# https://github.com/rust-lang/rust/issues/54872 | |
codegen-units-std = 1 | |
# musl target produces warnings | |
deny-warnings = false | |
[dist] | |
compression-formats = ["gz"] | |
[target.riscv64gc-unknown-linux-gnu] | |
cc = "/usr/bin/gcc" | |
cxx = "/usr/bin/g++" | |
ar = "/usr/bin/gcc-ar" | |
ranlib = "/usr/bin/gcc-ranlib" | |
llvm-config = "/usr/bin/llvm-config" | |
[target.riscv64gc-unknown-linux-musl] | |
sanitizers = false | |
musl-root = "/usr/lib/musl" | |
cc = "/usr/bin/musl-gcc" | |
cxx = "/usr/bin/musl-gcc" | |
[target.wasm32-unknown-unknown] | |
sanitizers = false | |
profiler = false | |
[target.wasm32-wasi] | |
sanitizers = false | |
profiler = false | |
wasi-root = "/usr/share/wasi-sysroot" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment