Решил скомпилить libstdc++ и вылетела такая ошибка.
configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
../gcc/libstdc++-v3/configure \
--host=$LFS_TGT \
--prefix=/tools \
--disable-multilib \
--disable-shared \
--disable-nls \
--disable-libstdcxx-threads \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/4.8.2