Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
executable stacks on *EVERY* package?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
rburcham
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 223

PostPosted: Sun Jan 01, 2006 5:14 pm    Post subject: executable stacks on *EVERY* package? Reply with quote

I am getting this during the install phase of every package I update, since Friday.

Code:
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.


I have looked up "executable stacks" on bugs.gentoo.org and ultimately landed on this link:

http://www.gentoo.org/proj/en/hardened/gnu-stack.xml

I read it, and was marginally alarmed, as it discusses defenses and preparedness against buffer overlfow attacks and so forth. I then read the wikipedia entry:

http://en.wikipedia.org/wiki/NX_bit

At this point I am of the opinion that I just don't have the hardware that can properly leverage the approaches described in these articles, and therefore I am doomed to see these "warnings" at the end of every emerge going forward. After all, I am running on a 5 year old 450MHz G4 powermac. But I've also been running gentoo on this box for 3 years, and this is the first time I have seen any warnings of this sort. So I thought I would seek other opinions.

Anyone else seeing this? Anyone know what it *really* means?

Oh and here's this in case it helps:

Quote:
# emerge info
Portage 2.1_pre2 (default-linux/ppc/2004.1, gcc-3.4.4, glibc-2.3.6-r1, 2.6.12-gentoo-r10 ppc)
=================================================================
System uname: 2.6.12-gentoo-r10 ppc 7400, altivec supported
Gentoo Base System version 1.12.0_pre12
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.13
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac alsa altivec arts audiofile berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dvd eds emboss encode esd ethereal exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib ipv6 java jpeg junit kde lcms libwww live mad mikmod mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl sheep slang snmp sox speex spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis xine xml xml2 xmms xscreensaver xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU video_cards_rage128"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jan 02, 2006 1:01 am    Post subject: Reply with quote

Yeah, this is expected with the newest releases of portage, afaik, gcc on ppc will always produce an executable with an executable stack so we'll always get this warning until this is fixed.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum