diff options
author | Sam James <sam@gentoo.org> | 2023-02-03 07:10:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-03 07:10:41 +0000 |
commit | ee5aadc4bb62d5479d8bc31fa06eb2e5a1bbacc3 (patch) | |
tree | e3641f1fb952062a4396d4baa3786afc360647e5 /sys-devel/clang-common | |
parent | media-libs/libffado: depend on fixed dbus-c++ (diff) | |
download | gentoo-ee5aadc4bb62d5479d8bc31fa06eb2e5a1bbacc3.tar.gz gentoo-ee5aadc4bb62d5479d8bc31fa06eb2e5a1bbacc3.tar.bz2 gentoo-ee5aadc4bb62d5479d8bc31fa06eb2e5a1bbacc3.zip |
sys-devel/clang-common: drop -fstack-clash-protection
There's very likely some Clang miscompilation occurring with -fstack-clash-protection,
GCC's implementation is fine. Both qtcore and chromium have been reported
to misbehave at runtime when built with Clang's.
Drop it for now until we can look into it more or Clang gets fixed.
Closes: https://bugs.gentoo.org/865339
Closes: https://bugs.gentoo.org/892537
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/clang-common')
-rw-r--r-- | sys-devel/clang-common/clang-common-15.0.7-r2.ebuild (renamed from sys-devel/clang-common/clang-common-15.0.7-r1.ebuild) | 3 | ||||
-rw-r--r-- | sys-devel/clang-common/clang-common-16.0.0_pre20230107-r2.ebuild (renamed from sys-devel/clang-common/clang-common-16.0.0_pre20230107-r1.ebuild) | 3 | ||||
-rw-r--r-- | sys-devel/clang-common/clang-common-16.0.0_pre20230127-r1.ebuild (renamed from sys-devel/clang-common/clang-common-16.0.0_pre20230127.ebuild) | 3 | ||||
-rw-r--r-- | sys-devel/clang-common/clang-common-16.0.0_rc1-r1.ebuild (renamed from sys-devel/clang-common/clang-common-16.0.0_rc1.ebuild) | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/sys-devel/clang-common/clang-common-15.0.7-r1.ebuild b/sys-devel/clang-common/clang-common-15.0.7-r2.ebuild index 651827d21197..2adff08df36d 100644 --- a/sys-devel/clang-common/clang-common-15.0.7-r1.ebuild +++ b/sys-devel/clang-common/clang-common-15.0.7-r2.ebuild @@ -90,10 +90,11 @@ src_install() { EOF # Baseline hardening (bug #851111) + # (-fstack-clash-protection is omitted because of a possible Clang bug, + # see bug #892537 and bug #865339.) newins - gentoo-hardened.cfg <<-EOF # Some of these options are added unconditionally, regardless of # USE=hardened, for parity with sys-devel/gcc. - -fstack-clash-protection -fstack-protector-strong -fPIE -include "${EPREFIX}/usr/include/gentoo/fortify.h" diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20230107-r1.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20230107-r2.ebuild index 3c407f5a1af6..d5df949d5d96 100644 --- a/sys-devel/clang-common/clang-common-16.0.0_pre20230107-r1.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0_pre20230107-r2.ebuild @@ -90,10 +90,11 @@ src_install() { EOF # Baseline hardening (bug #851111) + # (-fstack-clash-protection is omitted because of a possible Clang bug, + # see bug #892537 and bug #865339.) newins - gentoo-hardened.cfg <<-EOF # Some of these options are added unconditionally, regardless of # USE=hardened, for parity with sys-devel/gcc. - -fstack-clash-protection -fstack-protector-strong -fPIE -include "${EPREFIX}/usr/include/gentoo/fortify.h" diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20230127.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20230127-r1.ebuild index be17e87b775a..c04c266d94c8 100644 --- a/sys-devel/clang-common/clang-common-16.0.0_pre20230127.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0_pre20230127-r1.ebuild @@ -90,10 +90,11 @@ src_install() { EOF # Baseline hardening (bug #851111) + # (-fstack-clash-protection is omitted because of a possible Clang bug, + # see bug #892537 and bug #865339.) newins - gentoo-hardened.cfg <<-EOF # Some of these options are added unconditionally, regardless of # USE=hardened, for parity with sys-devel/gcc. - -fstack-clash-protection -fstack-protector-strong -fPIE -include "${EPREFIX}/usr/include/gentoo/fortify.h" diff --git a/sys-devel/clang-common/clang-common-16.0.0_rc1.ebuild b/sys-devel/clang-common/clang-common-16.0.0_rc1-r1.ebuild index 3c407f5a1af6..d5df949d5d96 100644 --- a/sys-devel/clang-common/clang-common-16.0.0_rc1.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0_rc1-r1.ebuild @@ -90,10 +90,11 @@ src_install() { EOF # Baseline hardening (bug #851111) + # (-fstack-clash-protection is omitted because of a possible Clang bug, + # see bug #892537 and bug #865339.) newins - gentoo-hardened.cfg <<-EOF # Some of these options are added unconditionally, regardless of # USE=hardened, for parity with sys-devel/gcc. - -fstack-clash-protection -fstack-protector-strong -fPIE -include "${EPREFIX}/usr/include/gentoo/fortify.h" |