[yocto] Error in configuring multilib ie libstdc++ for c++

Rohit2 Jindal rohit2.jindal at aricent.com
Fri Feb 14 02:20:29 PST 2014


Hi ,

Actually we had two toolchains one for linux(linux kernel and other userspace component ) components and other elf toolchain for bootloaders (like xloader uboot and sysconfig) compilations. We have tried to compile both the toolchains using yocto  for 4.6.3 version and working fine for language=c only. But we have issue that I am not able to create libstd* libraries by setting extra_oeconf enable-language=c,c++ for elf toolchain and its giving error in compilation steps .

Please suggest me the solution.

From: Khem Raj [mailto:raj.khem at gmail.com]
Sent: Tuesday, February 11, 2014 11:24 AM
To: Rohit2 Jindal
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Error in configuring multilib ie libstdc++ for c++


On Jan 26, 2014, at 10:51 PM, Rohit2 Jindal <rohit2.jindal at aricent.com<mailto:rohit2.jindal at 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 += "--with-sysroot=${TMPDIR}/sysroots/${BUILD_SYS}/usr/lib/mips32-nlm-elf.gcc-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=c,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=${TMPDIR}/sysroots/${BUILD_SYS}/usr/${TARGET_SYS}/usr/include/c++ \
                --enable-cxx-flags='-G0 -mno-gpopt' \

Please suggest me the way to resolve this issue.

Regards,
Rohit Jindal





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





===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140214/01afb8b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error in configuring multilib for c++
Type: application/octet-stream
Size: 18558 bytes
Desc: error in configuring multilib for c++
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140214/01afb8b7/attachment.obj>


More information about the yocto mailing list