pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Rust, MAKE_JOBS, and "failed to spawn helper thread"
On Thu, 16 Sep 2021 14:00:58 +0000
nia <nia%NetBSD.org@localhost> wrote:
> Hi, anyone else seeing this failure when compiling Rust crates on NetBSD
> with a high number of parallel jobs? I see this for nearly every crate
> in my pbulk builds.
> thread 'rustc' panicked at 'failed to spawn helper thread: Os { code: 35, kind:
> WouldBlock, message: "Resource temporarily unavailable" }
Yep, I have seen it once or twice when building Firefox.
The tried and true method of running bmake again makes the build succeed.
> rustc-1.54.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1015
This seems related to creating threads.
_lwp_create(2) can return EAGAIN if ulimit -r is exceeded.
I'd try to increase this limit and see if that helps.
-Tobias
Home |
Main Index |
Thread Index |
Old Index