Problems compiling current CVS under cygwin.

Andy Hare ahare@btinternet.com
Sun Nov 18 12:48:00 GMT 2001


Neil,

    Sorry, but the changes do not fix the problem. Here is the output from
the 'fixed' version:

$ /build/arm/gcc/gcc/fix-header dirent.h
/xgcc-arm/gnu/arm-elf/sys-include/dirent.h
/build/arm/gcc/gcc/include/dirent.h -D__STDC__=0 -D__cplusplus -I/build/arm/
gcc/gcc/include -I/xgcc-arm/gnu/arm-elf/sys-include
      0 [main] fix-header 1856 open_stackdumpfile: Dumping stack trace to
fix-header.exe.stackdump
Segmentation fault (core dumped)

Administrator@DUAL-BEAST /build/arm/gcc/gcc
$

The stackdump files is as follows:

Exception: STATUS_ACCESS_VIOLATION at eip=61082CA4
eax=94D3D26D ebx=949392A1 ecx=00000000 edx=0041D2D8 esi=0041D2D8
edi=0A0224C4
ebp=0022FABC esp=0022FAB8 program=e:\build\arm\gcc\gcc\fix-header.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FABC  61082CA4  (0041D2D8, 949392A1, 0022FB1C, 0041D337)
0022FB1C  0041D3A6  (00000000, 0041B3B7, 00000000, 00000000)
0022FB4C  0041D29C  (00000000, 0041B3B7, 00000006, 0A025EA0)
0022FB6C  0041D2D2  (0041B3B7, 6100DC33, 0A0110D0, 0A025E08)
0022FB8C  0041CCB6  (0041B3B7, 00000000, 0A016158, 0A025E08)
0022FBC4  0041B45B  (0A0110E0, 0A0224C4, 0022FC04, 004154F8)
0022FC04  00415504  (0A0110D0, 00000000, 0000000F, 004167C5)
0022FC34  004156A1  (0A0110D0, 00000004, 00000000, 00000000)
0022FC64  00415759  (0A0110D0, 0040DF5F, 0022FCA4, 00417075)
0022FC94  0040DFF3  (0A0110D0, 00000001, 0022FCE4, 0040D969)
0022FCB4  0040E084  (0A0110D0, 0040D51C, 00000000, 6105844F)
0022FCE4  0040DA45  (0A0110D0, 00000000, 00000000, 6108A38B)
0022FD14  0041709A  (0A0110D0, 0A021524, 00000008, 0040DACE)
0022FD44  0040C5AE  (0A0110D0, 00000004, 0022FD74, 00416116)
0022FD74  0040A8D8  (0A0110D0, 0040A953, 0022FDC4, 004125A4)
0022FDC4  0040A96F  (0A0110D0, 00000004, 614E3F74, 61002A70)
End of stack trace (more stack frames may be present)

Hope this helps.

Andy Hare
www.ahare.btinternet.co.uk

----- Original Message -----
From: "Neil Booth" <neil@daikokuya.demon.co.uk>
To: "Andy Hare" <ahare@btinternet.com>
Cc: "gcc-bugs" <gcc-bugs@gcc.gnu.org>
Sent: Wednesday, November 28, 2001 8:57 PM
Subject: Re: Problems compiling current CVS under cygwin.


> Andy Hare wrote:-
>
> > shows that extern_C_braces is an array of 20 chars and
> > extern-C-braces_length is 26. I have been stepping through the code for
some
> > time before this happens.
>
> One good kludge deserves another.  Does replacing
>
> char extern_C_braces[20];
>
> with
>
> char extern_C_braces[100];
>
> solve the problem?  If so, I'll change it.
>
> Neil.



More information about the Gcc-bugs mailing list