RE: [patch] Fix oddity in personality routine
"Boehm, Hans" <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <238A96A773B3934685A7269CC8A8D0425780547896@GVW0436EXB.americas.hpqcorp.net> |
> From: Jack Howarth > Do you think that -Wl,-allow_stack_execute needs to be > passed even more widely than on just ecjx_LDFLAGS? Any > suggestions as to where I should be passing it? Perhaps on > something like LIBJAVA_LDFLAGS_NOUNDEF at the toplevel of > libjava? Or should we even be building libffi and boehm-gc > with that as well? > Jack > > I haven't been following this completely, but: The GC also has a compile-time flag NO_EXECUTE_PERMISSION, which affects heap executability. I think the documentation says that this only affects incremental collection, but looking at the code, I'm not sure I believe that anymore. I think it generally affects whether memory allocated with mmap is made executable, and we've been doing more and more of that. Hans