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 1PDhfx-00024h-M9 for garchives@archives.gentoo.org; Wed, 03 Nov 2010 18:03:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08F0BE0802 for ; Wed, 3 Nov 2010 18:03:09 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id F1837E0710 for ; Wed, 3 Nov 2010 17:50:48 +0000 (UTC) Received: by eyb6 with SMTP id 6so472010eyb.40 for ; Wed, 03 Nov 2010 10:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=qCGQPvcZSSUh+GpPL2bRiFjKEHZmNebgP+iNiEXW7jg=; b=JMAhQJjvOBkWGWGXsQc80oL54PQGglTtHrVD2e9fSliBqFc4WOL7HB3d8+Hc/3eZaZ B2CZoP8FQAVe64hsnZngfBs6Ak4ry6f18MpqVCmVurxEE84lTHvW/2yk6aMBRuUL4lK7 lo3EvwskSBWVCVHQguYh9kobHhNA1Bztm1gcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pmlJYbWB2O9sB6gSNk7dZDozOx6t9E588RWlpk5Bi3C0cIxcqwgRZiffn+CmQqQ8EE GETPzC8uIMyEUPA+uNbWvR8J1q0Gc0emZow8yRhBCzQj7h8rs3yJCHsUiWcB4W1cIvKX LjvVgzjrN8C2gBfBMsryxXbDMmFXa3sC03/Go= 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.216.166.80 with SMTP id f58mr886560wel.65.1288806648197; Wed, 03 Nov 2010 10:50:48 -0700 (PDT) Received: by 10.216.133.96 with HTTP; Wed, 3 Nov 2010 10:50:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Nov 2010 19:50:48 +0200 Message-ID: Subject: Re: [gentoo-embedded] configure: error: C++ compiler cannot create executables From: Kfir Lavi To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016364273dd7333bb049429ae5b X-Archives-Salt: 44d6c9be-ed12-4bfd-bf1e-c6234105ef1c X-Archives-Hash: 190956abdd4e27366b2937a777ea0b74 --0016364273dd7333bb049429ae5b Content-Type: text/plain; charset=UTF-8 On Wed, Nov 3, 2010 at 12:33 PM, Kfir Lavi wrote: > > > On Tue, Nov 2, 2010 at 2:49 PM, Manuel Lauss wrote: > >> On Sun, Oct 31, 2010 at 9:08 AM, Kfir Lavi wrote: >> > Hi, >> > I have a cross compilation environment inside a chroot. >> > I run: >> > i686-unknown-linux-gnu-emerge dev-libs/ace >> > ... >> > checking for i686-unknown-linux-gnu-g++... i686-unknown-linux-gnu-g++ >> > checking for C++ compiler default output file name... configure: >> > error: C++ compiler cannot create executables >> >> Have a look at config.log. It tells exactly what went wrong, including >> gcc >> error output. >> >> Manuel >> >> It seems that one of the steps that I do, is deleting the tools. I need > then to install again from package from the mother system (I'm running here > as chroot, and its very good that I did so). > So I install gcc and binutils, then compile them again in the chroot > environment. > Using i686-unknown-linux-gnu-emerge and everything happens again. > I didn't find the culprit yet. > > Kfir > It seems that installing dev-libs/ace is causing the problem. emerge dev-libs/ace [works] i686-gentoo-linux-gnu-g++ [works] i686-gentoo-linux-gnu-gcc [works] gcc [works] g++ [works] i686-gentoo-linux-gnu-emerge dev-libs/ace [DONT WORK] Other packages emerging ok with i686-gentoo-linux-gnu-emerge. Can someone give me a hint? or something to check? Thanks, Kfir --0016364273dd7333bb049429ae5b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Wed, Nov 3, 2010 at = 12:33 PM, Kfir Lavi <lavi.kfir@gmail.com> wrote:


On Tue, Nov 2, 2010 at 2:49 PM, Manuel Lauss &= lt;manuel.= lauss@googlemail.com> wrote:
On Sun, Oct 31, 2010 at 9:08 AM, Kfir Lavi <lavi.kfir@gmail.com> wrote:
> Hi,
> I have a cross compilation environment inside a chroot.
> I run:
> i686-unknown-linux-gnu-emerge dev-libs/ace
> ...
> checking for i686-unknown-linux-gnu-g++... i686-unknown-linux-gnu-g++<= br> > checking for C++ compiler default output file name... configure:
> error: C++ compiler cannot create executables

Have a look at config.log. =C2=A0It tells exactly what went wrong, in= cluding gcc
error output.

Manuel

It seems that one of the steps that I= do, is deleting the tools. I need then to install again from package from = the mother system (I'm running here as chroot, and its very good that I= did so).
So I install gcc and binutils, then compile them again in the chroot enviro= nment.
Using i686-unknown-linux-gnu-emerge and everything happens again.=
I didn't find the culprit yet.

Kfir
=C2=A0
It seems that installing dev-libs/ace is causing the= problem.
emerge dev-libs/ace [works]
i686-gentoo-linux-gnu-g++ [wor= ks]
i686-gentoo-linux-gnu-gcc [works]
gcc [works]
g++ [works]
i= 686-gentoo-linux-gnu-emerge=C2=A0 dev-libs/ace [DONT WORK]

Other packages emerging ok with i686-gentoo-linux-gnu-emerge.
Can s= omeone give me a hint? or something to check?

Thanks,
Kfir
--0016364273dd7333bb049429ae5b--