Skip to content

Compilation fails on GRSecurity/PaX kernel #1708

Closed
@ghost

Description

Compilation seems to fail on a Linux kernel with GRSecurity/PaX patches, because the stage0 binary hasn't been marked with PaX flags, and for some reason that causes the whole process to hang, probably due PaX blocking it in some way.

I used paxctl -C to convert the binary to have PaX markings, and used paxctl -m to disable MEMEXEC protection on the rustc binary. However, this caused the stage1 binary to fail, for the same reason.

Used specifications:
Linux 2.6.39.2-grsec
gcc (Debian 4.6.2-11) 4.6.2
git commit 98c3396

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.O-linuxOperating system: Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions