commit:     7f545c8ab490e3da017fb473c506c390954c5ec0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  7 03:54:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  7 03:58:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f545c8a

profiles: refine LLVM sanitizers mask for musl (more finely-grained)

Some sanitizers work now.

Bug: https://bugs.gentoo.org/753935
Closes: https://bugs.gentoo.org/713072
Reported-by: maskray
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/default/linux/musl/package.use.mask |  5 +----
 profiles/features/musl/package.use.mask      | 11 ++++++++++-
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/profiles/default/linux/musl/package.use.mask 
b/profiles/default/linux/musl/package.use.mask
index 113ac0bd81a..f06ca2ec25a 100644
--- a/profiles/default/linux/musl/package.use.mask
+++ b/profiles/default/linux/musl/package.use.mask
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # See bug #604542
@@ -7,9 +7,6 @@ net-misc/iputils idn
 # See bug #504200
 sys-devel/gcc sanitize
 
-# Disable sanitizers for LLVM, see bug #753935
-sys-devel/clang-runtime sanitize
-
 # These cause collisions with <libintl.h>
 # even with --without-included-gettext
 sys-devel/gettext nls

diff --git a/profiles/features/musl/package.use.mask 
b/profiles/features/musl/package.use.mask
index 58cd6477116..3e078c97218 100644
--- a/profiles/features/musl/package.use.mask
+++ b/profiles/features/musl/package.use.mask
@@ -1,6 +1,15 @@
-# Copyright 1999-2020 Gentoo Authors.
+# Copyright 1999-2021 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2021-11-07)
+# Disable some sanitizers for LLVM, see bug #753935
+# Needs libexecinfo on musl, not yet packaged
+sys-libs/compiler-rt-sanitizers gwp-asan libfuzzer
+
+# Sam James <[email protected]> (2021-11-07)
+# Broken as "error: unknown type name '_Unwind_Word'"
+sys-libs/compiler-rt-sanitizers hwasan
+
 # Andreas K. Hüttel <[email protected]>
 # Restore mask here that is gone elsewhere
 sys-libs/libxcrypt split-usr system

Reply via email to