On 2/23/06, Terror Duizel <[EMAIL PROTECTED]> 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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to