Article 5KW9P LFS 10.1 failed at Chapter 7.7. Libstdc++ from GCC-10.2.0, Pass 2

LFS 10.1 failed at Chapter 7.7. Libstdc++ from GCC-10.2.0, Pass 2

by
someguydude
from LinuxQuestions.org on (#5KW9P)
Greetings all!

says:
Code:mkdir: created directory 'build'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-lfs-linux-gnu
checking target system type... x86_64-lfs-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-lfs-linux-gnu-strip... no
checking for strip... no
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-lfs-linux-gnu-gcc... x86_64-lfs-linux-gnu-gcc
checking for suffix of object files... configure: error: in `/sources/gcc-10.2.0/build':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
config.log has:
Code:configure:4116: x86_64-lfs-linux-gnu-gcc -V >&5
x86_64-lfs-linux-gnu-gcc: error: unrecognized command-line option '-V'
x86_64-lfs-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4127: $? = 1
configure:4116: x86_64-lfs-linux-gnu-gcc -qversion >&5
x86_64-lfs-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
x86_64-lfs-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4127: $? = 1
configure:4143: x86_64-lfs-linux-gnu-gcc -o conftest conftest.c >&5
/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/as: error while loading shared libraries: libopcodes-2.36.1.so: cannot open shared object file: No such file or directory
configure:4146: $? = 1
configure:4359: checking for suffix of object files
configure:4381: x86_64-lfs-linux-gnu-gcc -c conftest.c >&5
/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/as: error while loading shared libraries: libopcodes-2.36.1.so: cannot open shared object file: No such file or directory
configure:4385: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "package-unused"
| #define PACKAGE_TARNAME "libstdc++"
| #define PACKAGE_VERSION "version-unused"
| #define PACKAGE_STRING "package-unused version-unused"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4399: error: in `/sources/gcc-10.2.0/build':
configure:4401: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
Any ideas?

Thanks!latest?d=yIl2AUoC8zA latest?i=H92mPwi0tLs:-fxQ1uXG42I:F7zBnMy latest?i=H92mPwi0tLs:-fxQ1uXG42I:V_sGLiP latest?d=qj6IDK7rITs latest?i=H92mPwi0tLs:-fxQ1uXG42I:gIN9vFwH92mPwi0tLs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments