Hello there! I want to prepare mipsel-unknown-linux-gnu cross-mini-system. Later I have found that all target applications with enabled C++ support (USE flag cxx) unable to compile under portage (mipsel-unknown-linux-gnu-emerge) with new toolchain. I tried to compile base target applications manually by CLFS book with ./configure string from portage It was pretty good without any errors. I start investigation and found, that after stage4 for crossdev in /usr/bin symlink for mipsel-unknown-linux-gnu-g++ missed. Only mipsel-unknown-linux-gnu-g++-5.3.0 available I have switched to new gcc - no effect. Then I created symlink manually as mipsel-unknown-linux-gnu-g++-5.3.0 --> mipsel-unknown-linux-gnu-g++ And issue was resolved. Please investigate and provide patch for cross-dev. Thank You! Crossdev toolchain was prepared with next parameters: GLIBC_CPU="MIPS_ISA_MIPS32" \ PORTDIR_OVERLAY="/usr/local/portage-crossdev" \ EXTRA_ECONF="--with-mips-plt --with-arch=mips32 --with-tune=mips32 --with-llsc --enable-languages=c,c++ --disable-libcilkrts" \ CFLAGS_FOR_BUILD="-march=native -O2 -mglibc" \ CXXFLAGS_FOR_BUILD="-march=native -O2 -mglibc" \ CFLAGS_FOR_TARGET="-march=mips32 -O2 -mglibc -mllsc -mfp32 -mgp32 -mllsc -mlong32" \ CXXFLAGS_FOR_TARGET="-march=mips32 -O2 -mglibc -mllsc -mfp32 -mgp32 -mllsc -mlong32" \ USE="-cilk nopie nossp" crossdev -t mipsel -v --without-headers --abis o32
*** This bug has been marked as a duplicate of bug 583914 ***