1 |
commit: be5325508d65c252445fd1b9eb5504866db28759 |
2 |
Author: Georgy Yakovlev <ya <AT> sysdump <DOT> net> |
3 |
AuthorDate: Sun Mar 4 09:52:41 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 4 10:52:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be532550 |
7 |
|
8 |
profiles/*/musl: package.use.mask app-shells/bash[mem-scramble] |
9 |
|
10 |
mem-scramble enables bash-malloc which relies on sbrk |
11 |
which is implemented as a fail-only stub in musl. |
12 |
Enabling it will break bash (and portage) horribly. |
13 |
xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated) |
14 |
|
15 |
profiles/default/linux/musl/package.use.mask | 5 +++++ |
16 |
profiles/features/musl/package.use.mask | 5 +++++ |
17 |
2 files changed, 10 insertions(+) |
18 |
|
19 |
diff --git a/profiles/default/linux/musl/package.use.mask b/profiles/default/linux/musl/package.use.mask |
20 |
index 76e6603a602..1d3c7789f41 100644 |
21 |
--- a/profiles/default/linux/musl/package.use.mask |
22 |
+++ b/profiles/default/linux/musl/package.use.mask |
23 |
@@ -17,3 +17,8 @@ sys-fs/e2fsprogs nls |
24 |
|
25 |
# See bug #576928 |
26 |
media-libs/mesa nptl |
27 |
+ |
28 |
+# bash-malloc relies on sbrk which is implemented |
29 |
+# as a fail-only stub in musl. breaks horribly if enabled. |
30 |
+# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated) |
31 |
+app-shells/bash mem-scramble |
32 |
|
33 |
diff --git a/profiles/features/musl/package.use.mask b/profiles/features/musl/package.use.mask |
34 |
index 2c0a91e428e..05d01c6e1e8 100644 |
35 |
--- a/profiles/features/musl/package.use.mask |
36 |
+++ b/profiles/features/musl/package.use.mask |
37 |
@@ -17,3 +17,8 @@ sys-fs/e2fsprogs nls |
38 |
|
39 |
# See bug #576928 |
40 |
media-libs/mesa nptl |
41 |
+ |
42 |
+# bash-malloc relies on sbrk which is implemented |
43 |
+# as a fail-only stub in musl. breaks horribly if enabled. |
44 |
+# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated) |
45 |
+app-shells/bash mem-scramble |