On Sun, Jan 6, 2013 at 1:57 PM, Bruce Dubbs <bruce.du...@gmail.com> wrote:

> matthew gruda wrote:
>
> We prefer you not top post.
>
> >   $ cat `dirname $(gcc --print-libgcc-file-name)`/specs:
>
> That looks OK.
>
> > On Sun, Jan 6, 2013 at 12:57 PM, Bruce Dubbs <bruce.du...@gmail.com>
> wrote:
>
> >> Lets break this down:
> >>
>
> >>> LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:
> >>> /usr/lib/../lib64/:
> >>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/
> >>> ../../../../x86_64-unknown-linux-gnu/lib/:
> >>> /usr/lib/
> >>
> >>>   COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
>
> >>> /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2
> >>> --eh-frame-hdr
> >>> -m elf_x86_64
> >>> -dynamic-linker /lib64/ld-linux-x86-64.so.2
> >>> /usr/lib/../lib64/crt1.o
> >>> /usr/lib/../lib64/crti.o
> >>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o
> >>> -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1
> >>> -L/usr/lib/../lib64
> >>> -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/
> >>>    ../../../../x86_64-unknown-linux-gnu/lib
> >>> /tmp/ccm2lzhu.o
> >>> ""
>
> I don't save this file in my logs, but the above "" looks suspicious.
>
> >>> -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
> >>> --as-needed -lgcc_s --no-as-needed
> >>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o
> >>> /usr/lib/../lib64/crtn.o
>
> >>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/
> >>>    ../../../../x86_64-unknown-linux-gnu/bin/ld:
> >>> cannot find : No such file or directory
>
> This is unusual.  What can't it find?  I think the empty string above.
>
> What is the result of:
>
> $ find /tools -name ld\* -type f -exec ls -l {} \;
>
>    -- Bruce
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



i got :
root:/# find /tools -name ld\* -type f -exec ls -l {} \;
-rwxr-xr-x 1 root root 159442 Jan  6 01:39 /tools/lib/ld-2.16.so
-rwxr-xr-x 1 root root 915560 Jan  6 01:40 /tools/sbin/ldconfig
-rw-r--r-- 1 root root 367647 Jan  6 01:40 /tools/share/info/ld.info
-rw-r--r-- 1 root root 111338 Jan  6 01:40 /tools/share/man/man1/ld.1
-rwxr-xr-x 1 1000 1000 159442 Jan  5 19:26 /tools/tools/lib/ld-2.16.so
-rwxr-xr-x 1 1000 1000 915560 Jan  5 19:27 /tools/tools/sbin/ldconfig
-rw-r--r-- 1 1000 1000 367647 Jan  5 15:09 /tools/tools/share/info/ld.info
-rw-r--r-- 1 1000 1000 111338 Jan  5 15:09 /tools/tools/share/man/man1/ld.1
-rwxr-xr-x 4 1000 1000 1597632 Jan  5 19:26
/tools/tools/x86_64-unknown-linux-gnu/bin/ld
-rwxr-xr-x 4 1000 1000 1597632 Jan  5 19:26
/tools/tools/x86_64-unknown-linux-gnu/bin/ld.bfd
-rwxr-xr-x 4 1000 1000 1589872 Jan  5 19:26
/tools/tools/x86_64-lfs-linux-gnu/bin/ld
-rwxr-xr-x 4 1000 1000 1589872 Jan  5 19:26
/tools/tools/x86_64-lfs-linux-gnu/bin/ld.bfd
-rwxr-xr-x 1 1000 1000 5630 Jan  5 15:00 /tools/tools/bin/ldd
-rwxr-xr-x 1 1000 1000 1598624 Jan  5 19:26 /tools/tools/bin/ld-new
-rwxr-xr-x 4 1000 1000 1597632 Jan  5 19:26 /tools/tools/bin/ld
-rwxr-xr-x 4 1000 1000 1597632 Jan  5 19:26 /tools/tools/bin/ld.bfd
-rw-r--r-- 1 1000 1000 963 Jan  5 14:30 /tools/tools/include/asm/ldt.h
-rwxr-xr-x 1 root root 1597632 Jan  6 01:40
/tools/x86_64-unknown-linux-gnu/bin/ld-old
-rwxr-xr-x 1 root root 1597632 Jan  6 01:40
/tools/x86_64-unknown-linux-gnu/bin/ld.bfd
-rwxr-xr-x 1 root root 1589872 Jan  6 01:40
/tools/x86_64-lfs-linux-gnu/bin/ld
-rwxr-xr-x 1 root root 1589872 Jan  6 01:40
/tools/x86_64-lfs-linux-gnu/bin/ld.bfd
-rwxr-xr-x 1 root root 5630 Jan  6 01:39 /tools/bin/ldd
-rwxr-xr-x 1 root root 1597632 Jan  6 01:39 /tools/bin/ld-old
-rwxr-xr-x 1 root root 1598624 Jan  6 01:39 /tools/bin/ld
-rwxr-xr-x 1 root root 1597632 Jan  6 01:39 /tools/bin/ld.bfd
-rw-r--r-- 1 root root 963 Jan  6 01:39 /tools/include/asm/ldt.h
-- 
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