gcc-3.4.3 bootstrap error

Dan Nicholson dbn.lists at gmail.com
Thu Feb 23 10:31:13 PST 2006


On 2/23/06, Terror Duizel <duizeltjuh at hotmail.com> wrote:
> On 2/23/06, Terror Duizel <duizeltjuh at hotmail.com> wrote:
> >
> >mv libgcc_s.so.1.tmp libgcc_s.so.1 && ln -s libgcc_s.so.1 libgcc_s.so
> >/tools/i686-pc-linux-gnu/bin/ld:/usr/lib/libc.so: file format not
> >recognized; treating as linker script
> >/tools/i686-pc-linux-gnu/bin/ld:/usr/lib/libc.so:5: syntax error
> >collect2: ld returned 1 exit status

<snip>

> it doesn't work my host distro is fedora linux 4 with gcc-4.0 could this be
> the problem.

OK, this is weird.  /usr/lib/libc.so is supposed to be a linker
script, but the binutils you just built is having troubles with it. 
Could you print the results of `cat /usr/lib/libc.so'?  Here's what it
looks like on an LFS system with glibc-2.3.4:

$ cat /usr/lib/libc.so
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )

--
Dan



More information about the lfs-support mailing list