tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust problem when building firefox



On Sat, 18 Nov 2023 06:40:07 +0100, Thomas Klausner wrote:

> /usr/pkg/bin/cargo rustc  --release --frozen --manifest-path /scratch/www/firefox/work/firefox-119.0.1/security/manager/ssl/ipcclientcerts/Cargo.toml    --lib --target=x86_64-unk
> nown-netbsd --features 'mozilla-central-workspace-hack' --  -Clto
> thread '<unnamed>' panicked at library/std/src/sys/unix/thread.rs:855:17:
> failed to allocate a guard page: File too large (os error 27)
> stack backtrace:
>    0:          0x17047a8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc7af7c8c491f235f
>    1:          0x174895c - core::fmt::write::h6704aa23384ebf6d
>    2:          0x170770e - std::io::Write::write_fmt::h1ec88ed87f1a548f
>    3:          0x1704536 - std::sys_common::backtrace::print::h439fad3f83fbc4b5
>    4:          0x17246e3 - std::panicking::default_hook::{{closure}}::h1c39ed34efd31c8a
>    5:          0x1724368 - std::panicking::default_hook::h4ee60615d1c92b96
>    6:          0x172596c - std::panicking::rust_panic_with_hook::hec2f115bd3abe8a5
>    7:          0x1704fb7 - std::panicking::begin_panic_handler::{{closure}}::h92a702d96e469894
>    8:          0x1704c46 - std::sys_common::backtrace::__rust_end_short_backtrace::h4f5ab40c7a48f822
>    9:          0x17254d2 - rust_begin_unwind
>   10:           0xa61343 - core::panicking::panic_fmt::h0a6a30a68313052a
>   11:          0x172d620 - std::sys::unix::thread::guard::init::h5287555ac329da10
>   12:          0x16fa3b9 - std::rt::init::h6e67e26812f912e8
>   13:          0x16fa52b - std::rt::lang_start_internal::h927544304a5690c7
>   14:           0xae2cd5 - main
>   15:           0x9e637d - ___start
>                                at /usr/src/lib/csu/common/crt0-common.c:350:2
> fatal runtime error: initialization or cleanup bug

I routinely see this when trying to build firefox (either mainline FF
or one of the ESR or older rust-based versions) on i386 for the last
several quarterly branches.  Haven't seen it on amd64.

Sorry, no idea about a solution.  Just a data point.


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index