Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/
Date: Sun, 07 Nov 2021 03:59:31
Message-Id: 1636257539.7f545c8ab490e3da017fb473c506c390954c5ec0.sam@gentoo
1 commit: 7f545c8ab490e3da017fb473c506c390954c5ec0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 03:54:54 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 03:58:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f545c8a
7
8 profiles: refine LLVM sanitizers mask for musl (more finely-grained)
9
10 Some sanitizers work now.
11
12 Bug: https://bugs.gentoo.org/753935
13 Closes: https://bugs.gentoo.org/713072
14 Reported-by: maskray
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 profiles/default/linux/musl/package.use.mask | 5 +----
18 profiles/features/musl/package.use.mask | 11 ++++++++++-
19 2 files changed, 11 insertions(+), 5 deletions(-)
20
21 diff --git a/profiles/default/linux/musl/package.use.mask b/profiles/default/linux/musl/package.use.mask
22 index 113ac0bd81a..f06ca2ec25a 100644
23 --- a/profiles/default/linux/musl/package.use.mask
24 +++ b/profiles/default/linux/musl/package.use.mask
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 +# Copyright 1999-2021 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 # See bug #604542
31 @@ -7,9 +7,6 @@ net-misc/iputils idn
32 # See bug #504200
33 sys-devel/gcc sanitize
34
35 -# Disable sanitizers for LLVM, see bug #753935
36 -sys-devel/clang-runtime sanitize
37 -
38 # These cause collisions with <libintl.h>
39 # even with --without-included-gettext
40 sys-devel/gettext nls
41
42 diff --git a/profiles/features/musl/package.use.mask b/profiles/features/musl/package.use.mask
43 index 58cd6477116..3e078c97218 100644
44 --- a/profiles/features/musl/package.use.mask
45 +++ b/profiles/features/musl/package.use.mask
46 @@ -1,6 +1,15 @@
47 -# Copyright 1999-2020 Gentoo Authors.
48 +# Copyright 1999-2021 Gentoo Authors.
49 # Distributed under the terms of the GNU General Public License v2
50
51 +# Sam James <sam@g.o> (2021-11-07)
52 +# Disable some sanitizers for LLVM, see bug #753935
53 +# Needs libexecinfo on musl, not yet packaged
54 +sys-libs/compiler-rt-sanitizers gwp-asan libfuzzer
55 +
56 +# Sam James <sam@g.o> (2021-11-07)
57 +# Broken as "error: unknown type name '_Unwind_Word'"
58 +sys-libs/compiler-rt-sanitizers hwasan
59 +
60 # Andreas K. Hüttel <dilfridge@g.o>
61 # Restore mask here that is gone elsewhere
62 sys-libs/libxcrypt split-usr system