mozilla/rust — Issue #1708: Compilation fails on GRSecurity/PaX kernel
Author: Purgox
Created: 2012-01-30 12:16:33+00:00
State: open

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 98c3396ab68551156021b490cf0ffed9cf3a40e3