This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SEGV in gcc 4.3.4 on cygwin 1.7.6-1


Hello

I have been trying to build Net-SNMP on cygwin/Windows XP. When I start compiling gcc (4.3.4) crashes with a segmentation fault. It is the following command that crashes:

gcc -I../include -I. -I../snmplib -I/usr/include -g -Wall -Ucygwin -Dcygwin=cygwin -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/lib/perl5/5.10/i686-cygwin/CORE -Wall -Wstrict-prototypes -Wwrite-strings -Wcast-qual -c test_segv.c -o test_segv.o

It seems that the crash is caused by the number of options since this compilation works if I remove one of the option statements (does not matter which as far as I can see). Problem is that I cannot easily remove any of the options since this is auto generated makefiles from the Net-SNMP configure script.

System info attached.

Eirik Nordbrøden, Morecom A/S
(+47) 90174789


Attachment: cygcheck.out
Description: cygcheck.out

Attachment: gcc-version.out
Description: gcc-version.out

Attachment: gcc-4.exe.stackdump
Description: gcc-4.exe.stackdump

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]