From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QWtE2-0008Jg-2t for openembedded-core@lists.openembedded.org; Wed, 15 Jun 2011 18:45:54 +0200 Received: from cambridge.roku.com ([81.142.160.137] helo=[172.30.1.145]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QWtAj-0005oz-Oz for openembedded-core@lists.openembedded.org; Wed, 15 Jun 2011 18:42:29 +0200 From: Phil Blundell To: Patches and discussions about the oe-core layer In-Reply-To: <4DF8DF40.6050401@gmail.com> References: <1308065443.25285.268.camel@phil-desktop> <1308125091.6879.39.camel@lenovo.internal.reciva.com> <1308148335.25285.1774.camel@phil-desktop> <4DF8DD52.70502@gmail.com> <1308155502.25285.2038.camel@phil-desktop> <4DF8DF40.6050401@gmail.com> Organization: Phil Blundell Consulting Ltd Date: Wed, 15 Jun 2011 17:42:28 +0100 Message-ID: <1308156148.25285.2068.camel@phil-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: [PATCH RFC] binutils: allow distro to select gold as default cross-linker X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 16:45:54 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2011-06-15 at 09:35 -0700, Khem Raj wrote: > This will work. Do you know what problems eglibc has linking with gold ? > may be we can fix it If I remember right, it relies on linker script functionality which gold just doesn't have. I suspect this would be hard to fix and, unless there is a pressing need to fight that particular battle, I would be inclined not to bother. That said, though, I haven't checked recently and it's possible that recent versions of gold will "just work". If you wanted to give it a try then I think it'd just be a question of h4x0ring eglibc's configure script slightly to get it to accept gold as a valid linker version. p.