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 2025-04-16 at 15:03 BST, Hans Rosenfeld wrote:

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'.

devel/cargo-c does not set UNLIMIT_RESOURCES, so the ulimit command won't be used and it'll just use what is currently set in the environment. Is there any chance you set it manually to "unlimited" during testing or something? The default should be 10MB IIRC.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index