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.k...@gmail.com]
Sent: Tuesday, February 11, 2014 11:24 AM
To: Rohit2 Jindal
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Error in configuring multilib ie libstdc++ for c++


On Jan 26, 2014, at 10:51 PM, Rohit2 Jindal 
<rohit2.jin...@aricent.com<mailto:rohit2.jin...@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@yoctoproject.org<mailto:yocto@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.
===============================================================================

Attachment: error in configuring multilib for c++
Description: error in configuring multilib for c++

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to