Skip to content

Boostraped rustc fails in thread initialization on NetBSD #50313

Closed
@MartinHusemann

Description

@MartinHusemann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-netbsdOperating system: NetBSD

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions