Created attachment 517654 [details] build.log.xz Portage reports the following QA issue when emerging sys-boot/syslinux-6.04_pre1: > 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 > https://bugs.gentoo.org/ to make sure the issue is fixed. > For more information, see: > > https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart > > 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. > RWX --- RWX usr/share/syslinux/efi64/ldlinux.e64
Created attachment 517656 [details] emerge --info syslinux
Created attachment 561716 [details] Emerge failure: sys-boot/syslinux-6.04_pre1::gentoo failed: Aborting due to QA concerns: execstacks * 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 * https://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see: * * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart * * 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@gentoo.org. * RWX --- RWX usr/share/syslinux/efi64/ldlinux.e64 * ERROR: sys-boot/syslinux-6.04_pre1::gentoo failed: * Aborting due to QA concerns: execstacks * * Call stack: * misc-functions.sh, line 552: Called install_qa_check * misc-functions.sh, line 98: Called source 'install_symlink_html_docs' * 10executable-issues, line 145: Called elf_check * 10executable-issues, line 141: Called die * The specific snippet of code: * die "Aborting due to QA concerns: ${die_msg}"
Created attachment 561718 [details] emerge --info
I think the warning/error is pointless: the code is executed at boot and then never again. Generally it is not possible to avoid this kind of code in a boot loader for x86. Should probably silence it via a QA variable.
tinderbox has reproduced this issue with version 6.04_pre1-r2 - Updating summary.
I set QA_WX_LOAD and QA_EXECSTACK in 6.04_pre3.