Date: Sat, 27 Nov 2021 03:37:56 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 259799] devel/rust-cbindgen: armv6: build using "make" fails, using "cargo build --release -j 1" works Message-ID: <bug-259799-21738-ZgWv2hinju@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-259799-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-259799-21738@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259799 --- Comment #39 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #36) The try in comment 36 was under main-CA7 jail. I tried under the 13_0R-CA7 jail (so: 13.0-RELEASE-p5 world) (without rustc having been stripped but having no debug information) and the failure was more like before but it did stop thread 'rustc' panicked at 'capacity overflow', library/alloc/src/raw_vec.rs:559:5 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::panicking::panic 3: alloc::raw_vec::capacity_overflow 4: alloc::raw_vec::RawVec<T,A>::reserve::do_reserve_and_handle 5: std::backtrace::Backtrace::create::{{closure}} 6: std::backtrace_rs::backtrace::libunwind::trace::trace_fn 7: _Unwind_Backtrace 8: std::backtrace::Backtrace::create 9: std::backtrace::Backtrace::force_capture 10: <unknown> . . . 42: <unknown> 43: std::sys::unix::thread::Thread::new::thread_start 44: <unknown> 45: pthread_create 46: pthread_peekjoin_np . . . 91: pthread_peekjoin_np note: Some details are omitted, run with `RUST_BACKTRACE=3Dfull` for a verb= ose backtrace. 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=3DC-bug%2C+I-ICE%2C+T-c= ompiler&template=3Dice.md note: rustc 1.56.0 running on armv7-unknown-freebsd note: compiler flags: -C embed-bitcode=3Dno -C debuginfo=3D2 -C linker=3Dcc= -C target-cpu=3Dcortex-a7 -C link-arg=3D-fstack-protector-strong --crate-type = lib note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [trimmed_def_paths] calculating trimmed def paths #1 [lint_mod] linting module `file` #2 [analysis] running analysis passes on this crate end of query stack error: could not compile `tempfile` Caused by: process didn't exit successfully: `CARGO=3D/usr/local/bin/cargo CARGO_CRATE_NAME=3Dtempfile CARGO_MANIFEST_DIR=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/cbindgen-0= .20.0/cargo-crates/tempfile-3.1.0 CARGO_PKG_AUTHORS=3D'Steven Allen <steven@stebalien.com>:The Rust Project Developers:Ashley Mannix <ashleymannix@live.com.au>:Jason White <jasonaw0@gmail.com>' CARGO_PKG_DESCRIPTION=3D'A library for managing tempo= rary files and directories.' CARGO_PKG_HOMEPAGE=3D'http://stebalien.com/projects/tempfile-rs' CARGO_PKG_LICENSE=3D'MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE=3D'' CARGO_PKG_NAME=3Dtempfile CARGO_PKG_REPOSITORY=3D'https://github.com/Stebalien/tempfile' CARGO_PKG_VERSION=3D3.1.0 CARGO_PKG_VERSION_MAJOR=3D3 CARGO_PKG_VERSION_MIN= OR=3D1 CARGO_PKG_VERSION_PATCH=3D0 CARGO_PKG_VERSION_PRE=3D'' LD_LIBRARY_PATH=3D'/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/debug= /deps:/usr/local/lib' /usr/local/bin/rustc --crate-name tempfile --edition=3D2018 /wrkdirs/usr/ports/devel/rust-cbindgen/work/cbindgen-0.20.0/cargo-crates/te= mpfile-3.1.0/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts --crate-t= ype lib --emit=3Ddep-info,metadata,link -C embed-bitcode=3Dno -C debuginfo=3D2 -C metadata=3D8c80968e1c70792f -C extra-filename=3D-8c80968e1c70792f --out-dir /wrkdirs/usr/ports/devel/rust-cbindgen/work/target/armv7-unknown-freebsd/de= bug/deps --target armv7-unknown-freebsd -C linker=3Dcc -L dependency=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/armv7-unkno= wn-freebsd/debug/deps -L dependency=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/debug/de= ps --extern cfg_if=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/armv7-unknown-f= reebsd/debug/deps/libcfg_if-bcb77f88a4cb1033.rmeta --extern libc=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/armv7-unknown-fre= ebsd/debug/deps/liblibc-9cfeb93970e2f28b.rmeta --extern rand=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/armv7-unknown-fre= ebsd/debug/deps/librand-521a6a5a702772ce.rmeta --extern remove_dir_all=3D/wrkdirs/usr/ports/devel/rust-cbindgen/work/target/armv7-u= nknown-freebsd/debug/deps/libremove_dir_all-eb5202f50395c473.rmeta --cap-lints warn -C target-cpu=3Dcortex-a7 -C link-arg=3D-fstack-protector-= strong` (signal: 5, SIGTRAP: trace/breakpoint trap) *** Error code 101 Notabily in this context it reported SIGTRAP instead of the SIGSEGV that main-CA7 reported. Also notable is that the capacity-overflow happened during the attempt to do a backtrace that had already been initiated: Nested problems? (Possibly SIGSEGV was first?) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259799-21738-ZgWv2hinju>