SEGV in gcc 4.3.4 on cygwin 1.7.6-1

Eirik Nordbrøden eirik.nordbroden@morecom.no
Fri Aug 27 08:31:00 GMT 2010


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 82024 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100827/c8d9ae92/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-version.out
Type: application/octet-stream
Size: 1231 bytes
Desc: gcc-version.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100827/c8d9ae92/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.exe.stackdump
Type: application/octet-stream
Size: 507 bytes
Desc: gcc-4.exe.stackdump
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100827/c8d9ae92/attachment-0002.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list