Mailinglist Archive: opensuse-packaging (100 mails)

< Previous Next >
Re: [opensuse-packaging] kqlives SOLVED
  • From: "Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx>
  • Date: Tue, 7 Apr 2009 17:37:44 +0200
  • Message-id: <200904071737.45072@xxxxxxxxxxxxxxxxxxxxx>
On Dienstag 07 April 2009 14:30:08 Sascha 'saigkill' Manns wrote:
On Mittwoch 01 April 2009 23:14:13 Sascha 'saigkill' Manns wrote:
Package: kqlives
Project: home:saigkill

Hello Mates,

actually i become the error:
kqlives.x86_64: W: executable-stack /usr/bin/mapdump
kqlives.x86_64: W: executable-stack /usr/bin/kq
kqlives.x86_64: W: executable-stack /usr/bin/mapdraw
kqlives.x86_64: W: executable-stack /usr/bin/mapdiff
The binary declares the stack as executable. Executable stack is
usually an
error as it is only needed if the code contains GCC trampolines or
similar
constructs which uses code on the stack. One common source for
needlessly
executable stack cases are object files built from assembler files
which don't
define a proper .note.GNU-stack section.

I know, that i have fixed an similar error in dumb. To fix this i've
added:
-dumbplay_LDFLAGS =
+dumbplay_LDFLAGS = -Wl,-z,noexecstack.
This fix was in /examples/Makefile.in.

But in my Makefile.in (kqlives) i don't find an Place similar to the
other fix. Has anyone an idea, on which place it must fixed?
I found it out. I add: %configure --enable-cheats CFLAGS="%{optflags}"
OBJCFLAGS="%{optflags}" LDFLAGS="-Wl,-z,noexecstack" and this just works
:-)


--
Sincereley yours

Sascha Manns
openSUSE Marketing Team
openSUSE Build Service
openSUSE Features Screening Team
Web: http://saschamanns.gulli.to
Project-Blog: http://lizards.opensuse.org/author/saigkill
Private-Blog: http://saschasbacktrace.blogspot.com

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
List Navigation