summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-30 18:32:26 +0000
committerSam James <sam@gentoo.org>2024-01-30 18:33:34 +0000
commitdf5d86071fb5264afae87106688ef3d638bf8798 (patch)
tree690ded269b33b11e8c3701d94221ec8cd8d01f9c /sys-devel/binutils
parentapp-editors/emacs: Fix declarations in configure.ac (diff)
downloadgentoo-df5d86071fb5264afae87106688ef3d638bf8798.tar.gz
gentoo-df5d86071fb5264afae87106688ef3d638bf8798.tar.bz2
gentoo-df5d86071fb5264afae87106688ef3d638bf8798.zip
Revert "sys-devel/binutils: error out on exec stack & rwx segments for hardened for >=2.42"
This reverts commit df504c5e4541535356b6d83373dd2c82992ae2d8. Breaks glibc test suite. Revert for now. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r--sys-devel/binutils/binutils-2.42.ebuild5
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys-devel/binutils/binutils-2.42.ebuild b/sys-devel/binutils/binutils-2.42.ebuild
index 52950e6376e6..f672a65f1fb4 100644
--- a/sys-devel/binutils/binutils-2.42.ebuild
+++ b/sys-devel/binutils/binutils-2.42.ebuild
@@ -314,8 +314,9 @@ src_configure() {
if use hardened ; then
myconf+=(
- --enable-error-execstack=yes
- --enable-error-rwx-segments=yes
+ # TOOD: breaks glibc test suite
+ #--enable-error-execstack=yes
+ #--enable-error-rwx-segments=yes
--enable-default-execstack=no
)
fi
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
index cf70b25e7676..f7eab0eff629 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -314,8 +314,9 @@ src_configure() {
if use hardened ; then
myconf+=(
- --enable-error-execstack=yes
- --enable-error-rwx-segments=yes
+ # TOOD: breaks glibc test suite
+ #--enable-error-execstack=yes
+ #--enable-error-rwx-segments=yes
--enable-default-execstack=no
)
fi