This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
RE: 20011101 snapshot broken (also 20011103)
- To: <cygwin-developers at cygwin dot com>
- Subject: RE: 20011101 snapshot broken (also 20011103)
- From: "Norman Vine" <nhv at cape dot com>
- Date: Sat, 3 Nov 2001 13:18:25 -0500
- Reply-To: <nhv at cape dot com>
Christopher Faylor writes
>
>On Sat, Nov 03, 2001 at 11:48:44AM -0500, Norman Vine wrote:
>>David Starks-Browning writes:
>>>
>>>FYI this has not improved in the 20011103 snapshot.
>>>
>>>Cheers,
>>>David
>>>
>>>On Friday 2 Nov 01, David Starks-Browning writes:
>>>> Greetings,
>>>>
>>>> Kris Huber has also reported this problem in the main list.
>>>>
>>>> On Win98, with the 20011101 snapshot, 'ssh' dumps core with the
>>>> following stackdump:
>>>>
>>>> ...
>>
>>FYI same behaviour Win2k
>>
>>backing out the 2001-11-01 change from winsup / Makefile.commom
>>seems to fix this
>
>Why?
the addition of -mpreferred-stack-boundary=2 to the
CFLAGS_COMMON variable
seems to be the culprit
here is the the result of 'bt' in the JIN gdb session that results from
my trying ssh valid_user@some.host
#0 0x6102f300 in cygwin_getservbyname (name=0x404f52 "ssh",
proto=0x404f4e "tcp") at /src/cygwin/src/winsup/cygwin/net.cc:980
#1 0x004050ad in _size_of_stack_reserve__ ()
#2 0x00403238 in _size_of_stack_reserve__ ()
#3 0x61003cf6 in dll_crt0_1 () at
/src/cygwin/src/winsup/cygwin/dcrt0.cc:769
#4 0x61003ef1 in _dll_crt0 () at /src/cygwin/src/winsup/cygwin/dcrt0.cc:850
#5 0x61003f2d in dll_crt0 (uptr=0x0)
at /src/cygwin/src/winsup/cygwin/dcrt0.cc:862
#6 0x004a6ea7 in _size_of_stack_reserve__ ()
#7 0x0040103d in _size_of_stack_reserve__ ()
#8 0x77e97d08 in _system_dlls__ ()
FWIW
ssh seems to work fine with a DLL built with just the other new flags
CFLAGS_COMMON:=-Wall -Wwrite-strings -fno-common -pipe -Winline -fbuiltin
This is with the CVS files ~0800 EDT today
Cheers
Norman