delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/24/14:41:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <E6ABE85F99B49442914C29F3B0C175BB0C9BD5@mre03>
From: "Jordan, Jim" <jordan DOT j AT ems-t DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: gcc.exe causes Stack Fault
Date: Thu, 24 Oct 2002 14:40:12 -0400
MIME-Version: 1.0

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/

- Raw text -


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