Created attachment 219811 [details] excerpt from poudriere run on 13.0-CURRENT aarch64
Created attachment 219812 [details] excerpt from poudriere run on 13.0-CURRENT aarch64 for 12.2-RELEASE aarch64 jail additional log from 12.2R failure (same poudriere config, just different jail)
*** Bug 251337 has been marked as a duplicate of this bug. ***
still failing on rust 1.48: sysroot: "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-sysroot" libdir: "/tmp/usr/ports/lang/rust/work/bootstrap/lib" rustc command: "LD_LIBRARY_PATH"="/tmp/usr/ports/lang/rust/work/bootstrap/lib:/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/release/deps:/tmp/usr/ports/lang/rust/work/bootstrap/lib" "/tmp/usr/ports/lang/rust/work/bootstrap/bin/rustc" "--crate-name" "rustc_demangle" "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/vendor/rustc-demangle/src/lib.rs" "--error-format=json" "--json=diagnostic-rendered-ansi" "--crate-type" "lib" "--emit=dep-info,metadata,link" "-C" "opt-level=3" "-C" "embed-bitcode=no" "-C" "debuginfo=0" "--cfg" "feature=\"compiler_builtins\"" "--cfg" "feature=\"core\"" "--cfg" "feature=\"rustc-dep-of-std\"" "-C" "metadata=896f26396713e7ec" "-C" "extra-filename=-896f26396713e7ec" "--out-dir" "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps" "--target" "aarch64-unknown-freebsd" "-C" "linker=cc" "-L" "dependency=/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps" "-L" "dependency=/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/release/deps" "--extern" "compiler_builtins=/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps/libcompiler_builtins-76fb8f931de56102.rmeta" "--extern" "core=/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps/librustc_std_workspace_core-b94c7363f7b078b7.rmeta" "--cap-lints" "allow" "--cfg=bootstrap" "-Zmacro-backtrace" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Cprefer-dynamic" "-Z" "binary-dep-depinfo" "-L" "native=/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/build/compiler_builtins-b0e5c52ecb481b3a/out" "-Wrust_2018_idioms" "-Wunused_lifetimes" "-Dwarnings" "--sysroot" "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-sysroot" "-Z" "force-unstable-if-unmarked" sysroot: "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/aarch64-unknown-freebsd/stage0-sysroot" libdir: "/tmp/usr/ports/lang/rust/work/bootstrap/lib" Compiling panic_abort v0.0.0 (/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/library/panic_abort) command did not execute successfully: "/tmp/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target" "aarch64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "32" "-v" "--release" "--frozen" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/library/test/Cargo.toml" "--message-format" "json-render-diagnostics" expected success, got: signal: 11 Traceback (most recent call last): File "x.py", line 11, in <module> bootstrap.main() File "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/src/bootstrap/bootstrap.py", line 1066, in main bootstrap(help_triggered) File "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/src/bootstrap/bootstrap.py", line 1052, in bootstrap run(args, env=env, verbose=build.verbose) File "/tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/src/bootstrap/bootstrap.py", line 153, in run raise RuntimeError(err) RuntimeError: failed to run: /tmp/usr/ports/lang/rust/work/rustc-1.48.0-src/build/bootstrap/debug/bootstrap build --jobs=32 *** Error code 1
Created attachment 221195 [details] 1.48 rust build on poudriere run on 13.0-CURRENT aarch64
Same problem (signal 11) can be also observer on armv7 (tegra TK1). As workaround you may use make MAKE_JOBS_UNSAFE=yes.
Created attachment 221982 [details] v0 Can you test this patch (it's a new bootstrap based on rust 1.49.0 built with a 12.1 sysroot and some unrelated changes)? It seems to build fine on my nvidia board and a honeycomb.
A commit references this bug: Author: mikael Date: Fri Jan 29 10:49:02 UTC 2021 New revision: 563191 URL: https://svnweb.freebsd.org/changeset/ports/563191 Log: lang/rust: reroll the aarch64 bootstrap. This new bootstrap is based on rust 1.49.0 built with a 12.1 sysroot. PR: 251254 Reported by: dch, mmel Tested by: dch, mikael Changes: head/lang/rust/Makefile head/lang/rust/distinfo
Thanks for fixing aarch64. But can you, please, also update armv7 bootstrap? armv7 have same problem.
A commit references this bug: Author: mikael Date: Sat Jan 30 17:21:48 UTC 2021 New revision: 563425 URL: https://svnweb.freebsd.org/changeset/ports/563425 Log: lang/rust: reroll the armv7 bootstrap The current one fails to build Rust. PR: 251254 Reported by: mmel Changes: head/lang/rust/distinfo
Any interest in porting this to the current quarterly branch?