Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 134632
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Wegner <public@mroot.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scanelf-execstack.log scanelf-execstack.log created by portage text/x-log Martin Wegner 2006-05-28 06:48 0000 198 bytes Details
out output from libsdl build text/plain Mr. Bones. 2006-06-04 09:31 0000 102.05 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134632 depends on: Show dependency tree
Bug 134632 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-05-28 06:35 0000
When emerging , I get:

[...]
gzipping man page: SDL_keysym.3
gzipping man page: SDL_mutexP.3
gzipping man page: SDL_mutexV.3
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/libSDL-1.2.so.0.7.3
   usr/lib/libSDL.a
   usr/lib/libSDLmain.a
removing executable bit: /usr/lib/libSDL.la

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.
 For more information, see http://hardened.gentoo.org/gnu-stack.xml
 Please include this file in your report:
 /var/tmp/portage/libsdl-1.2.10/temp/scanelf-execstack.log
"RWX --- --- usr/lib/libSDL-1.2.so.0.7.3"

>>> Merging media-libs/libsdl-1.2.10 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/sdl-config
[...]

The files follow.

------- Comment #1 From Martin Wegner 2006-05-28 06:48:19 0000 -------
Created an attachment (id=87731) [details]
scanelf-execstack.log created by portage

Affected libSDL-1.2.so.0.7.3 can be found here:
http://files.mgeek.de/libSDL-1.2.so.0.7.3

------- Comment #2 From SpanKY 2006-06-04 08:19:36 0000 -------
your yasm is probably broken

------- Comment #3 From SpanKY 2006-06-04 08:20:19 0000 -------
*** Bug 135173 has been marked as a duplicate of this bug. ***

------- Comment #4 From Mr. Bones. 2006-06-04 09:15:05 0000 -------
I can confirm this with nasm.

------- Comment #5 From Mr. Bones. 2006-06-04 09:31:59 0000 -------
Created an attachment (id=88356) [details]
output from libsdl build

Here's the full output.  I think it's because common.asm is compiled separately
and doesn't have the .note.GNU-stack ELF section.

------- Comment #6 From SpanKY 2006-06-08 02:42:59 0000 -------
should be fixed in cvs now

this was a two part bug in reality:
 - nasm users had common.asm compiled when it shouldnt have been causing a
0-byte asm file w/execstacks to be included
 - yasm users werent getting the 'no-exec-stack' markings included

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug