From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vms173025pub.verizon.net (vms173025pub.verizon.net [206.46.173.25]) by mail.openembedded.org (Postfix) with ESMTP id D53E96059B for ; Tue, 6 May 2014 21:44:58 +0000 (UTC) Received: from gandalf.denix.org ([unknown] [71.191.205.189]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N5600BWZ9Q6VRY0@vms173025.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Tue, 06 May 2014 16:44:46 -0500 (CDT) Received: by gandalf.denix.org (Postfix, from userid 1000) id 92333201BF; Tue, 06 May 2014 17:44:30 -0400 (EDT) Date: Tue, 06 May 2014 17:44:30 -0400 From: Denys Dmytriyenko To: Mark Hatle Message-id: <20140506214430.GG11339@denix.org> References: <536899F5.1030104@gmail.com> <20140506205518.GE11339@denix.org> <5369533B.9010209@windriver.com> MIME-version: 1.0 In-reply-to: <5369533B.9010209@windriver.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: openembedded-core@lists.openembedded.org Subject: Re: meta-toolchain doesn't compile working binaries X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 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: Tue, 06 May 2014 21:45:01 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline On Tue, May 06, 2014 at 04:25:15PM -0500, Mark Hatle wrote: > On 5/6/14, 3:56 PM, Khem Raj wrote: > >On Tue, May 6, 2014 at 1:55 PM, Denys Dmytriyenko wrote: > >>Do you know that OE toolchain is not relocatable? > > > >is that true ? > > > > It's the load path of the executables, they use the libc-nativesdk, > so they need a hard path to the correct ld.so to get started. More specifically, it's PT_INTERP section of the ELF header in every binary that hardcodes the full path to our own dynamic linker/loader (i.e. mentioned libc-nativesdk). I wish it would support the use of $ORIGIN similar to RPATH and RUNPATH for libraries, but I bet there are all kinds of corner cases with that... :) -- Denys