This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: build glibc error


---------- Forwarded message ----------
From: Li Li <fancyerii@gmail.com>
Date: Wed, Feb 20, 2013 at 11:16 AM
Subject: Re: build glibc error
To: Robert Schiele <rschiele@gmail.com>


I have installed binutils 2.23 and add to PATH but when configure
glibc 2.10.1, it tells me ld is too old
I read the INSTALL it's recommended gcc and bintuils is 3.4 and 2.15.
my gcc is old but it says bad binutils
$ ld -V
GNU ld (GNU Binutils) 2.23
  Supported emulations:
   elf_x86_64
   elf32_x86_64
   elf_i386
   i386linux
   elf_l1om
   elf_k1om
glibc-build]$ ../glibc-2.10.1/configure --prefix=/home/work/lili/glibc-build
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc... gcc
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/x86_64/elf
nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64
sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux
nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux
sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64
nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu
nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/wordsize-64
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... /usr/bin//install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.23, bad
checking for ld... ld
checking version of ld... 2.23, bad
checking for pwd... /bin/pwd
checking for gcc... gcc
checking version of gcc... 3.4.5, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.80, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.14.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.7, ok
checking for sed... sed
checking version of sed... 4.1.2, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
configure: error:
*** These critical programs are missing or too old: as ld
*** Check the INSTALL file for required versions.

On Mon, Feb 18, 2013 at 11:37 PM, Robert Schiele <rschiele@gmail.com> wrote:
> On Mon, Feb 18, 2013 at 4:06 PM, Carlos O'Donell
> <carlos@systemhalted.org> wrote:
>> I usually use a non-standard prefix when building and configuring everything,
>> and build a mini-sysroot at the non-standard prefix, but that's a little more
>> complicated than one requires here. I should document that process at some
>> point.
>
> When we talk about documentation the cross building instructions from
> EGLIBC might be a good start:
> http://www.eglibc.org/svn/trunk/libc/EGLIBC.cross-building --- Some
> specific commands might be slightly out of date and need minor
> modifications. Also there might be small differences when building
> vanilla glibc instead of EGLIBC. And finally building a native tool
> chain instead of a cross tool chain makes some steps unnecessary or
> makes them more simple. But overall I think this document is a good
> start if someone is not experienced with building tool chains.
>
> Robert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]