With FEATURES="stricter", you get the following: QA Notice: the following files contain runtime text relocations Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include this file in your report: /var/tmp/portage/emul-linux-x86-xlibs-7.0-r2/temp/scanelf-textrel.log TEXTREL emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 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 this file in your report: /var/tmp/portage/emul-linux-x86-xlibs-7.0-r2/temp/scanelf-execstack.log RWX --- --- emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 !!! ERROR: app-emulation/emul-linux-x86-xlibs-7.0-r2 failed. Call stack: misc-functions.sh, line 407: Called install_qa_check misc-functions.sh, line 164: Called die !!! Aborting due to QA concerns: textrels, execstacks
The workaround is to add the following the ebuild: QA_TEXTRELS_amd64="emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2" QA_EXECSTACK_amd64="emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2"
-r3 affected by the same issue: QA Notice: the following files contain runtime text relocations Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include this file in your report: /var/tmp/portage/app-emulation/emul-linux-x86-xlibs-7.0-r3/temp/scanelf-textrel.log TEXTREL emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 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 this file in your report: /var/tmp/portage/app-emulation/emul-linux-x86-xlibs-7.0-r3/temp/scanelf-execstack.log RWX --- --- emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
does the mesa libGL on x86 also have the stacks/textrel issues?
>>> Completed installing emul-linux-x86-xlibs-7.0-r8 into /var/tmp/portage/app-emulation/emul-linux-x86-xlibs-7.0-r8/image/ man: QA Notice: the following files contain runtime text relocations Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include this file in your report: /var/tmp/portage/app-emulation/emul-linux-x86-xlibs-7.0-r8/temp/scanelf-textrel.log TEXTREL usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2 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 this file in your report: /var/tmp/portage/app-emulation/emul-linux-x86-xlibs-7.0-r8/temp/scanelf-execstack.log RWX --- --- usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2
added the QA_* stuff