Gentoo Archives: gentoo-dev

From: Thomas Cort <linuxgeek@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Need help fixing executable stack
Date: Fri, 06 Jan 2006 17:35:19
Message-Id: 3b09e8e90601060930ma15c5e7r21f7aa80eb72c983@mail.gmail.com
1 When emerging wxGTK-2.4.2-r4 on alpha I get a QA message about
2 executable stacks ( http://bugs.gentoo.org/113119#c10 ). I read the
3 GNU Stack Quickstart (
4 http://gentoo.org/proj/en/hardened/gnu-stack.xml ). However, I
5 couldn't find any assembly files for wxGTK (ls -R | grep S$ only
6 returns NEWS), nor could I find ENABLE_EXECUTE_STACK or TRAMPOLINE in
7 any source files. Would append-flags -Wa,--noexecstack fix it, and is
8 it the best fix?
9
10 -Thomas
11
12 Output of scanelf:
13 # scanelf -qeR .
14 --- --- RWX ./build_gtk/lib/libwx_gtk-2.4.so.0.1.1
15 --- --- RWX ./build_gtk/lib/libwx_gtk_gl-2.4.so.0.1.1
16 --- --- RWX ./build_gtk/lib/libwx_gtk_canvas-2.4.so.0.1.1
17 --- --- RWX ./build_gtk/lib/libwx_gtk_fl-2.4.so.0.1.1
18 --- --- RWX ./build_gtk/lib/libwx_gtk_gizmos-2.4.so.0.1.1
19 --- --- RWX ./build_gtk/lib/libwx_gtk_net-2.4.so.0.1.1
20 --- --- RWX ./build_gtk/lib/libwx_gtk_ogl-2.4.so.0.1.1
21 --- --- RWX ./build_gtk/lib/libwx_gtk_plot-2.4.so.0.1.1
22 --- --- RWX ./build_gtk/lib/libwx_gtk_stc-2.4.so.0.1.1
23 --- --- RWX ./build_gtk/lib/libwx_gtk_dcsvg-2.4.so.0.1.1
24 --- --- RWX ./build_gtk/lib/libwx_gtk_xrc-2.4.so.0.1.1
25
26 --
27 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Need help fixing executable stack lnxg33k <lnxg33k@×××××.com>
Re: [gentoo-dev] Need help fixing executable stack Mike Frysinger <vapier@g.o>