commit: 8db889827661b38cfbe74f335e095a4288a83ff7 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Oct 17 00:56:55 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Oct 17 00:57:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db88982
sys-devel/binutils: drop forced exec stack warnings for alt-arches This keeps them on by default, but it doesn't override the build system disabling them for MIPS and so on. I've asked upstream about the unexpected/counterintuitive behaviour: https://sourceware.org/bugzilla/show_bug.cgi?id=29592#c10. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29592 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{binutils-2.39-r3.ebuild => binutils-2.39-r4.ebuild} | 12 ++++++------ sys-devel/binutils/binutils-9999.ebuild | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys-devel/binutils/binutils-2.39-r3.ebuild b/sys-devel/binutils/binutils-2.39-r4.ebuild similarity index 97% rename from sys-devel/binutils/binutils-2.39-r3.ebuild rename to sys-devel/binutils/binutils-2.39-r4.ebuild index 27930510b19c..3ac03a449cb4 100644 --- a/sys-devel/binutils/binutils-2.39-r3.ebuild +++ b/sys-devel/binutils/binutils-2.39-r4.ebuild @@ -248,12 +248,12 @@ src_configure() { # Available from 2.35 on --enable-textrel-check=warning - # Available from 2.39 on - --enable-warn-execstack - --enable-warn-rwx-segments - # TODO: Available from 2.39+ on but let's try the warning on for a bit - # first... (--enable-warn-execstack) - # Could put it under USE=hardened? + # These hardening options are available from 2.39+ but + # they unconditionally enable the behaviour even on arches + # where e.g. execstacks can't be avoided. + # See https://sourceware.org/bugzilla/show_bug.cgi?id=29592. + #--enable-warn-execstack + #--enable-warn-rwx-segments #--disable-default-execstack (or is it --enable-default-execstack=no? docs are confusing) # Things to think about diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index c1e00302b97f..29f4e844ce60 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -249,12 +249,12 @@ src_configure() { # Available from 2.35 on --enable-textrel-check=warning - # Available from 2.39 on - --enable-warn-execstack - --enable-warn-rwx-segments - # TODO: Available from 2.39+ on but let's try the warning on for a bit - # first... (--enable-warn-execstack) - # Could put it under USE=hardened? + # These hardening options are available from 2.39+ but + # they unconditionally enable the behaviour even on arches + # where e.g. execstacks can't be avoided. + # See https://sourceware.org/bugzilla/show_bug.cgi?id=29592. + #--enable-warn-execstack + #--enable-warn-rwx-segments #--disable-default-execstack (or is it --enable-default-execstack=no? docs are confusing) # Things to think about
