This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 20011101 snapshot broken (also 20011103)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]