Bug 170187
Summary: | /usr/lib/libSDL-1.2.so.0.7.1 is marked as needing an executable stack | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Russell Coker <rcoker> |
Component: | SDL | Assignee: | Thomas Woerner <twoerner> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | gajownik, netllama, selinux, tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-01-27 13:45:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Russell Coker
2005-10-08 14:16:43 UTC
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 X /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? http://people.redhat.com/drepper/nonselsec.pdf The above URL has all the information you need. For an assembler file you need to add -Wa,--execstack to the compiler command-line. 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) http://catmur.co.uk/gentoo/trees/gentopia/media-libs/libsdl/files/libsdl-1.2.9-no-exec-stack.patch Fixed in rawhide in rpm SDL-1.2.9-5. |