well, it's weird, the -z switch is supposed to override the automatic detection in ld, so you should have gotten a RW STACK header, not an RWE one.superbock wrote:I did not re-check readelf's output. But i did see the the compilations output and i'm sure -z noexecstack was used. Is it still possible that this could not help at all?
yes, it achieves the same as it changes the PT_GNU_STACK header directly.Can i consider the use of execstack as a clean workaround for this?