[Bug 259799] devel/rust-cbindgen: armv6: build using "make" fails, using "cargo build --release -j 1" works

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Nov 2021 22:49:42 UTC

--- Comment #31 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #30)

I have confirmed that on a Cortex-A7 (armv7) system, I also
get (for example):

. . .
thread 'rustc' panicked at 'capacity overflow',
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report:

note: rustc 1.55.0 running on armv7-unknown-freebsd

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C linker=cc -C
target-cpu=cortex-a7 -C link-arg=-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
thread 'rustc' panicked at 'cannot panic during the backtrace function',
stack backtrace:
   0: 0x2750076c - <std::sys_common::backtrace::_print::DisplayBacktrace as
   1: 0x275c9d00 - core::fmt::write::h91f4a7678561fd61
. . .
  49: 0x274ee71c - <unknown>
  50: 0x2783b1bc - <unknown>
  51: 0x2783acd8 - pthread_create
  52: 0x2783db9c - pthread_peekjoin_np
  53: 0x2783db9c - pthread_peekjoin_np
  54: 0x2783db9c - pthread_peekjoin_np
  55: 0x2783db9c - pthread_peekjoin_np
 . . . pthread_peekjoin_np lines repating (but for the prefix) . . .

So the issue for this is not tied to COMPATFREEBSD32 or the like.

You are receiving this mail because:
You are on the CC list for the bug.