[Mono-bugs] [Bug 61710][Wis] Changed - mono can't compile with PaX
Mon, 19 Jul 2004 19:27:50 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by email@example.com.
--- shadow/61710 2004-07-19 18:40:12.000000000 -0400
+++ shadow/61710.tmp.2620 2004-07-19 19:27:50.000000000 -0400
@@ -67,6 +67,38 @@
------- Additional Comments From firstname.lastname@example.org 2004-07-19 18:40 -------
Well, Mono needs to execute code it generates on pages it allocates.
We would certainly take patches.
Setting priority to Wishlist.
+------- Additional Comments From email@example.com 2004-07-19 19:27 -------
+As I said above:
+"I'm digging my way through to see what needs to be done, but I'm
+assuming you'll need to `paxctl -pemrxs` against this binary during
+building, before using it. You may wish to use both 'chpax' and
+'paxctl' at this point."
+PaX says the offending binary is
+library lt-mono, but that's irrelavent). Thus:
+paxctl -pemrxs mono/mini/.libs/lt-mono
+chpax -pemrxs mono/mini/.libs/lt-mono
+After building lt-mono would remove the restrictions causing the PaX
+kill, if run from /tmp/portage/mono-1.0/work/mono-1.0/ in this case.
+If I recall correctly, prefixing a command with '-' in a Makefile
+causes make to allow that command to fail; thus, after building
+lt-mono, the last commands should be something akin to:
+-paxctl -pemrxs mono/mini/.libs/lt-mono
+-chpax -pemrxs mono/mini/.libs/lt-mono
+-paxctl -pemrxs $@
+-chpax -pemrxs $@
+Where $@ is the target of the current rule (I believe this is proper