delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/11/03/13:15:22

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin-developers AT cygwin DOT com>
Subject: RE: 20011101 snapshot broken (also 20011103)
Date: Sat, 3 Nov 2001 13:18:25 -0500
Message-ID: <000201c16493$ee7ca200$a300a8c0@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
Importance: Normal
In-Reply-To: <20011103115738.B18219@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

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 AT some DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019