On 7/3/23 2:33 AM, Fabian Groffen wrote:
This is a Gentoo-specific problem. When we are bootstrapping a Prefix,
we need an updated bash very early on in the process. On some systems,
we experienced compilation failures in the readline component. Since
this interactive part isn't important at this point (the bootstrapped
bash is simply used for executing scripts, and replaced as soon as we
can with a proper-built one via an ebuild instead) I decided to work
around compilation and runtime problems we've seen on e.g. Darwin 9 and
use --disable-readline (and --without-bash-malloc on musl).
That said, this really is a workaround. If the bundled readline would
have compiled and linked fine, I'd never disabled it for the moment.
I'll see if I can check this week if the system in question will compile
a newer version or any version with readline.
I'd be interested in seeing what the compilation or linking issues are.
If we have a complete dev environment -- one that's capable of compiling
bash, which is more demanding of the environment than readline -- we
should be able to fix whatever readline compilation problems come up.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/