[lfs-support] Cannot build test program in 6.10

matthew gruda matthewgruda at gmail.com
Sun Jan 6 13:05:29 PST 2013


On Sun, Jan 6, 2013 at 3:56 PM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> matthew gruda wrote:
>
> >> What is the result of:
> >>
> >> $ find /tools -name ld\* -type f -exec ls -l {} \;
>
> > i got :
> > root:/# find /tools -name ld\* -type f -exec ls -l {} \;
> > -rwxr-xr-x  159442 Jan  6 01:39 /tools/lib/ld-2.16.so
> > -rwxr-xr-x  915560 Jan  6 01:40 /tools/sbin/ldconfig
> > -rw-r--r--  367647 Jan  6 01:40 /tools/share/info/ld.info
> > -rw-r--r--  111338 Jan  6 01:40 /tools/share/man/man1/ld.1
> > -rwxr-xr-x  159442 Jan  5 19:26 /tools/tools/lib/ld-2.16.so
> > -rwxr-xr-x  915560 Jan  5 19:27 /tools/tools/sbin/ldconfig
> > -rw-r--r--  367647 Jan  5 15:09 /tools/tools/share/info/ld.info
> > -rw-r--r--  111338 Jan  5 15:09 /tools/tools/share/man/man1/ld.1
> > -rwxr-xr-x 1597632  /tools/tools/x86_64-unknown-linux-gnu/bin/ld
> > -rwxr-xr-x 1597632  /tools/tools/x86_64-unknown-linux-gnu/bin/ld.bfd
> > -rwxr-xr-x 1589872  /tools/tools/x86_64-lfs-linux-gnu/bin/ld
> > -rwxr-xr-x 1589872  /tools/tools/x86_64-lfs-linux-gnu/bin/ld.bfd
> > -rwxr-xr-x    5630 Jan  5 15:00 /tools/tools/bin/ldd
> > -rwxr-xr-x 1598624 Jan  5 19:26 /tools/tools/bin/ld-new
> > -rwxr-xr-x 1597632 Jan  5 19:26 /tools/tools/bin/ld
> > -rwxr-xr-x 1597632 Jan  5 19:26 /tools/tools/bin/ld.bfd
> > -rw-r--r--  /tools/tools/include/asm/ldt.h
> > -rwxr-xr-x  /tools/x86_64-unknown-linux-gnu/bin/ld-old
> > -rwxr-xr-x  /tools/x86_64-unknown-linux-gnu/bin/ld.bfd
> > -rwxr-xr-x  /tools/x86_64-lfs-linux-gnu/bin/ld
> > -rwxr-xr-x  /tools/x86_64-lfs-linux-gnu/bin/ld.bfd
> > -rwxr-xr-x     5630 Jan  6 01:39 /tools/bin/ldd
> > -rwxr-xr-x  1597632 Jan  6 01:39 /tools/bin/ld-old
> > -rwxr-xr-x  1598624 Jan  6 01:39 /tools/bin/ld
> > -rwxr-xr-x  1597632 Jan  6 01:39 /tools/bin/ld.bfd
> > -rw-r--r--      963 Jan  6 01:39 /tools/include/asm/ldt.h
>
> There seems to be a problem here.  There should not be a /tools/tools
> directory.
>
> I have:
>
> -rwxr-xr-x  1612344 Dec 29 23:02 /tools/x86_64-lfs-linux-gnu/bin/ld
> -rwxr-xr-x  1612344 Dec 29 23:02 /tools/x86_64-lfs-linux-gnu/bin/ld.bfd
> -rwxr-xr-x  1630248 Dec 29 23:02 /tools/x86_64-unknown-linux-gnu/bin/ld-old
> -rwxr-xr-x  1630248 Dec 29 23:02 /tools/x86_64-unknown-linux-gnu/bin/ld.bfd
> -rwxr-xr-x  1630248 Dec 29 23:02 /tools/bin/ld-old
> -rwxr-xr-x  1632680 Dec 29 23:02 /tools/bin/ld
> -rwxr-xr-x     5649 Dec 29 22:32 /tools/bin/ldd
> -rwxr-xr-x  1630248 Dec 29 23:02 /tools/bin/ld.bfd
> -rwxr-xr-x   916968 Dec 29 23:02 /tools/sbin/ldconfig
> -rw-r--r--      963 Dec 29 22:22 /tools/include/asm/ldt.h
> -rwxr-xr-x   159428 Dec 29 23:02 /tools/lib/ld-2.17.so
>
>
> It would appear that you made an error in building binutils, either
> pass1 or pass2 in chapter 5.  Notice that the timestamps in mine are all
> the same.
>
> binutils is critical.  I wouldn't want to try to use a system with these
> errors.  I suggest starting over.
>
>    -- Bruce
>
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



ok. thanks for the help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20130106/eab7d368/attachment.html>


More information about the lfs-support mailing list