[Bug 257419] lang/rust: panic on armv7 at 'capacity overflow', library/alloc/src/raw_vec.rs:546:5

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 11:34:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257419

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jbeich@FreeBSD.org          |gecko@FreeBSD.org
           Assignee|gecko@FreeBSD.org           |rust@FreeBSD.org
              Flags|maintainer-feedback?(gecko@ |maintainer-feedback+,
                   |FreeBSD.org),               |maintainer-feedback+
                   |maintainer-feedback?(jbeich |
                   |@FreeBSD.org)               |
            Summary|devel/rust-cbindgen: Fails  |lang/rust: panic on armv7
                   |to build on armv7: thread   |at 'capacity overflow',
                   |'rustc' panicked at         |library/alloc/src/raw_vec.r
                   |'capacity overflow',        |s:546:5
                   |library/alloc/src/raw_vec.r |
                   |s:546:5                     |

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
Same panic in 2 ports. For more details:
- Build lang/rust WITH_DEBUG=1 then run with RUST_BACKTRACE=full to get
readable stacktrace
- Test all lang/rust consumers (150 according to freshports) in order to
identify other affected ports

Over to rust@ as debugging is hard due to bug 221185. armv7 is missing on
https://www.freebsd.org/internal/machines/ and uses qemu-user-static
(QEMU_EMULATING in poudriere log) on https://pkg-status.freebsd.org/ while
riscv64 is not supported by lang/rust yet.

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