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. RWX --- --- usr/bin/mpeg2desc Reproducible: Always
it's because of this fun guy: src/mpeg2desc.c: /* GCC extension! nested routine */ void bufread(void *ptr, int len, bool required)
Some more info on this: This is the commit introducing the nested function: https://github.com/ldo/dvdauthor/commit/3dcfc72831cdd3f9d86432db2dacc33a01116dba Later on makefile changes were made to detect whether the compiler supports it: https://github.com/ldo/dvdauthor/commit/3d7b6ad07a9c00d2f0309b839ac0194444ecb551
Created attachment 465098 [details, diff] remove nested function resulting in RWX section Use this patch to copy in /etc/portage/patches/media-video/dvdauthor-{version}/ directory to get rid of the RWX section.
(In reply to Attila Tóth from comment #3) that's one way of doing it, but it means losing functionality
tinderbox has reproduced this issue with version 0.7.2-r2 - Updating summary.
(In reply to Agostino Sarubbo from comment #5) > tinderbox has reproduced this issue with version 0.7.2-r2 - Updating summary. Getting rid of the nested section still corrects the executable sections - although at the cost of performance as it was perviously pointed out by Vapier...
gcc14_tinderbox has reproduced this issue with version 0.7.2-r3 - Updating summary.