From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9837EE007B1 for ; Mon, 10 Feb 2014 21:54:08 -0800 (PST) Received: by mail-pa0-f53.google.com with SMTP id lj1so7177911pab.40 for ; Mon, 10 Feb 2014 21:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=P21aS8iJPSv1bDQjTFTRPZ9TYXMIoTnKYQelt6F6+Vs=; b=CjvjkZEVOSnXobdvjlSVVCG1TY85Jh9LPYu0faa5gZfcjabfQ141n6IePLO3qkfYcj KJLto6tO8/N6g2c9iR6GKlewKH6aUpV7QLsMCOL0L1z9wXPRMs7dmfWoFBJhbCftrtxA 8JDy545DHuxF9rDnHKrBiLi3nhnSBDGVGmA5Lkqe4ghxXPbA/6aD84ZKkjxnN0WaW/KK W/crHKJU23PCoYvV5vpiCN+Q2e7lYGa0YdpX7HnOdlUGAHlNVnxcI4Aa8HRrcfsOWhDe GKEE6XMCHfVGVbO9hdUJzGPoKN9csB0xJ7MDUpZ/XqZUfpIkH8ylR+9vPff38RJkcvGV yCEQ== X-Received: by 10.68.96.99 with SMTP id dr3mr42411557pbb.40.1392098048547; Mon, 10 Feb 2014 21:54:08 -0800 (PST) Received: from [192.168.0.33] (99-57-140-30.lightspeed.sntcca.sbcglobal.net. [99.57.140.30]) by mx.google.com with ESMTPSA id e6sm48812384pbg.4.2014.02.10.21.54.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 21:54:06 -0800 (PST) Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) From: Khem Raj In-Reply-To: <17797116383D4341B029FDF34C22BF6A72FEFCE970@GUREXMB01.ASIAN.AD.ARICENT.COM> Date: Mon, 10 Feb 2014 21:53:57 -0800 Message-Id: <3191CAF4-6496-4EA5-9D3F-4A1B206CA248@gmail.com> References: <17797116383D4341B029FDF34C22BF6A72FEFCE970@GUREXMB01.ASIAN.AD.ARICENT.COM> To: Rohit2 Jindal X-Mailer: Apple Mail (2.1827) Cc: "yocto@yoctoproject.org" Subject: Re: Error in configuring multilib ie libstdc++ for c++ X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 05:54:11 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_E1FB694A-AC0E-488F-B511-8A846AF31C60" --Apple-Mail=_E1FB694A-AC0E-488F-B511-8A846AF31C60 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jan 26, 2014, at 10:51 PM, Rohit2 Jindal = wrote: > Hi, > =20 > I am trying to compile both c and c++ multilib for elf toolchain but = its giving error in configuring the same for c++. Logs are attached with = this mail. And EXTRA_OECONF passed are as below: > =20 > EXTRA_OECONF +=3D = "--with-sysroot=3D${TMPDIR}/sysroots/${BUILD_SYS}/usr/lib/mips32-nlm-elf.g= cc-cross-initial/gcc/mips64-nlm-elf/4.6.3 \ you are trying to mix bare metal compiler toolchain with hosted = toolchain targeting Linux ? OpenEmbedded has concept of TARGET_OS and now you could unset it but = thats a untreated territory. If you explain in essence what you are = trying to do. May be there is a solution. > --enable-threads \ > --enable-multilib \ > --disable-libmudflap \ > --disable-libssp \ > --disable-libstdcxx-pch \ > --with-gnu-as \ > --with-gnu-ld \ > --with-mips-plt \ > --enable-languages=3Dc,c++ \ > --enable-lto \ > --disable-nls \ > --disable-shared \ > --disable-threads \ > --disable-libgomp \ > --without-headers \ > --with-newlib \ > --disable-decimal-float \ > --disable-libffi \ > --disable-libquadmath \ > --disable-libitm \ > --enable-poison-system-directories \ > = --with-gxx-include-dir=3D${TMPDIR}/sysroots/${BUILD_SYS}/usr/${TARGET_SYS}= /usr/include/c++ \ > --enable-cxx-flags=3D'-G0 -mno-gpopt' \ > =20 > Please suggest me the way to resolve this issue. > =20 > Regards, > Rohit Jindal > =20 >=20 >=20 >=20 >=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > Please refer to http://www.aricent.com/legal/email_disclaimer.html > for important disclosures regarding this electronic communication. > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto --Apple-Mail=_E1FB694A-AC0E-488F-B511-8A846AF31C60 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Jan 26, 2014, at 10:51 PM, Rohit2 = Jindal <rohit2.jindal@aricent.com>= ; wrote:

Hi,
 
I am = trying to compile both c and c++ multilib for elf toolchain but its = giving error in configuring the same for c++. Logs are attached with = this mail. And EXTRA_OECONF passed are as below:
 
EXTRA_OECONF +=3D = "--with-sysroot=3D${TMPDIR}/sysroots/${BUILD_SYS}/usr/lib/mips32-nlm-elf.g= cc-cross-initial/gcc/mips64-nlm-elf/4.6.3 = \

you are trying to = mix bare metal compiler toolchain with hosted toolchain targeting Linux = ?
OpenEmbedded has concept of TARGET_OS and now you could = unset it but thats a untreated territory. If you explain in essence what = you are trying to do. May be there is a solution.

          &= nbsp;     --enable-threads \
          &= nbsp;     --enable-multilib \
          &= nbsp;     --disable-libmudflap = \
          &= nbsp;     --disable-libssp \
          &= nbsp;     --disable-libstdcxx-pch = \
          &= nbsp;     --with-gnu-as \
          &= nbsp;     --with-gnu-ld \
          &= nbsp;     --with-mips-plt \
          &= nbsp;      --enable-languages=3Dc,c++ = \
          &= nbsp;     --enable-lto \
          &= nbsp;     --disable-nls \
          &= nbsp;     --disable-shared \
          &= nbsp;     --disable-threads \
          &= nbsp;     --disable-libgomp \
          &= nbsp;     --without-headers \
          &= nbsp;     --with-newlib \
          &= nbsp;     --disable-decimal-float = \
          &= nbsp;     --disable-libffi \
          &= nbsp;     --disable-libquadmath = \
          &= nbsp;     --disable-libitm \
          &= nbsp;     --enable-poison-system-directories = \
          &= nbsp;     = --with-gxx-include-dir=3D${TMPDIR}/sysroots/${BUILD_SYS}/usr/${TARGET_SYS}= /usr/include/c++ \
          &= nbsp;     --enable-cxx-flags=3D'-G0 -mno-gpopt' = \
 
Please suggest me the way to resolve this = issue.
 
Regards,
Rohit = Jindal
 




=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for = important disclosures regarding this electronic = communication.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
<error in configuring = multilib for = c++.log>_______________________________________________
yocto= mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

= --Apple-Mail=_E1FB694A-AC0E-488F-B511-8A846AF31C60--