This is the mail archive of the
cygwin-apps@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Additional Patch for bash
- To: "earnie_boyd at yahoo dot com" <earnie_boyd at yahoo dot com>
- Subject: Re: Additional Patch for bash
- From: "Michael Ring" <Michael dot Ring at t-mobil dot de>
- Date: 26 May 2000 13:13:29 +0000
- Autoforwarded: FALSE
- Cc: "cygwin-apps at sourceware dot cygnus dot com" <cygwin-apps at sourceware dot cygnus dot com>
- Discarded-X400-MTS-Extensions: (43) (12) (2) (135) (115) (5) (6) (3)
- Original-Encoded-Information-Types: (1) (0) (10021) (7) (1) (0) (6), (1) (0) (10021) (7) (1) (0) (1)
- X400-Content-Identifier: C1668IMC39JUE
- X400-Content-Type: P2-1988 (22)
- X400-MTS-Identifier: [/PRMD=DTM/ADMD=DBP/C=DE/;30E03B2811D4331800AA6AA1]
- X400-Originator: Michael.Ring@t-mobil.de
- X400-Received: by mta MB400-SMTP in /PRMD=DTM/ADMD=DBP/C=DE/;Relayed ; 26 May 2000 13:13:29 +0000
- X400-Received: by mta MB400-DXCW04 in /PRMD=DTM/ADMD=DBP/C=DE/;Relayed ; 26 May 2000 13:13:29 +0000
- X400-Recipients: earnie_boyd@yahoo.com, cygwin-apps@sourceware.cygnus.com
>> The problem that is fixed by my patch is as follows:
>>
>> bash-distribution uses an old config.guess which creates results like:
>>
>> i686-pc-cygwin32
>>
>> 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
>> of
>> this configure stackdumps.
>>
>> This behaviour is reproduceable with either the original bash-2.04.tar.gz or
>> the
>> bash-2.0.4-src.tar.gz in the LATEST directory on sourceware.
>>
>> Greetings,
>>
>> 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
>source.
>
>Regards,
>
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.
Greetings again,
Michael Ring