Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Running on ~x86. Not sure where this (and future) bugs should be posted, but here it is: QA Notice: the following files contain executable stacks Files with executable stacks will not work properly (or at all!) on some architectures/operating systems. A bug should be filed at http://bugs.gentoo.org/ to make sure the file is fixed. RWX --- --- usr/games/bin/zsnes
Looking at g.o/proj/en/hardened/gnu-stack.xml, this seems to be just a lack of ".note.GNU-stack" entries. I'm not exactly clear on the steps it takes to compile the code after the changes are made. If no one minds and is willing to tell me how to check and submit my changes, I'd be more than glad to do so. Thanks.
Ok. So, I did some reading on my own and went ahead ... For all the files showing up as !WX using 'scanelf -qeR .', I added the following: %ifidn __OUTPUT_FORMAT__,elf section .note.GNU-stack noalloc noexec nowrite progbits %endif That cleared up the QA Notice on emerge and the scanelf output. Re-emerged zsnes-1.42 and all seems to be well. I've gone ahead and included the attachment. Hopefully this saves someone some time. Any suggestions are appreciated.
Created an attachment (id=76296) [edit] Removes QA Notice about executable stacks by fixing scanelf !WX output See above (first time posting an attachment)
fixed in CVS