This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc-{ar,nm,ranlib}: Find binutils binaries relative to self
- From: Matthias Klose <doko at ubuntu dot com>
- To: Meador Inge <meadori at codesourcery dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Jun 2013 14:03:34 +0200
- Subject: Re: [PATCH] gcc-{ar,nm,ranlib}: Find binutils binaries relative to self
- References: <1349383546-25548-1-git-send-email-meadori at codesourcery dot com> <5074E123 dot 5070507 at codesourcery dot com> <5080208C dot 9050207 at codesourcery dot com> <508EA4CA dot 1030905 at codesourcery dot com> <509AD7E0 dot 2060008 at codesourcery dot com> <CAFiYyc3aiagqrNrTWN=sMr3KCCiTa6N48oD-5t+_x2Q46DmQ4w at mail dot gmail dot com> <50B502F9 dot 8020901 at codesourcery dot com>
Am 27.11.2012 19:14, schrieb Meador Inge:
> On 11/26/2012 09:05 AM, Richard Biener wrote:
>
>> On Wed, Nov 7, 2012 at 10:51 PM, Meador Inge <meadori@codesourcery.com> wrote:
>>> Ping ^ 4.
>>
>> Ok.
>
> Thanks for the review. Committed to trunk.
This did break gcc-ar and gcc-nm; now a regression on the 4.8 branch.
$ gcc-ar-4.8 -h
gcc-ar-4.8: Cannot find plugin 'liblto_plugin.so'
the plugin is *not* installed with x permission flags (which seems to be the
standard for shared libraries). You did change the code to use find_a_file
which searches only for files with the x bit set.
Work around is to install the plugin with the x bits set, or use some helper
function which doesn't look for the x bits. I assume that wasn't catched,
because the plugin then was found in another location?
Matthias