SEGV in gcc 4.3.4 on cygwin 1.7.6-1

Csaba Raduly rcsaba@gmail.com
Fri Aug 27 08:45:00 GMT 2010


2010/8/27 Eirik Nordbrøden :
> 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 crashes even if the file does not actually exist.
You could try losing -pipe. Perhaps tweaking the configuration of cpan
would help.

How odd. It seems to crash only with that exact number of parameters.
Try convincing the makefile generator to add another option (e.g.
-pedantic or -W)

-- 
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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