summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-21 16:17:38 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-21 20:06:07 +0100
commit9dcb7bb2b40b43c6d2f3573ca0d5ac72902a904f (patch)
treef2397ad992ea0e52c15d562a1a04d8d3610da2c9 /profiles
parentsys-libs/compiler-rt-sanitizers: Update REQUIRED_USE (diff)
downloadgentoo-9dcb7bb2b40b43c6d2f3573ca0d5ac72902a904f.tar.gz
gentoo-9dcb7bb2b40b43c6d2f3573ca0d5ac72902a904f.tar.bz2
gentoo-9dcb7bb2b40b43c6d2f3573ca0d5ac72902a904f.zip
profiles: Mask sys-libs/compiler-rt-sanitizers flags per arch
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/amd64/package.use.mask7
-rw-r--r--profiles/arch/arm/package.use.mask6
-rw-r--r--profiles/arch/arm64/package.use.mask7
-rw-r--r--profiles/arch/base/package.use.mask7
-rw-r--r--profiles/arch/powerpc/ppc64/64le/package.use.mask4
-rw-r--r--profiles/arch/powerpc/ppc64/package.use.mask6
-rw-r--r--profiles/arch/x86/package.use.mask7
-rw-r--r--profiles/base/package.use.mask4
8 files changed, 48 insertions, 0 deletions
diff --git a/profiles/arch/amd64/package.use.mask b/profiles/arch/amd64/package.use.mask
index 2b2694a793d3..d83595a84077 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,13 @@
#--- END OF EXAMPLES ---
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Sanitizers supported on this architecture.
+sys-libs/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
+sys-libs/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
+sys-libs/compiler-rt-sanitizers -gwp-asan
+sys-libs/compiler-rt-sanitizers -libfuzzer -profile -xray
+
# Sam James <sam@gentoo.org> (2020-10-24)
# asm redc is only available on amd64,
# ppc64. bug #750974.
diff --git a/profiles/arch/arm/package.use.mask b/profiles/arch/arm/package.use.mask
index 1063049785bc..0c7160495a10 100644
--- a/profiles/arch/arm/package.use.mask
+++ b/profiles/arch/arm/package.use.mask
@@ -1,6 +1,12 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Sanitizers supported on this architecture.
+sys-libs/compiler-rt-sanitizers -asan -lsan
+sys-libs/compiler-rt-sanitizers -ubsan -cfi -scudo
+sys-libs/compiler-rt-sanitizers -profile -xray
+
# Rick Farina <zerochaos@gentoo.org> (2020-12-18)
# net-wireless/libxtrx et all needs testing
net-wireless/gr-osmosdr xtrx
diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask
index ca81a3769c15..0f213e366959 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,13 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Sanitizers supported on this architecture.
+sys-libs/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
+sys-libs/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
+sys-libs/compiler-rt-sanitizers -gwp-asan -shadowcallstack
+sys-libs/compiler-rt-sanitizers -libfuzzer -profile -xray
+
# Sam James <sam@gentoo.org> (2020-12-13)
# Requires unkeyworded, fetch-restricted deps
net-proxy/haproxy device-atlas
diff --git a/profiles/arch/base/package.use.mask b/profiles/arch/base/package.use.mask
index d10aafdf6f81..252425612e92 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -1,6 +1,13 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Mask all sanitizers by default, unmask on arches supporting them.
+sys-libs/compiler-rt-sanitizers asan dfsan lsan msan hwasan tsan
+sys-libs/compiler-rt-sanitizers ubsan safestack cfi scudo
+sys-libs/compiler-rt-sanitizers shadowcallstack gwp-asan
+sys-libs/compiler-rt-sanitizers libfuzzer profile xray
+
# Sam James <sam@gentoo.org> (2020-10-24)
# asm redc is only available on amd64,
# ppc64. bug #750974.
diff --git a/profiles/arch/powerpc/ppc64/64le/package.use.mask b/profiles/arch/powerpc/ppc64/64le/package.use.mask
index 15d4e1a89beb..2d307a37a11d 100644
--- a/profiles/arch/powerpc/ppc64/64le/package.use.mask
+++ b/profiles/arch/powerpc/ppc64/64le/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Additional sanitizers supported on ppc64le.
+sys-libs/compiler-rt-sanitizers -xray
+
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-10-05)
# dropbox requires binaries unavaliable for ppc64
kde-apps/kdenetwork-meta webengine
diff --git a/profiles/arch/powerpc/ppc64/package.use.mask b/profiles/arch/powerpc/ppc64/package.use.mask
index f9e76e04e48e..bc14bad27877 100644
--- a/profiles/arch/powerpc/ppc64/package.use.mask
+++ b/profiles/arch/powerpc/ppc64/package.use.mask
@@ -1,6 +1,12 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Sanitizers supported on this architecture.
+sys-libs/compiler-rt-sanitizers -asan -lsan -msan -tsan
+sys-libs/compiler-rt-sanitizers -ubsan -scudo
+sys-libs/compiler-rt-sanitizers -profile
+
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-01-25)
# fwupd keyworded now on ppc64
kde-plasma/discover -firmware
diff --git a/profiles/arch/x86/package.use.mask b/profiles/arch/x86/package.use.mask
index 5bc1d716eb83..5d8f747b1f70 100644
--- a/profiles/arch/x86/package.use.mask
+++ b/profiles/arch/x86/package.use.mask
@@ -1,6 +1,13 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# Sanitizers supported on this architecture.
+sys-libs/compiler-rt-sanitizers -asan -lsan
+sys-libs/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
+sys-libs/compiler-rt-sanitizers -gwp-asan
+sys-libs/compiler-rt-sanitizers -profile
+
# Alexey Sokolov <alexey+gentoo@asokolov.org> (2020-10-28)
# dev-qt/linguist-tools-5.15.0 and 5.15.1 OOM with bad_alloc.
# https://bugs.gentoo.org/751418
diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 496ca7555ae7..ae1466cba6a5 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,10 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.
+# Michał Górny <mgorny@gentoo.org> (2020-12-21)
+# LSAN is currently broken (due to new glibc?)
+<sys-libs/compiler-rt-sanitizers-12 lsan
+
# Rick Farina <zerochaos@gentoo.org> (2020-12-21)
# This use flag enables code which appears to be broken
net-wireless/gr-osmosdr xtrx