Trying to build rustc on NetBSD fails, after creating a local rustc, it fails when invoked for the first time: thread 'main' panicked at 'unable to reset the guard page',libstd/sys/unix/thread.rs:361:21 I have no idea why that mprotect() call fails, it would be helpfull if the panic would mention the address and the return value. Unfortunately I can't just invoke the same binary manually as it needs some secret/hidden environment setup to work.