From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NGI2R-0001LQ-6y for garchives@archives.gentoo.org; Thu, 03 Dec 2009 20:12:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CDAEE08AE for ; Thu, 3 Dec 2009 20:12:30 +0000 (UTC) Received: from mail-fx0-f217.google.com (mail-fx0-f217.google.com [209.85.220.217]) by pigeon.gentoo.org (Postfix) with ESMTP id F3102E0880 for ; Thu, 3 Dec 2009 18:17:47 +0000 (UTC) Received: by fxm9 with SMTP id 9so1624255fxm.10 for ; Thu, 03 Dec 2009 10:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=IKzJ7OZCgQviyPtG6AKHPeuBKszKXf/V1Cw1fZAXMFQ=; b=uE6NJ63YX2lfoXXPvDhWis2s0OJbpQ11mkmRoCc9lZ8Rp220i291eCgga71QNiFDWE Ajkyt5uCyzbHpLmGGjeR2PA8mWwyzJevZzG15g9nX+O2WxdzlnNs8/5YXvTTwDIxpLjH 9y6pPfvlKV8KekxDDqPJz4gomIbmqwQQ5cwjE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=nNf2nB2TNID3GnJGbj4w/fvnnNrzW4jAdXMAVceaZ8dBDQ3Q3Tiui/x+EvZXZlWOZh 0S8TlKHc9JCxmJtX9xvy8YxWlHAmYAcw8dtMeVSi3if/Yb+EJsdIpW12H+rXsVjFs/eo TOLg8LtGAtkUcq2otI8mEsg6oZiEywV33OLLY= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.77.141 with SMTP id g13mr318862fak.0.1259864267274; Thu, 03 Dec 2009 10:17:47 -0800 (PST) In-Reply-To: <4B17ECB7.4000800@wildgooses.com> References: <166af1cf0912020946g110c8d53ib1d844a5b370d7b7@mail.gmail.com> <20091202200422.4470.qmail@stuge.se> <166af1cf0912030621g56dafb57wbd16eaf95485b37@mail.gmail.com> <4B17ECB7.4000800@wildgooses.com> From: Shinkan Date: Thu, 3 Dec 2009 19:17:26 +0100 Message-ID: <166af1cf0912031017w6ac9cfb8sa17f48c15d6f7cc9@mail.gmail.com> Subject: Re: [gentoo-embedded] Cross emerging to a given root. To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=0015174792d61db9180479d702fa X-Archives-Salt: 99ef0951-b1c7-4f51-b243-2bde6af2de66 X-Archives-Hash: f8ece8b74f0313f1e474583a44332f74 --0015174792d61db9180479d702fa Content-Type: text/plain; charset=UTF-8 2009/12/3 Ed W > Shinkan wrote: > >> >> I tested it and emerge failed on some ports because installing them use >> binaries that complain about not finding required versions of "CXXABI" or so >> in libstdc++. >> What could I do to fix that ? >> > > > Are you sure emerge failed or that the binary failed to run on the new > system? > > In the later case it's because certain lib files are part of GCC and hence > won't be installed on your target - I find this on a few packages and I just > copy across the relevant libs from the host system > lzma failed to run because of something it didn't like in libstdc++ from /usr/lib/gcc/my-other-gcc-version/ or something like that. It seems that retrying a gcc-config + env-update + source /etc/profile made it pass. I'm not exactly on the TinyGentoo case because I would prefer host to serves as a build env instead of untaring another stage3. As I have many various targets to build and maintain, it would be hard to also maintain their respective build chroots. Playing with different compilers on the host seems to do the trick. For now I play with gcc-config on host every time I work with a target which needs a different gcc, but that's much pain (what if I forget to gcc-config back to my actual host gcc version ??! I'll lscrew my host I guess.) I would really like if there was an option on make.conf to specify default compiler. As each of my targets have its own make.conf and profile link, it would be very comfortable if I could tell emerge to use the compiler specified in make.conf, so that each time I'd cross-emerge, the good compiler for my target would be selected. Thanks a lot for your directions, TinyGentoo wiki page is really useful. -- Pierre. "Sometimes when I'm talking, my words can't keep up with my thoughts. I wonder why we think faster than we speak. Probably so we can think twice." - Bill Watterson --0015174792d61db9180479d702fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2009/12/3 Ed W <lists@wildgooses.com>
Shinkan wrote:

I tested it and emerge failed on some ports because installing them use bin= aries that complain about not finding required versions of "CXXABI&quo= t; or so in libstdc++.
What could I do to fix that ?


Are you sure emerge failed or that the binary failed to run on the new syst= em?

In the later case it's because certain lib files are part of GCC and he= nce won't be installed on your target - I find this on a few packages a= nd I just copy across the relevant libs from the host system

lzma failed to run because of something it didn't like in libs= tdc++ from /usr/lib/gcc/my-other-gcc-version/ or something like that.
It seems that retrying a gcc-config + env-update + source /etc/profile ma= de it pass.
I'm not exactly on the TinyGentoo case because I wou= ld prefer host to serves as a build env instead of untaring another stage3.=
As I have many various targets to build and maintain, it would be hard = to also maintain their respective build chroots.

Playing with different compilers on the host seems to do the trick.
= For now I play with gcc-config on host every time I work with a target whic= h needs a different gcc, but that's much pain (what if I forget to gcc-= config back to my actual host gcc version ??! I'll lscrew my host I gue= ss.)
I would really like if there was an option on make.conf to specify default = compiler. As each of my targets have its own make.conf and profile link, it= would be very comfortable if I could tell emerge to use the compiler speci= fied in make.conf, so that each time I'd cross-emerge, the good compile= r for my target would be selected.

Thanks a lot for your directions, TinyGentoo wiki page is really useful= .

--
Pierre.
"Sometimes when I'm talki= ng, my words can't keep up with my thoughts. I wonder why we think fast= er than we speak. Probably so we can think twice." - Bill Watterson --0015174792d61db9180479d702fa--