More version information given below: dingjun@G02515:~/build_cross_compiler/test2/glibc-build$ make --version GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. dingjun@G02515:~/build_cross_compiler/test2/glibc-build$ sed --version sed (GNU sed) 4.8 Packaged by Debian Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Fenlason, Tom Lord, Ken Pizzini, Paolo Bonzini, Jim Meyering, and Assaf Gordon. This sed program was built with SELinux support. SELinux is disabled on this system. GNU sed home page: https://www.gnu.org/software/sed/. General help using GNU software: https://www.gnu.org/gethelp/. E-mail bug reports to: bug-sed@xxxxxxx<mailto:bug-sed@xxxxxxx>. dingjun@G02515:~/build_cross_compiler/test2/glibc-build$ as --version GNU assembler (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `x86_64-linux-gnu'. dingjun@G02515:~/build_cross_compiler/test2/glibc-build$ ld --version GNU ld (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. From: Dingjun Chen Sent: Tuesday, November 14, 2023 7:33 AM To: gcc-help@xxxxxxxxxxx Subject: For help! Hi, Dear Sir or Madam, I am working on building a cross compiler. Currently I am working on one of several steps and want to use gcc-3..3.6 to build glibc-2.3.6. However, the following errors occurred. Could someone tell me how to skip the version checking and fix such errors? I look forward to your help and hearing from you! The full log file is attached for your reference and please see it for details. Thanks & regards, Dingjun ......................................................... checking version of /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld... 2.41, bad checking for pwd... /bin/pwd checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking version of i686-pc-linux-gnu-gcc... 3.3.6, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 4.3, bad checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.21, ok checking for makeinfo... makeinfo checking version of makeinfo... 6.8, bad checking for sed... sed checking version of sed... v. ?.??, bad checking for autoconf... autoconf checking whether autoconf works... yes configure: error: *** These critical programs are missing or too old: as ld make *** Check the INSTALL file for required versions.
configure: loading site script /usr/share/config.site configure: loading cache config.cache checking build system type... x86_64-cross-linux-gnu checking host system type... i686-pc-linux-gnu running configure fragment for add-on nptl checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386/i686 nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for gcc... gcc checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as is GNU as... yes checking whether /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld is GNU ld... yes checking for /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as... /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as checking version of /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as... 2.41, bad checking for /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld... /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld checking version of /home/dingjun/lj-os-test2/cross-tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld... 2.41, bad checking for pwd... /bin/pwd checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking version of i686-pc-linux-gnu-gcc... 3.3.6, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 4.3, bad checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.21, ok checking for makeinfo... makeinfo checking version of makeinfo... 6.8, bad checking for sed... sed checking version of sed... v. ?.??, bad checking for autoconf... autoconf checking whether autoconf works... yes configure: error: *** These critical programs are missing or too old: as ld make *** Check the INSTALL file for required versions.