profiles/*/musl: package.use.mask app-shells/bash[mem-scramble]
authorGeorgy Yakovlev <ya@sysdump.net>
Sun, 4 Mar 2018 09:52:41 +0000 (01:52 -0800)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 4 Mar 2018 10:52:04 +0000 (05:52 -0500)
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
profiles/features/musl/package.use.mask

index 76e6603a60269161b812d0cb2a5f2af94b2948f0..1d3c7789f41648d5a8552d298bdea9e441fb52b0 100644 (file)
@@ -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
index 2c0a91e428ed451bcf413caa2e943f665caa1598..05d01c6e1e8b4f71a1b352c1099adfaa74dec8de 100644 (file)
@@ -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