First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 117771
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik Musick <lnxg33k@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
1.42-nx.patch Removes QA Notice about executable stacks by fixing scanelf !WX output patch Erik Musick 2006-01-05 21:24 0000 16.49 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117771 depends on: Show dependency tree
Bug 117771 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-04 11:47 0000
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

------- Comment #1 From Erik Musick 2006-01-05 19:06:50 0000 -------
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.

------- Comment #2 From Erik Musick 2006-01-05 21:20:58 0000 -------
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.

------- Comment #3 From Erik Musick 2006-01-05 21:24:34 0000 -------
Created an attachment (id=76296) [edit]
Removes QA Notice about executable stacks by fixing scanelf !WX output

See above (first time posting an attachment)

------- Comment #4 From Tupone Alfredo 2006-03-15 13:38:30 0000 -------
fixed in CVS

First Last Prev Next    No search results available      Search page      Enter new bug