From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SelCw-000879-LE for openembedded-core@lists.openembedded.org; Wed, 13 Jun 2012 12:53:50 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q5DAhDcp020356 for ; Wed, 13 Jun 2012 11:43:13 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19170-07 for ; Wed, 13 Jun 2012 11:43:07 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q5DAh45g020350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 13 Jun 2012 11:43:05 +0100 Message-ID: <1339584183.8065.25.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Wed, 13 Jun 2012 11:43:03 +0100 In-Reply-To: <1339537351-2918-1-git-send-email-jason.wessel@windriver.com> References: <1339537351-2918-1-git-send-email-jason.wessel@windriver.com> X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH] lsof: Fix cross 32 -> 64bit ranlib host contamination problem 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, 13 Jun 2012 10:53:50 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2012-06-12 at 16:42 -0500, Jason Wessel wrote: > When building on a 32bit host OS and building 64 bit binaries, > the cross ar and ranlib must be called, or you get an error > as follows: > > x86_64-wrs-linux-gcc -m64 --sysroot=/opt/build/tmp/sysroots/qemux86-64 -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o util.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L./lib -llsof > ./lib/liblsof.a: could not read symbols: Archive has no index; run ranlib to add one > collect2: error: ld returned 1 exit status > > Signed-off-by: Jason Wessel > --- > meta/recipes-extended/lsof/lsof_4.85.bb | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) Merged to master, thanks. Richard