Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646482 - sys-boot/syslinux-6.04_pre1-r2 - QA Notice: The following files contain writable and executable sections
Summary: sys-boot/syslinux-6.04_pre1-r2 - QA Notice: The following files contain writa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-03 12:53 UTC by Francesco Turco
Modified: 2022-05-30 20:14 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,41.87 KB, application/x-xz)
2018-02-03 12:53 UTC, Francesco Turco
Details
emerge --info syslinux (info.txt,5.78 KB, text/plain)
2018-02-03 12:54 UTC, Francesco Turco
Details
Emerge failure: sys-boot/syslinux-6.04_pre1::gentoo failed: Aborting due to QA concerns: execstacks (build.log.xz,37.48 KB, application/x-xz)
2019-01-17 18:02 UTC, Giuseppe Scaglione
Details
emerge --info (emerge--info.txt,5.33 KB, text/plain)
2019-01-17 18:03 UTC, Giuseppe Scaglione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2018-02-03 12:53:40 UTC
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
Comment 1 Francesco Turco 2018-02-03 12:54:09 UTC
Created attachment 517656 [details]
emerge --info syslinux
Comment 2 Giuseppe Scaglione 2019-01-17 18:02:01 UTC
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}"
Comment 3 Giuseppe Scaglione 2019-01-17 18:03:09 UTC
Created attachment 561718 [details]
emerge --info
Comment 4 Mike Gilbert gentoo-dev 2019-01-17 18:13:44 UTC
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.
Comment 5 Agostino Sarubbo gentoo-dev 2021-10-17 07:13:29 UTC
tinderbox has reproduced this issue with version 6.04_pre1-r2 - Updating summary.
Comment 6 Mike Gilbert gentoo-dev 2022-05-30 20:14:30 UTC
I set QA_WX_LOAD and QA_EXECSTACK in 6.04_pre3.