X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0	tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <938D7E14D9AF6B42936905D8DE7D452B0163CB24@PEGASUS.lokal.lan>
References: <938D7E14D9AF6B42936905D8DE7D452B0163CB24@PEGASUS.lokal.lan>
Date: Fri, 27 Aug 2010 10:31:38 +0200
Message-ID: <AANLkTik1ZKi2A9YJoXwfgbWbdbv2RUUquGgFQjWOfYFz@mail.gmail.com>
Subject: Re: SEGV in gcc 4.3.4 on cygwin 1.7.6-1
From: Csaba Raduly <rcsaba@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2010/8/27 Eirik Nordbr=F8den :
> Hello
>
> I have been trying to build Net-SNMP on cygwin/Windows XP. When I start c=
ompiling 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 -Dcygw=
in=3Dcygwin -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -=
pipe -fstack-protector -I/usr/local/include -I/usr/lib/perl5/5.10/i686-cygw=
in/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)

--=20
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv=
alds
"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

