* QA Notice: command not found: * * /var/tmp/portage/sys-boot/gnu-efi-3.0i/temp/environment: line 2280: filterdiff: command not found strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/crt0-efi-ia32.o usr/lib/libefi.a usr/lib/libgnuefi.a * QA Notice: The following files contain writable and executable sections * Files with such sections 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 issue is fixed. * For more information, see http://hardened.gentoo.org/gnu-stack.xml * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@g.o. * !WX --- --- usr/lib/libgnuefi.a:setjmp_ia32.o * !WX --- --- usr/lib/crt0-efi-ia32.o
Created attachment 240139 [details] Ebuild diff for gnu-efi-3.0i Will use the following patches.
Created attachment 240141 [details] Patch for crt0-efi-ia32.S Fixes the first of the QA Warnings.
Created attachment 240143 [details] Patch for setjmp_i32.S Fixes the second of the QA Warnings.
ia64, can you go on and proceed with the fixes (or at least review them)?
if the EFI objects are only used in low level boot code (i.e. outside of Linux), then adding gnu stack markers to the objects doesnt make sense
(In reply to comment #5) > if the EFI objects are only used in low level boot code (i.e. outside of > Linux), then adding gnu stack markers to the objects doesnt make sense So what would be a proper solution here?
if the .o are only used low level and not under Linux, then they should get a QA_xxx exemption in the ebuild
Soe the proposed solution is to -) include DEPEND="dev-util/patchutils" -) add QA_EXECSTACK="libgnuefi.a:setjmp_ia32.o crt0-efi-ia32.o" to the ebuild. maintainers, please do, or tell me to do it myself.
should be all set now in the tree; thanks for the report! Commit message: Disable QA checks on compiled objects as they do not make sense for bootloaders http://sources.gentoo.org/sys-boot/gnu-efi/gnu-efi-3.0s.ebuild?rev=1.1