public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* For help!
@ 2023-11-14 12:33 Dingjun Chen
  2023-11-14 12:40 ` FW: " Dingjun Chen
  0 siblings, 1 reply; 8+ messages in thread
From: Dingjun Chen @ 2023-11-14 12:33 UTC (permalink / raw)
  To: gcc-help


[-- Attachment #1.1: Type: text/plain, Size: 2104 bytes --]


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.
Dingjun Chen  | Software Developer

[Geotech Airborne Geophysical Surveys]

Geotech Ltd. dba Geotech Airborne | 270 INDUSTRIAL PKY S | AURORA ON CA | L4G 3T9
T: +1 905 841 5004 | Dingjun.Chen@geotechairborne.com<mailto:Dingjun.Chen@geotechairborne.com> | www.geotechairborne.com<www.geotech.ca>

P Please consider the environment before printing this email

This message may contain PRIVILEGED AND PROPRIETARY INFORMATION intended solely for the use of the addressee (s) named above. Any disclosure, distribution, copying, or use of the information by others is strictly prohibited. If you have received this message in error, please advise the sender by immediate reply and delete the original message.

[-- Attachment #2: output.txt --]
[-- Type: text/plain, Size: 3372 bytes --]

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* FW: For help!
  2023-11-14 12:33 For help! Dingjun Chen
@ 2023-11-14 12:40 ` Dingjun Chen
  2023-11-14 12:54   ` 欧阳春晖
       [not found]   ` <e9a4723f-17fb-4514-bc51-178d357ac388@163.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Dingjun Chen @ 2023-11-14 12:40 UTC (permalink / raw)
  To: gcc-help


[-- Attachment #1.1: Type: text/plain, Size: 3430 bytes --]

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@gnu.org<mailto:bug-sed@gnu.org>.


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@gcc.gnu.org
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.

[-- Attachment #2: output.txt --]
[-- Type: text/plain, Size: 3372 bytes --]

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: FW: For help!
  2023-11-14 12:40 ` FW: " Dingjun Chen
@ 2023-11-14 12:54   ` 欧阳春晖
       [not found]   ` <e9a4723f-17fb-4514-bc51-178d357ac388@163.com>
  1 sibling, 0 replies; 8+ messages in thread
From: 欧阳春晖 @ 2023-11-14 12:54 UTC (permalink / raw)
  To: gcc-help

configure prompts for necessary programs for too long. Check whether the 
compilation tool chain of your compilation machine is correct, 
especially binutils or make

> 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@gnu.org<mailto:bug-sed@gnu.org>.
>
>
> 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@gcc.gnu.org
> 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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: FW: For help!
       [not found]   ` <e9a4723f-17fb-4514-bc51-178d357ac388@163.com>
@ 2023-11-14 12:57     ` Dingjun Chen
  2023-11-14 13:00       ` 欧阳春晖
  0 siblings, 1 reply; 8+ messages in thread
From: Dingjun Chen @ 2023-11-14 12:57 UTC (permalink / raw)
  To: 欧阳春晖; +Cc: gcc-help

Hi, Jack, 

After I make a revision in the file: configure of glibc2.3.6, 

This may work: edit the configure file, look for 3.79* | 3.[89]*, change it to 3.79* | 3.[89]* | 4.*
https://stackoverflow.com/a/62252633/7268445

The errors from: 

*** These critical programs are missing or too old: as ld make

To:

*** These critical programs are missing or too old: as ld


Obviously, 'make' is gone after above minor revision in the file: configure.

Are there any more revisions so that  both 'as' and  'ld' are gone? 


I look forward to your help! 

Thanks  & regards, 

Dingjun  




-----Original Message-----
From: 欧阳春晖 <jack9603301@163.com> 
Sent: Tuesday, November 14, 2023 7:50 AM
To: Dingjun Chen <Dingjun.Chen@geotechairborne.com>
Subject: Re: FW: For help!

External Email Warning: Do not click any links or open any attachments unless you trust the sender and know the content is safe. From Geotech IT.



configure prompts for necessary programs for too long. Check whether the compilation tool chain of your compilation machine is correct, especially binutils or make


> 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@gnu.org<mailto:bug-sed@gnu.org>.
>
>
> 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@gcc.gnu.org
> 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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: FW: For help!
  2023-11-14 12:57     ` Dingjun Chen
@ 2023-11-14 13:00       ` 欧阳春晖
  2023-11-14 13:08         ` Xi Ruoyao
  0 siblings, 1 reply; 8+ messages in thread
From: 欧阳春晖 @ 2023-11-14 13:00 UTC (permalink / raw)
  To: Dingjun Chen; +Cc: gcc-help

I think you should ensure that the compiler of your cross-compilation 
environment meets the minimum requirements for compiling a 
cross-compiler. The consequences of forcibly bypassing version detection 
may be more errors. For the specific cross-compilation process, you can 
refer to the Linux From Scratch documentation. description of.

> Hi, Jack,
>
> After I make a revision in the file: configure of glibc2.3.6,
>
> This may work: edit the configure file, look for 3.79* | 3.[89]*, change it to 3.79* | 3.[89]* | 4.*
> https://stackoverflow.com/a/62252633/7268445
>
> The errors from:
>
> *** These critical programs are missing or too old: as ld make
>
> To:
>
> *** These critical programs are missing or too old: as ld
>
>
> Obviously, 'make' is gone after above minor revision in the file: configure.
>
> Are there any more revisions so that  both 'as' and  'ld' are gone?
>
>
> I look forward to your help!
>
> Thanks  & regards,
>
> Dingjun
>
>
>
>
> -----Original Message-----
> From: 欧阳春晖 <jack9603301@163.com>
> Sent: Tuesday, November 14, 2023 7:50 AM
> To: Dingjun Chen <Dingjun.Chen@geotechairborne.com>
> Subject: Re: FW: For help!
>
> External Email Warning: Do not click any links or open any attachments unless you trust the sender and know the content is safe. From Geotech IT.
>
>
>
> configure prompts for necessary programs for too long. Check whether the compilation tool chain of your compilation machine is correct, especially binutils or make
>
>
>> 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@gnu.org<mailto:bug-sed@gnu.org>.
>>
>>
>> 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@gcc.gnu.org
>> 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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: FW: For help!
  2023-11-14 13:00       ` 欧阳春晖
@ 2023-11-14 13:08         ` Xi Ruoyao
  2023-11-14 13:10           ` 欧阳春晖
  2023-11-14 13:14           ` 欧阳春晖
  0 siblings, 2 replies; 8+ messages in thread
From: Xi Ruoyao @ 2023-11-14 13:08 UTC (permalink / raw)
  To: 欧阳春晖, Dingjun Chen; +Cc: gcc-help

On Tue, 2023-11-14 at 21:00 +0800, 欧阳春晖 via Gcc-help wrote:
> I think you should ensure that the compiler of your cross-compilation 
> environment meets the minimum requirements for compiling a 
> cross-compiler. The consequences of forcibly bypassing version detection 
> may be more errors. For the specific cross-compilation process, you can 
> refer to the Linux From Scratch documentation. description of.

No. Stop. I personally added the following note into LFS several years
ago:

   The LFS book is not (and does not contain) a general tutorial to build a
   cross- (or native) toolchain. Don't use the commands in the book for a
   cross-toolchain for some purpose other than building LFS, unless you
   really understand what you are doing.


It's just off-topic and annoying to ask all these questions about
building these ancient software via gcc-help.  And it's also off-topic
with LFS.  Please try to ask via a "retro-computing" forum instead.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: FW: For help!
  2023-11-14 13:08         ` Xi Ruoyao
@ 2023-11-14 13:10           ` 欧阳春晖
  2023-11-14 13:14           ` 欧阳春晖
  1 sibling, 0 replies; 8+ messages in thread
From: 欧阳春晖 @ 2023-11-14 13:10 UTC (permalink / raw)
  To: Xi Ruoyao, Dingjun Chen; +Cc: gcc-help

You are right, however, their methods and principles are the same! 
Regardless, it's still a good reference.
> On Tue, 2023-11-14 at 21:00 +0800, 欧阳春晖 via Gcc-help wrote:
>> I think you should ensure that the compiler of your cross-compilation
>> environment meets the minimum requirements for compiling a
>> cross-compiler. The consequences of forcibly bypassing version detection
>> may be more errors. For the specific cross-compilation process, you can
>> refer to the Linux From Scratch documentation. description of.
> No. Stop. I personally added the following note into LFS several years
> ago:
>
>     The LFS book is not (and does not contain) a general tutorial to build a
>     cross- (or native) toolchain. Don't use the commands in the book for a
>     cross-toolchain for some purpose other than building LFS, unless you
>     really understand what you are doing.
>
>
> It's just off-topic and annoying to ask all these questions about
> building these ancient software via gcc-help.  And it's also off-topic
> with LFS.  Please try to ask via a "retro-computing" forum instead.
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: FW: For help!
  2023-11-14 13:08         ` Xi Ruoyao
  2023-11-14 13:10           ` 欧阳春晖
@ 2023-11-14 13:14           ` 欧阳春晖
  1 sibling, 0 replies; 8+ messages in thread
From: 欧阳春晖 @ 2023-11-14 13:14 UTC (permalink / raw)
  To: Xi Ruoyao, Dingjun Chen; +Cc: gcc-help

Of course, in addition to LFS, if you are willing to spend time 
exploring, you can also consider referring to Gentoo's Crossdev script. 
However, there is essentially no difference - LFS is just a template. 
Obviously, its method is universal. You can arbitrarily select any part 
of the compilation process, for example, the cross-compiler build 
command - you only need to modify some parameters and refer to the 
configure command help. If you want to use automated tools, you can also 
use third-party tools to compile the cross-compilation environment
> On Tue, 2023-11-14 at 21:00 +0800, 欧阳春晖 via Gcc-help wrote:
>> I think you should ensure that the compiler of your cross-compilation
>> environment meets the minimum requirements for compiling a
>> cross-compiler. The consequences of forcibly bypassing version detection
>> may be more errors. For the specific cross-compilation process, you can
>> refer to the Linux From Scratch documentation. description of.
> No. Stop. I personally added the following note into LFS several years
> ago:
>
>     The LFS book is not (and does not contain) a general tutorial to build a
>     cross- (or native) toolchain. Don't use the commands in the book for a
>     cross-toolchain for some purpose other than building LFS, unless you
>     really understand what you are doing.
>
>
> It's just off-topic and annoying to ask all these questions about
> building these ancient software via gcc-help.  And it's also off-topic
> with LFS.  Please try to ask via a "retro-computing" forum instead.
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-14 13:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 12:33 For help! Dingjun Chen
2023-11-14 12:40 ` FW: " Dingjun Chen
2023-11-14 12:54   ` 欧阳春晖
     [not found]   ` <e9a4723f-17fb-4514-bc51-178d357ac388@163.com>
2023-11-14 12:57     ` Dingjun Chen
2023-11-14 13:00       ` 欧阳春晖
2023-11-14 13:08         ` Xi Ruoyao
2023-11-14 13:10           ` 欧阳春晖
2023-11-14 13:14           ` 欧阳春晖

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).