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.
Created attachment 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
your yasm is probably broken
*** Bug 135173 has been marked as a duplicate of this bug. ***
I can confirm this with nasm.
Created attachment 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.
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