This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/19823] java fails with non-executable memory
- From: "mckinlay at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2005 04:11:08 -0000
- Subject: [Bug libgcj/19823] java fails with non-executable memory
- References: <20050208143717.19823.matz@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mckinlay at redhat dot com 2005-02-09 04:11 -------
Note that TestProxy is failing too, which does seem to indicate a problem with
ffi closures.
boehm-gc does have code to call mprotect() on its heap (see PROTECT/UNPROTECT in
os_dep.c), but it isn't used because we don't build the GC with MPROTECT_VDB.
It sounds like, if the heap is now not exec-enabled by default, that the GC will
have to unconditionally call mprotect() in order to set PROT_EXEC when
initializing its heap?
cc'ing Hans for his comments.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |Hans dot Boehm at hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19823