delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/01/16:22:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC512E6.80808@gmail.com>
Date: Thu, 01 Oct 2009 21:36:54 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: coredump when compiling gettext from source
References: <1f98d64ea20cc887be61e8a4fd98dd17 AT mail DOT smartmobili DOT com> <e60f4f38aef4a50d8052f4272ab4d66e AT mail DOT smartmobili DOT com> <fab74937011901fa8d140ff596106fb3 AT mail DOT smartmobili DOT com> <20091001134629 DOT GJ7193 AT calimero DOT vinschen DOT de> <c83909c9e70ddf4b8cfb91a66dcca21c AT mail DOT smartmobili DOT com>
In-Reply-To: <c83909c9e70ddf4b8cfb91a66dcca21c@mail.smartmobili.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

[ Sorry, my first reply to this post went astray because the OP was
crossposted to both cygwin and cygwin-developers, and cygwin-developers set a
reply-to header, and my mailer merged the two duplicates into one. ]

Vincent R. wrote:

> > Are you sure the problem doesn't rely on gcc version release with latest
> > cygwin ?

  As it happens, it's not related.

> > I get a segmentation fault inside ld ...

  That should never happen, no matter how badly mangled the input LD is fed,
and is always a bug when it does.

> > Will I find answers about that kind of problem on this ML ?

  It's always best to start with a report here, in case it's cygwin-specific,
and then we can escalate it to the binutils list if it turns out to come from
upstream.

  In this case, you found a bug that has been around since like forever, but
only come to light now that we've started really using weak symbols in anger
on the PE platform.  It was a trivial thinko in looking up the default value
for the weak symbol that only shows up if you have multiple object files in
the same link that all refer to the same undefined weak.

  Fixed in binutils CVS HEAD by
    http://sourceware.org/ml/binutils-cvs/2009-10/msg00010.html
and should be in 2.20 when it comes out.  I verified that gettext now builds
all the way to completion, although I didn't run the tests.  Thanks for
finding this!

[ Since first sending this I ran enough of the tests to see that they were
generally passing, so it looks OK. ]

    cheers,
      DaveK


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