[gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/

2022-08-20 Thread Sam James
commit: c2987a324e7f3cb20bbeff6d2a83c69f3d1a2dc1
Author: Alfred Persson Forsberg  catcream  org>
AuthorDate: Wed Jul 27 20:54:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 21 04:53:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2987a32

profiles/*/musl/package.mask: unmask www-client/firefox

This unmasks Firefox and use.mask's clang and pgo.

Bug: https://bugs.gentoo.org/829033
Signed-off-by: Alfred Persson Forsberg  catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/24663
Closes: https://github.com/gentoo/gentoo/pull/26629
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/profiles/default/linux/musl/package.mask 
b/profiles/default/linux/musl/package.mask
index c90ad0cedaf6..369b436b9733 100644
--- a/profiles/default/linux/musl/package.mask
+++ b/profiles/default/linux/musl/package.mask
@@ -82,9 +82,3 @@ media-video/binkplayer
 # Binary package for glibc. Could be built from source but would take ages and
 # isn't worth the maintenance cost.
 dev-libs/nwjs
-
-# Ian Stakenvicius, 2017-06-14
-# on behalf of mozi...@gentoo.org
-# Mask firefox-54 and above as it requires rust
-# now, and rust reportedly will not build yet.
->=www-client/firefox-54.0

diff --git a/profiles/features/musl/package.mask 
b/profiles/features/musl/package.mask
index 63dd6903ed0a..6b934461e79c 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -291,12 +291,6 @@ sys-apps/systemd
 # systemd sources fail to build without glibc
 sys-boot/systemd-boot
 
-# Ian Stakenvicius  (2017-06-14)
-# (on behalf of )
-# Mask firefox-54 and above as it requires rust
-# now, and rust reportedly will not build yet.
->=www-client/firefox-54.0
-
 # rust-bin requires a glibc system
 dev-lang/rust-bin
 mail-client/thunderbird-bin

diff --git a/profiles/features/musl/package.use.mask 
b/profiles/features/musl/package.use.mask
index 24959cbeda7e..da3424102afd 100644
--- a/profiles/features/musl/package.use.mask
+++ b/profiles/features/musl/package.use.mask
@@ -1,6 +1,11 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Alfred Persson Forsberg  (2022-07-27)
+# Firefox does not build with these flags enabled on musl libc.
+# See bug #829033
+www-client/firefox clang pgo
+
 # Ionen Wolkens 

[gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/

2021-11-06 Thread Sam James
commit: 7f545c8ab490e3da017fb473c506c390954c5ec0
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  7 03:54:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  7 03:58:59 2021 +
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  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 
 # 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  (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  (2021-11-07)
+# Broken as "error: unknown type name '_Unwind_Word'"
+sys-libs/compiler-rt-sanitizers hwasan
+
 # Andreas K. Hüttel 
 # Restore mask here that is gone elsewhere
 sys-libs/libxcrypt split-usr system



[gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/

2018-03-04 Thread Anthony G. Basile
commit: be5325508d65c252445fd1b9eb5504866db28759
Author: Georgy Yakovlev  sysdump  net>
AuthorDate: Sun Mar  4 09:52:41 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Mar  4 10:52:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be532550

profiles/*/musl: package.use.mask app-shells/bash[mem-scramble]

mem-scramble enables bash-malloc which relies on sbrk
which is implemented as a fail-only stub in musl.
Enabling it will break bash (and portage) horribly.
xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)

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

diff --git a/profiles/default/linux/musl/package.use.mask 
b/profiles/default/linux/musl/package.use.mask
index 76e6603a602..1d3c7789f41 100644
--- a/profiles/default/linux/musl/package.use.mask
+++ b/profiles/default/linux/musl/package.use.mask
@@ -17,3 +17,8 @@ sys-fs/e2fsprogs nls
 
 # See bug #576928
 media-libs/mesa nptl
+
+# bash-malloc relies on sbrk which is implemented
+# as a fail-only stub in musl. breaks horribly if enabled.
+# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)
+app-shells/bash mem-scramble

diff --git a/profiles/features/musl/package.use.mask 
b/profiles/features/musl/package.use.mask
index 2c0a91e428e..05d01c6e1e8 100644
--- a/profiles/features/musl/package.use.mask
+++ b/profiles/features/musl/package.use.mask
@@ -17,3 +17,8 @@ sys-fs/e2fsprogs nls
 
 # See bug #576928
 media-libs/mesa nptl
+
+# bash-malloc relies on sbrk which is implemented
+# as a fail-only stub in musl. breaks horribly if enabled.
+# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)
+app-shells/bash mem-scramble