Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125315 - xmms-mpg123 has executable stacks
Summary: xmms-mpg123 has executable stacks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 17:44 UTC by James Ashley
Modified: 2006-04-06 08:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xmms-mpg123-1.2.10-execstack.patch (xmms-mpg123-1.2.10-execstack.patch,265 bytes, patch)
2006-03-10 06:02 UTC, Thomas Cort (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Ashley 2006-03-06 17:44:40 UTC
I got the following notes at the end of installing xmms-mpg:

QA Notice: the following files contain runtime text relocations
 Text relocations require a lot of extra work to be preformed by the
 dynamic linker which will cause serious performance impact on IA-32
 and might not function properly on other architectures hppa for example.
 If you are a programmer please take a closer look at this package and
 consider writing a patch which addresses this problem.
TEXTREL usr/lib/xmms/Input/libmpg123.so


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.
RWX --- --- usr/lib/xmms/Input/libmpg123.so

The TEXTREL is a duplicate, but I didn't see anything about the executable stacks.

(Disclaimer: I'm in the middle of upgrading my toolchain and trying to complete an emerge -e world.  It was a total fluke that I ran across this, which is the only reason I'm filing this now.  The problem could easily be that I my system is still in a very unhealthy state).

emerge info:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.seren.com/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.llarian.net/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl eds emboss encode esd exif expat fam foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 java jikes jpeg junit kde lcms ldap libg++ libwww mad mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis openal opengl pam pcre pdflib perl png python qt quicktime readline recode sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

At the speed my system compiles, I'm hoping to get things stable again in about 3 weeks.  I figure if I don't file this now, I'll have forgotten about it by then when I can reasonably try to reproduce it with a stable system.  I apologize if this just turns out to be noise.
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2006-03-10 06:02:04 UTC
Created attachment 81841 [details, diff]
xmms-mpg123-1.2.10-execstack.patch

This patch fixes the executable stack issue in xmms-mpg123-1.2.10-r1.

The text relocations issue is being dealt with in Bug #115565.

# emerge --info

Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca:2121/pub/gentoo http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.mirrored.ca/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/diskless /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib aim alsa apache2 arts audacious audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo calendar cdinstall cdparanoia cdr crypt cscope ctype cups curl curlwrappers dbus dri dvd dvdr dvdread eds emacs emboss encode esd ethereal ffmpeg firefox flac flash foomaticdb fortran ftp gcj gdbm gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imlib ipv6 jabber java javascript jpeg jpeg2k kde libg++ libwww lua mad mikmod mono motif mozilla mp3 mpeg msn ncurses nis nls nocd nptl nptlonly ogg oggvorbis opengl oscar oss pam pam_console pcre pda pdf pdflib perl php png posix python qt quicktime readline ruby sdl shorten sndfile sockets spell ssl szip tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev vcd videos vorbis win32codecs wma wmf wxwindows xface xine xml xml2 xmlrpc xmms xpm xsl xv yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Comment 2 schaedpq 2006-04-05 02:06:09 UTC
I applied the patch to xmms-mpg123-1.2.10-r1, works without problems as expected.  Is there any chance of having it in portage soon? Or do we wait for upstream to fix it?
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2006-04-06 08:30:00 UTC
commited in the new patchset that is available on 1.2.10-r16