delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/27/04:32:20

X-Recipient: archive-cygwin AT delorie DOT 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 AT PEGASUS DOT lokal DOT 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 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019