public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/
@ 2018-03-04 10:53 Anthony G. Basile
  0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2018-03-04 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     be5325508d65c252445fd1b9eb5504866db28759
Author:     Georgy Yakovlev <ya <AT> sysdump <DOT> net>
AuthorDate: Sun Mar  4 09:52:41 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Mar  4 10:52:04 2018 +0000
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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/
@ 2021-11-07  3:59 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-11-07  3:59 UTC (permalink / raw
  To: gentoo-commits

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 <sam@gentoo.org> (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 <sam@gentoo.org> (2021-11-07)
+# Broken as "error: unknown type name '_Unwind_Word'"
+sys-libs/compiler-rt-sanitizers hwasan
+
 # Andreas K. Hüttel <dilfridge@gentoo.org>
 # Restore mask here that is gone elsewhere
 sys-libs/libxcrypt split-usr system


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/
@ 2022-08-21  4:53 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-08-21  4:53 UTC (permalink / raw
  To: gentoo-commits

commit:     c2987a324e7f3cb20bbeff6d2a83c69f3d1a2dc1
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Wed Jul 27 20:54:51 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 21 04:53:03 2022 +0000
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 <cat <AT> catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/24663
Closes: https://github.com/gentoo/gentoo/pull/26629
Signed-off-by: Sam James <sam <AT> 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 mozilla@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 <axs@gentoo.org> (2017-06-14)
-# (on behalf of <mozilla@gentoo.org>)
-# 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 <cat@catcream.org> (2022-07-27)
+# Firefox does not build with these flags enabled on musl libc.
+# See bug #829033
+www-client/firefox clang pgo
+
 # Ionen Wolkens <ionen@gentoo.org (2022-06-08)
 # Depends on www-plugins/chrome-binary-plugins which is masked here.
 www-client/qutebrowser widevine


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-21  4:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-07  3:59 [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, profiles/default/linux/musl/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-08-21  4:53 Sam James
2018-03-04 10:53 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox