Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <54360-2200210424204252466@M2W049.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" To: jordan DOT j AT ems-t DOT com, cygwin AT cygwin DOT com Subject: RE: gcc.exe causes Stack Fault Date: Thu, 24 Oct 2002 16:42:52 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 24 Oct 2002 20:42:52.0507 (UTC) FILETIME=[EC580AB0:01C27B9D] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9OKh7o09546 Hm. And why would this be of interest to the Cygwin list? You're using a 7 year old version of Cygwin and gcc and the gcc you're using wasn't ever distributed with Cygwin from the Cygwin site. That puts it pretty much off-topic for this list. Perhaps the source you got these from will find your report of some use. If you find you have a similar problem with the current version of Cygwin or the gcc package that comes with it, then that would be worthwhile to report to this list. Larry Original Message: ----------------- From: Jordan, Jim jordan DOT j AT ems-t DOT com Date: Thu, 24 Oct 2002 14:40:12 -0400 To: cygwin AT cygwin DOT com Subject: gcc.exe causes Stack Fault Error: Stack Fault at eip=d15ff - compiling 'C' project targeting MIPS processor using Cygwin tools - all is well compiling a file containing several functions until one of the functions exceeds a particular size, due to many conditional statements, then get Stack Fault error Tools: - IDT/c, GNU C-Compiler System, 32-bit release 5.1 - Cygwin - version: circa 1995 - gcc.exe - version: circa 1995 Environments: - Windows 95/NT/2K - same error occurs in all environments but the function size can be a little larger on the Win 95 machine before it fails Error: C:\atec\ATECKE~1\SIM3000\_R341C50>make gcc -Wall -nostdinc -I../header -I../../COMMON/header -I/IDTC -I../HEADER/CUSTOM -I../DRIVERS/DRV_PC -DRS341=2 -DCPU_R3000 -DCLANGUAGE -G 0 -O2 -c ../CUSTOM/teb_cmds.c Stack Fault at eip=d15ff eax=00000002 ebx=000004ad ecx=00000000 edx=0000001d esi=00000000 edi=60000000 ebp=0013aac0 esp=00135df0 cs=287 ds=27f es=27f fs=27f gs=297 ss=28f cr2=00005fde Call frame traceback EIPs: 0x000d15ff 0x000d304f 0x0002a5aa 0x00019caf 0x0000ac6d 0x000293bf 0x0002ba0c make.exe: *** [teb_cmds.o] Error 1 C:\atec\ATECKE~1\SIM3000\_R341C50> Environment Setup: SET PATH=C:\CYGNUS\BIN;%PATH% SET LIBRARY_PATH=C:\CYGNUS\LIB SET INFOPATH=C:\CYGNUS\INFO SET C_INCLUDE_PATH=C:\CYGNUS\include SET CPLUS_INCLUDE_PATH=C:\CYGNUS\include\cxx;C:\CYGNUS\include SET GO32=EMU C:\CYGNUS\BIN\EMU387 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/