libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix detecting ld version with crosstool-NG (to fix symbol ex


From: Brooks Moses
Subject: Re: [PATCH] Fix detecting ld version with crosstool-NG (to fix symbol exporting)
Date: Wed, 09 Oct 2013 15:21:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 07/03/2012 06:56 AM, Olivier Blin wrote:
ld from crosstool-NG reports a version string with an extra version:
GNU ld (crosstool-NG 1.13.0) 2.21.1

This made libtool assume that the ld version was the crosstool-NG
version (1.13.0) instead of the real ld version (2.21.1).

To fix the ld version string, this patch filters out any string
between parentheses that is followed by a space.

Committed. Thanks! (I suspect we were also running into this; our internal builds of ld and gold also have version numbers embedded in the parenthetical note.)

If you could give the updated libtool.m4 file a test to make sure it's working as expected, I'd appreciate it.

- Brooks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]