ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/30/06:20:27

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <20010430102017.21684.qmail@web6403.mail.yahoo.com>
Date: Mon, 30 Apr 2001 20:20:17 +1000 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: stacksize setting in tcl/win/makefile.in in gdb src
To: cygwin-apps AT cygwin DOT com
MIME-Version: 1.0

In tcl/win/makefile.in in gdb CVS src there is following at line 475:

$(TCLSH): $(TCLSHOBJS) tclshres.$(OBJEXT) $(TCLLIB)
	$(CC) $(linkdebug) $(conlflags) -Wl,--stack=0x2300000 \
		-o $@ $(conlibsdll) $(TCLSHOBJS) tclshres.$(OBJEXT) $(TCLLIB)

The stacksize is inconsistent with that used in makefile.vc which is 2300000
*but* vc uses decimal notation (unless prefixed with 0x).  It is also
inconsistent with that used in makefile.bc (1f0001), which presumably uses hex
by default.

When building and testing tcl8.3.3 under mingw I ran into similar problem
(using Mumit's diff for 8.3).  The socket.test would hang with stack=0x2300000 
but worked fine when  I changed stacksize to something more reasonable (for my
machine at least) ie. 0x231860.  

And that triggers a question which I will raise also in binutils list:
Why is default reserved stacksize set so high (0x02000000) by ld in pe.em?


Danny

PS I would report this to tcl also, but new logon registrations are disabled
during their move to new host.


_____________________________________________________________________________
http://store.yahoo.com.au - Yahoo! Store
- It's time you had your business online!

- Raw text -


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