LFS 10 Stable - 7.7.1 libstdc++ Pass 2 - Fails
by ILikeTux from LinuxQuestions.org on (#5EMBP)
Hi,
I'm trying to install LFS 10 stable, it has been going great until now.
I'm having some trouble when I try to prepare libstdc++ configure file in chapter 7.7.1.
This is the configure:
Quote:
This is where it fails when I'm running that configure:
Quote:
Does anyone have an idea of what I'm missing?
Sorry if my english grammer isn't correct.
Thanks in advance.


I'm trying to install LFS 10 stable, it has been going great until now.
I'm having some trouble when I try to prepare libstdc++ configure file in chapter 7.7.1.
This is the configure:
Quote:
../libstdc++-v3/configure \ CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ --prefix=/usr \ --disable-multilib \ --disable-nls \ --host=$(uname -m)-lfs-linux-gnu \ --disable-libstdcxx-pch |
Quote:
checking command to parse nm output from x86_64-lfs-linux-gnu-gcc object... failed checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-lfs-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-lfs-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-lfs-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-lfs-linux-gnu-gcc static flag -static works... no checking if x86_64-lfs-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-lfs-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-lfs-linux-gnu-gcc linker (/usr/x86_64-lfs-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. (lfs chroot) root:/sources/gcc-10.2.0/build# |
Sorry if my english grammer isn't correct.
Thanks in advance.