Additional Patch for bash
Fri May 26 06:15:00 GMT 2000
>> The problem that is fixed by my patch is as follows:
>> bash-distribution uses an old config.guess which creates results like:
>> and then later checks for *cygwin32 in the configure script.
>> recent versions of config.guess return
>> i686-pc-cygwin (!! no 32 at the end !!)
>> and, as a result, configure does not react correctly and a bash build on base
>> this configure stackdumps.
>> This behaviour is reproduceable with either the original bash-2.04.tar.gz or
>> bash-2.0.4-src.tar.gz in the LATEST directory on sourceware.
>> Michael Ring
>But, I didn't/don't have your problem. So, why should we do a patch. The real
>patch is to replace the config.guess, config.sub in bash after unarchiving the
You are right in one point, the patch should also include config.guess and
config.sub to make sense; because if you apply the patch without exchanging
config.guess then bash will also stackdump.
Here's the important line from configure:
-*-cygwin32*) opt_bash_malloc=no ;; # Cygnus's CYGWIN32 environment
+*-cygwin*) opt_bash_malloc=no ;; # Cygnus's CYGWIN32 environment
After exchanging config.guess opt_bash_malloc will not be set to no ==>
Stackdump during initialisation of bash.
Did you build bash inside the cygwin sourcetree or standalone ?
I built it standalone; perhaps there is a difference.
More information about the Cygwin-apps