X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC4C764.7060504@cwilson.fastmail.fm>
Date: Thu, 01 Oct 2009 11:14:44 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: coredump when compiling gettext from source
References: <1f98d64ea20cc887be61e8a4fd98dd17@mail.smartmobili.com> <e60f4f38aef4a50d8052f4272ab4d66e@mail.smartmobili.com> <fab74937011901fa8d140ff596106fb3@mail.smartmobili.com> <20091001134629.GJ7193@calimero.vinschen.de> <c83909c9e70ddf4b8cfb91a66dcca21c@mail.smartmobili.com> <4AC4B649.4080904@cwilson.fastmail.fm> <b0f7d24355e8bb9852c87b0ad3301aa7@mail.smartmobili.com>
In-Reply-To: <b0f7d24355e8bb9852c87b0ad3301aa7@mail.smartmobili.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Vincent R. wrote:
> I have installed a fresh install of cygwin 1.7 and I wanted to compile
> gettext-0.17 from source so I entered:
> ./configure
> make

Well, I'd appreciate it if you'd use the cygwin patched source instead
of the unpatched upstream version.  Please download
gettext-0.17-11-src.tar.bz2 from the cygwin mirror system (you can use
setup.exe to install the source package if you like).

Then, use "cygport gettext-0.17-11.cygport almostall' to build and
"package" gettext for cygwin.

If you have the same error, then I'll try to reproduce (but I'm a bit
busy for the next few weeks)

> collect2: ld terminated with signal 11 [Segmentation fault], core dumped

Well, ld shouldn't coredump, that's for sure. I'd suspect a problem in
ld rather than gettext, tho.  To debug it, you'd need to build a
debuggable version of ld, and set up just-in-time debugging (e.g. add to
your CYGWIN variable the following:

    error_start:c:\cygwin\bin\gdb.exe

--
Chuck

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

