tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 2025Q1 lang/rust build failure on illumos (ENOMEM)
On Wed, Apr 16, 2025 at 01:59:38PM +0100, Jonathan Perkin wrote:
> * On 2025-04-16 at 12:14 BST, Hans Rosenfeld wrote:
>
> > "os error 12" is ENOMEM, but that doesn't make much sense to me. The
> > OpenIndiana system has no stack limit or any other memory limits set,
> > and it's barely using half of its 128GB of physical memory.
>
> I fixed this in https://github.com/NetBSD/pkgsrc/commit/a7aeedc3.
>
> Previous discussion on #illumos-rust:
>
> https://log.omnios.org/illumos-rust/2025-02-03
> https://log.omnios.org/illumos-rust/2025-02-04
Thanks, that changed allowed me to build lang/rust successfully. Do you
think this could be pulled up into 2025Q1?
Next, I run into the exact same problem with devel/cargo-c:
===> Building for cargo-c-0.9.32nb1
thread '<unnamed>' panicked at std/src/sys/pal/unix/stack_overflow.rs:476:13:
failed to allocate a guard page: Not enough space (os error 12)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: initialization or cleanup bug
Any idea what's wrong now? I already verified that ULIMIT_CMD_stacksize
is set to 'ulimit -s 131072'.
Hans
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
Home |
Main Index |
Thread Index |
Old Index