This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
gcc.exe causes Stack Fault
- From: "Jordan, Jim" <jordan dot j at ems-t dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 24 Oct 2002 14:40:12 -0400
- 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/