From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TFhAX-0000PG-2B for openembedded-core@lists.openembedded.org; Sun, 23 Sep 2012 10:04:01 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id q8N7p8hF015387 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 23 Sep 2012 00:51:08 -0700 (PDT) Received: from [128.224.18.154] (128.224.18.154) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Sun, 23 Sep 2012 00:51:07 -0700 Message-ID: <505EBF6D.2020602@windriver.com> Date: Sun, 23 Sep 2012 10:51:09 +0300 From: Florin Sarbu User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Khem Raj References: <505C6C8A.9000800@windriver.com> <1348235937.10108.78.camel@ted> <505CC452.9040906@windriver.com> <505D606C.5080406@windriver.com> In-Reply-To: Cc: Patches, discussions about the oe-core layer Subject: Re: binutils fails to set ld.gold as default X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2012 08:04:01 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit You're right, the symbolic link pointing to this "regular" ld confused me. Looking at it's version, it clearly says gold. Thank you. On 09/23/2012 06:41 AM, Khem Raj wrote: > On Fri, Sep 21, 2012 at 11:53 PM, Florin Sarbu > wrote: >> What exactly do you wanna see in the output? I can post the variables you >> are looking for. > why cant you pastebin the whole file ? anyhow you are probably looking > at a red herring > build will create three linker binaries > > 1. Default linker - -ld > 2. Gold linker - -ld.gold > 3. GNU ld - -ld.bfd > > 1 above will be copy of either ld.gold or ld.bfd depending upon what > you have chosen > as default. > > run -ls -v > > to see the version of linker. If it is gold then it will say so > > > >> Florin >> >> >> On 09/22/2012 12:53 AM, Khem Raj wrote: >>> On Fri, Sep 21, 2012 at 12:47 PM, Florin Sarbu >>> wrote: >>>> It is enabled. As I said earlier, ld.gold gets created, it's just that ld >>>> is >>>> not pointing to it even though the flag says --enable-gold=default. It >>>> still >>>> point to the regular cross ld. Another config option that creates ld.gold >>>> is >>>> --enable-ld=yes, so at this point default looks exactly like yes. >>>> Just to be extra sure, I did try to add the extra space as you suggested >>>> but >>>> the behaviour is the same. >>> post the output of >>> bitbake -e binutils-cross >>