From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13346 invoked by alias); 19 Jun 2013 12:20:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 13336 invoked by uid 89); 19 Jun 2013 12:20:33 -0000 X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MISSING_HEADERS,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from youngberry.canonical.com (HELO youngberry.canonical.com) (91.189.89.112) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 19 Jun 2013 12:20:32 +0000 Received: from dslb-088-073-088-178.pools.arcor-ip.net ([88.73.88.178] helo=[192.168.42.222]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1UpHKX-00029q-GE; Wed, 19 Jun 2013 12:17:41 +0000 Message-ID: <51C1A162.1050007@ubuntu.com> Date: Wed, 19 Jun 2013 12:20:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 CC: Meador Inge , Richard Biener , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] gcc-{ar,nm,ranlib}: Find binutils binaries relative to self References: <1349383546-25548-1-git-send-email-meadori@codesourcery.com> <5074E123.5070507@codesourcery.com> <5080208C.9050207@codesourcery.com> <508EA4CA.1030905@codesourcery.com> <509AD7E0.2060008@codesourcery.com> <50B502F9.8020901@codesourcery.com> <51C19E16.5040305@ubuntu.com> In-Reply-To: <51C19E16.5040305@ubuntu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg01115.txt.bz2 Am 19.06.2013 14:03, schrieb Matthias Klose: > $ 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? openend 57651 for that. now, working around the permission bit, I get: $ gcc-ar-4.8 gcc-ar-4.8: Cannot find binary 'ar' so it only searches ar in the given paths, not on the path of the file system (/usr/bin in this case)