Red Hat Bugzilla – Bug 170187
/usr/lib/libSDL-1.2.so.0.7.1 is marked as needing an executable stack
Last modified: 2007-11-30 17:11:14 EST
From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.91 (like Gecko) Description of problem: GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4 Above is the GNU_STACK marking of this shared object. A quick test with the civclient program suggests that it doesn't really need this (it appears to work without it). I suspect that it should be shipped as "RW". If it can't be then that's a bug too. Version-Release number of selected component (if applicable): 1.2.8-3.2 How reproducible: Always Steps to Reproduce: 1. 2. 3. Additional info:
Ok, when should I turn off executable stack?
execstack says, that libSDL requires exec stack:
$ execstack -q /usr/lib/libSDL-1.2.so.0.7.1
The output of obdum is this:
$ objdump -p /usr/lib/libSDL-1.2.so.0.7.1 | grep -i stack
STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
What to do?
The above URL has all the information you need.
For an assembler file you need to add -Wa,--execstack to the compiler
execstack for libSDL prevents ekiga from starting.
You may want to steal^Wborrow some patches from Gentoo ;-)
http://catmur.co.uk/gentoo/trees/gentopia/media-libs/libsdl/files/ (I'm not
shure whether this mirror is up-to-date)
Fixed in rawhide in rpm SDL-1.2.9-5.