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 1Se4Ff-0002x0-M6 for openembedded-core@lists.openembedded.org; Mon, 11 Jun 2012 15:02:01 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q5BCpAdS014882 for ; Mon, 11 Jun 2012 13:51:10 +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 13232-09 for ; Mon, 11 Jun 2012 13:51:06 +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 q5BCp1Z7014874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 11 Jun 2012 13:51:02 +0100 Message-ID: <1339419063.30460.18.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Mon, 11 Jun 2012 13:51:03 +0100 In-Reply-To: <1339192676-9335-1-git-send-email-jason.wessel@windriver.com> References: <1339192676-9335-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] v86d: Fix cross link using host-cross ar 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: Mon, 11 Jun 2012 13:02:01 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2012-06-08 at 16:57 -0500, Jason Wessel wrote: > If building on 32bit host and creating 64bit libraries, the target > package builds should not invoke the 32bit hosts's ar. Specifically > you will get an error message like: > > x86_64-linux-gcc -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Llibs/x86emu v86_x86emu.o v86_mem.o v86_common.o v86.o -lx86emu -o v86d > libs/x86emu/libx86emu.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-bsp/v86d/v86d/ar-from-env.patch | 33 ++++++++++++++++++++++++++ > meta/recipes-bsp/v86d/v86d_0.1.10.bb | 5 ++- > 2 files changed, 36 insertions(+), 2 deletions(-) > create mode 100644 meta/recipes-bsp/v86d/v86d/ar-from-env.patch Merged to master, thanks. Richard