Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266719 - x11-drivers/ati-drivers: RWX usr/lib32/opengl/ati/lib/libGL.so.1.2contains executable stacks
Summary: x11-drivers/ati-drivers: RWX usr/lib32/opengl/ati/lib/libGL.so.1.2contains ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High QA (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-04-19 02:55 UTC by John Burkett
Modified: 2013-01-12 20:57 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Burkett 2009-04-19 02:55:47 UTC
Doing "PORT_LOGDIR=/var/log/portage emerge -D -uav world" on my amd64 machine 
produces the following log:

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.22-gentoo-r2-osmp
>>> Unpacking source...
Warning: target directory exists /var/tmp/portage/x11-drivers/ati-drivers-8.552-
r2/work
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.552................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.................................
 * Applying ati-powermode-opt-path-2.patch ...
  [ ok ]
 * Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ...
  [ ok ]
>>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/extra
>>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work ...
 * Preparing fglrx module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r2-osmp KDIR=/usr/src/linux kmod_build 
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r2'
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
  LD [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r2'
 * Building fgl_glxgears
In file included from fgl_glxgears.c:70:
/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/usr/include/GL/glATI.h:3153:1: warning: "GL_ATI_texture_env_combine3" redefined
In file included from /usr/include/GL/gl.h:2150,
                 from /usr/include/GL/glu.h:38,
                 from fgl_glxgears.c:59:
/usr/include/GL/glext.h:6606:1: warning: this is the location of the previous definition
 * Building fglrx_gamma lib
 * Building fglrx_gamma util
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.552-r2
>>> Install ati-drivers-8.552-r2 into /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/image/ category x11-drivers
 * Installing fglrx module
 * ati tree 'lib' -> 'lib32' on system
 * ati tree 'lib64' -> 'lib64' on system
>>> Completed installing ati-drivers-8.552-r2 into /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/image/

^G

 * QA Notice: Pre-stripped files found:
 * /usr/lib32/dri/fglrx_dri.so
 * /usr/lib32/opengl/ati/lib/libGL.so.1.2
 * /usr/lib64/dri/fglrx_dri.so
 * /usr/lib64/xorg/modules/glesx.so
 * /usr/lib64/libAMDXvBA.so.1.0
 * /usr/lib64/libXvBAW.so.1.0
 * /usr/lib64/opengl/ati/lib/libGL.so.1.2
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   lib/modules/2.6.22-gentoo-r2-osmp/video/fglrx.ko
   opt/bin/fglrxinfo
   opt/bin/aticonfig
   opt/bin/atiode
   opt/bin/amdcccle
   opt/bin/atiodcli
   opt/sbin/atieventsd
   usr/bin/fglrx_xgamma
   usr/bin/fgl_glxgears
   usr/lib32/opengl/ati/extensions/libglx.so
   usr/lib32/opengl/ati/extensions/libdri.so
   usr/lib64/xorg/modules/linux/libfglrxdrm.so
   usr/lib64/xorg/modules/drivers/fglrx_drv.so
   usr/lib64/xorg/modules/amdxmm.so
   usr/lib64/libatiadlxx.so
   usr/lib64/libfglrx_tvout.so.1.0
   usr/lib64/libfglrx_pp.so.1.0
   usr/lib64/opengl/ati/extensions/libglx.so
   usr/lib64/opengl/ati/extensions/libdri.so
   usr/lib64/libfglrx_gamma.so.1.0
   usr/lib64/libfglrx_dm.so.1.0
   usr/lib64/xorg/modules/esut.a
   usr/lib64/libfglrx_tvout.a
   usr/lib64/libfglrx_dm.a
   usr/lib64/libfglrx_pp.a
ecompressdir: bzip2 -9 /usr/share/man
* 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 the following list of files in your report:
 * --- --- RWX usr/lib32/opengl/ati/lib/libGL.so.1.2
^G
^G
 * QA Notice: The following shared libraries lack a SONAME
 *  /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/image/usr/lib64/libatiadlxx.so
^G
making executable: usr/lib64/libfglrx_gamma.so.1.0
 * checking 133 files for package collisions
x11-drivers:ati-drivers-8.552-r2:20090419-022352.log lines 53-105/105 (END)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-20 20:41:58 UTC
Not much we can do here as the driver is closed-source...
Suggesting to mark this bug as CANTFIX or INVALID.
Comment 2 John Burkett 2009-04-21 00:16:32 UTC
(In reply to comment #1)
> Not much we can do here as the driver is closed-source...
> Suggesting to mark this bug as CANTFIX or INVALID.
> 
I wonder what action a gentoo user should take in response to the notice about executable stacks in usr/lib32/opengl/ati/lib/libGL.so.1.2. Should the user unemerge libGL and emerge a substitute?  Is that a question that can be addressed here; or should I instead raise it at gentoo-user@lists.gentoo.org? 
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-31 18:24:45 UTC
All QA silenced up.
Thanks for the bugreport and Arfrever for helping me with regular expression.

Since 9.8 no QA warnings, enjoy.