tech-pkg archive

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

2025Q1 lang/rust build failure on illumos (ENOMEM)



Hi,

I'm trying to build lang/rust from 2025Q1 on two recently updated
illumos systems, one OpenIndiana and one OmniOS r151046cv. Both fail for
the same reason:

Building stage1 library artifacts (x86_64-unknown-illumos)
error: process didn't exit successfully: `/usr/pkgsrc/obj/lang/rust/work.pkgbuild/rustc-1.83.0-src/build/bootstrap/debug/rustc /usr/pkgsrc/obj/lang/rust/work.pkgbuild/rustc-1.83.0-src/build/bootstrap/debug/rustc -vV` (exit status: 254)
--- stderr
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
rustc exited with signal: 6 (SIGABRT) (core dumped)

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


Does anyone have an idea what's going on here?


Thanks,

Hans


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown


Home | Main Index | Thread Index | Old Index