[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Defaults when cross-compiling
From: |
Michael T. Kloos |
Subject: |
Defaults when cross-compiling |
Date: |
Mon, 6 Nov 2023 22:39:27 -0500 |
User-agent: |
Mozilla Thunderbird |
I was trying to cross-compile bash for musl libc. The configure script reports:
checking for working sbrk... configure: WARNING: cannot check working sbrk if
cross-compiling
yes
However, I don't believe musl libc supports sbrk. However, autoconf seems to
default
to assuming yes and sets the HAVE_SBRK definition. Bash then crashes on
xmalloc failure.
Is this intended behavior?
- Defaults when cross-compiling,
Michael T. Kloos <=