Bash's malloc relies on sbrk which is implemented as a fail-only stub in
musl. Presently, it is disabled when configured for static
libs. Instead, default to using libc malloc.
Fixes:
# bash
bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)
Signed-off-by: Daniel Sabogal <dsabogalcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
bash44-001.patch | ||
bash44-002.patch | ||
bash44-003.patch | ||
bash44-004.patch | ||
bash44-005.patch | ||
bash44-006.patch | ||
bash44-007.patch | ||
bash44-008.patch | ||
bash44-009.patch | ||
bash44-010.patch | ||
bash44-011.patch | ||
bash44-012.patch | ||
bash.hash | ||
bash.mk | ||
Config.in |