summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-20 07:12:26 +0000
committerSam James <sam@gentoo.org>2023-12-20 07:14:16 +0000
commit0b22d07f89b16ac3400e45077702ac4c4492e5a4 (patch)
tree1babb15d1b7e089e2208695c886e7a94b361c63b /net-misc/datapipe
parentdev-ruby/recog: add 3.1.3 (diff)
downloadgentoo-0b22d07f89b16ac3400e45077702ac4c4492e5a4.tar.gz
gentoo-0b22d07f89b16ac3400e45077702ac4c4492e5a4.tar.bz2
gentoo-0b22d07f89b16ac3400e45077702ac4c4492e5a4.zip
net-misc/openssh: disable problematic -fzero-call-used-regs=*
--with-hardening adds the following in addition to flags we already set in our toolchain: * -ftrapv (which is broken with GCC anyway), * -ftrivial-auto-var-init=zero (which is nice, but not the end of the world to not have) * -fzero-call-used-regs=used (history of miscompilations with Clang (bug #872548), ICEs on m68k (bug #920350, gcc PR113086, gcc PR104820, gcc PR104817, gcc PR110934)). Furthermore, OSSH_CHECK_CFLAG_COMPILE does not use AC_CACHE_CHECK, so we cannot just disable -fzero-call-used-regs=used. Therefore, just pass --without-hardening, given it doesn't negate our already hardened toolchain defaults, and avoids adding flags which are known-broken in both Clang and GCC and haven't been proven reliable. Bug: https://bugs.gentoo.org/872548 Bug: https://bugs.gentoo.org/920350 Bug: https://bugs.gentoo.org/920292 Bug: https://gcc.gnu.org/PR113086 Bug: https://gcc.gnu.org/PR104820 Bug: https://gcc.gnu.org/PR104817 Bug: https://gcc.gnu.org/PR110934 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/datapipe')
0 files changed, 0 insertions, 0 deletions