This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH/RFC] Fix LD test FAIL: weak symbols on Cygwin
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Aaron W. LaFramboise" <aaron98wiridge9 at aaronwl dot com>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, binutils at sourceware dot org
- Date: Tue, 17 Mar 2009 17:29:15 -0700
- Subject: Re: [PATCH/RFC] Fix LD test FAIL: weak symbols on Cygwin
- References: <49BF3D78.7070706@gmail.com> <49C02598.4020101@aaronwl.com>
On Tue, Mar 17, 2009 at 3:35 PM, Aaron W. LaFramboise
<aaron98wiridge9@aaronwl.com> wrote:
> I haven't had a chance to look at this in detail. ?However, I'm pretty
> certain this used to work on both Cygwin and MinGW, and at some point, its
> gotten broken.
>
> The way to determine the correct behavior is to check what gas was doing the
> last time this didn't fail.
>
> If you aren't in a hurry, I can at least check on these details and get back
> to you on this within a week or so. ?If you are in a hurry, binutils as of
> about the beginning of 2005 should work correctly here.
>
> (I'm the one who originally made the weak stuff work properly on PECOFF, and
> the way it was working when I was done with it should represent 'the right
> thing.')
>
FWIW, there is always
FAIL: weak symbols
in ld when configured for i386-cygwin hosted on Linux/ia32. It has been failing
ever since it was enabled by
http://sourceware.org/ml/binutils-cvs/2004-11/msg00052.html
--
H.J.