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 1PDbDx-0000ki-9k for garchives@archives.gentoo.org; Wed, 03 Nov 2010 11:09:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E552DE07EC for ; Wed, 3 Nov 2010 11:09:48 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id E912CE073A for ; Wed, 3 Nov 2010 10:33:26 +0000 (UTC) Received: by wyb40 with SMTP id 40so558632wyb.40 for ; Wed, 03 Nov 2010 03:33:26 -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=Jhk1Or+JE/Xg1IVuvUP87QKx8137hzJ9FzlMoLQ2MOc=; b=uF0KyknoKVUBvtRmwBqfBERxyyN5d+tb5/mZtJKImW7Z5wZlsZDUJv8RaV2b6nqjqR vLrUgCNMr3vhbRhEEg4TvHRl/74+jYHs91g50GKtKFFO1ckSjq338cr36wo/52rekCi0 hjGXfmVtslJ28usXeIxby4+ufDhv95ghpZy14= 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=g0qtjCx4VVqNs/uNrJFdXqhZi8hcukfvttKy9WjvGvy2QkWv+av7T1hfR7E28AENTc Y1BrHBhXZq4VvcMgKYO6efct7MZ87AIgMPWKtyuGoTy3yJbFvy8pwBUR76s2ePfe7g8d L0LITHCTLHtrjOjA7Kp15ciLA1XsPfJuNVJ1M= 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 f58mr477508wel.65.1288780406228; Wed, 03 Nov 2010 03:33:26 -0700 (PDT) Received: by 10.216.133.96 with HTTP; Wed, 3 Nov 2010 03:33:26 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Nov 2010 12:33:26 +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=0016364273dd4e85fc04942392bb X-Archives-Salt: a2d78368-2aa0-4a60-af87-ed1ab9c0254b X-Archives-Hash: 189347ed260bae79129fcfbce566978f --0016364273dd4e85fc04942392bb Content-Type: text/plain; charset=UTF-8 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 --0016364273dd4e85fc04942392bb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, Nov 2, 2010 at = 2:49 PM, Manuel Lauss <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 dele= ting the tools. I need then to install again from package from the mother s= ystem (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
--0016364273dd4e85fc04942392bb--