>> I just checked again with a test build, I get the same results. All the
>> $LFS_TGT-* binaries do still link to /lib as they're the ones from the first
>> pass, so that should be nothing to worry about. Still, you are missing the
>> programs that should have been installed by Binutils Pass 2, so I would check
>> those commands very carefully against what's in the book, including verifying
>> that you did in fact remove the source and build directories between Pass 1
>> and Pass 2.

>Chris, I think you spotted the right issue: even the binutils executables
>prefixed with x86_64-unknown-linux-gnu- are not in James' /tools/bin. It looks
>like the "make install" step, before "make -C ld clean", was missed in
>binutils-pass2.

I've just rebuilt binutils. Here is my output of files created today:

ls -al /tools/bin/ | grep 'Dec 17'
drwxr-xr-x  2 lfs lfs    12288 Dec 17 14:38 .
drwxr-xr-x 13 lfs root    4096 Dec 17 13:05 ..
-rwxr-xr-x  1 lfs lfs  5307288 Dec 17 14:38 addr2line
-rwxr-xr-x  2 lfs lfs  5470840 Dec 17 14:38 ar
-rwxr-xr-x  2 lfs lfs  7456632 Dec 17 14:38 as
-rwxr-xr-x  1 lfs lfs  5265576 Dec 17 14:38 c++filt
-rwxr-xr-x  1 lfs lfs    94576 Dec 17 14:38 elfedit
-rwxr-xr-x  1 lfs lfs  5829208 Dec 17 14:38 gprof
-rwxr-xr-x  4 lfs lfs  7489744 Dec 17 14:38 ld
-rwxr-xr-x  1 lfs lfs  7489760 Dec 17 13:22 ld-new
-rwxr-xr-x  4 lfs lfs  7489744 Dec 17 14:38 ld.bfd
-rwxr-xr-x  2 lfs lfs  5340912 Dec 17 14:38 nm
-rwxr-xr-x  2 lfs lfs  6284816 Dec 17 14:38 objcopy
-rwxr-xr-x  2 lfs lfs  7802816 Dec 17 14:38 objdump
-rwxr-xr-x  2 lfs lfs  5470832 Dec 17 14:38 ranlib
-rwxr-xr-x  1 lfs lfs  1287424 Dec 17 14:38 readelf
-rwxr-xr-x  1 lfs lfs  5296808 Dec 17 14:38 size
-rwxr-xr-x  1 lfs lfs  5296624 Dec 17 14:38 strings
-rwxr-xr-x  2 lfs lfs  6284840 Dec 17 14:38 strip
lfs@ubuntu:/mnt/lfs/sources/build$ ls -al /tools/lib/ | grep 'Dec 17'
drwxr-xr-x 10 lfs lfs     12288 Dec 17 14:38 .
drwxr-xr-x 13 lfs root     4096 Dec 17 13:05 ..
-rw-r--r--  1 lfs lfs  13939338 Dec 17 14:38 libbfd.a
-rwxr-xr-x  1 lfs lfs       882 Dec 17 14:38 libbfd.la
-rw-r--r--  1 lfs lfs   2537748 Dec 17 14:38 libopcodes.a
-rwxr-xr-x  1 lfs lfs       889 Dec 17 14:38 libopcodes.la

and if I've got this right here are the linked libraries

for F in /tools/bin/* ; do  modsecs=$(date --utc --reference=$F +%s); 
nowsecs=$(date +%s); delta=$(($nowsecs-$modsecs)); if [ $delta -lt 12000 ]; 
then echo $F; ldd $F; fi; done
/tools/bin/addr2line
        linux-vdso.so.1 (0x00007fffde7c6000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f1d420a1000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f1d41cfd000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f1d422a5000)
/tools/bin/ar
        linux-vdso.so.1 (0x00007fff8b7e3000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f5744190000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f5743dec000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f5744394000)
/tools/bin/as
        linux-vdso.so.1 (0x00007ffdfcb80000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fa3a2132000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fa3a1d8e000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fa3a2336000)
/tools/bin/c++filt
        linux-vdso.so.1 (0x00007ffc73bb9000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fb0ca441000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fb0ca09d000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fb0ca645000)
/tools/bin/elfedit
        linux-vdso.so.1 (0x00007ffd595cf000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fbd87124000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fbd86d80000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fbd87328000)
/tools/bin/gprof
        linux-vdso.so.1 (0x00007ffd354cc000)
        libm.so.6 => /tools/lib/libm.so.6 (0x00007fcad0f1b000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fcad0d17000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fcad0973000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fcad1219000)
/tools/bin/ld
        linux-vdso.so.1 (0x00007ffdbad8d000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f3c4103b000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f3c40c97000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f3c4123f000)
/tools/bin/ld-new
        linux-vdso.so.1 (0x00007fff8e3f9000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fac09f4b000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fac09ba7000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fac0a14f000)
/tools/bin/ld.bfd
        linux-vdso.so.1 (0x00007ffd797ca000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f4b398f0000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f4b3954c000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f4b39af4000)
/tools/bin/nm
        linux-vdso.so.1 (0x00007fff3d4c3000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f6b9eeb5000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f6b9eb11000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f6b9f0b9000)
/tools/bin/objcopy
        linux-vdso.so.1 (0x00007fff0e4b3000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f285211a000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f2851d76000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f285231e000)
/tools/bin/objdump
        linux-vdso.so.1 (0x00007ffe5ebfb000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fcbd83dd000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fcbd8039000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fcbd85e1000)
/tools/bin/ranlib
        linux-vdso.so.1 (0x00007ffd93efb000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f2080609000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f2080265000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f208080d000)
/tools/bin/readelf
        linux-vdso.so.1 (0x00007fff219bf000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f30d7ebf000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f30d7b1b000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f30d80c3000)
/tools/bin/size
        linux-vdso.so.1 (0x00007fff5fd34000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f5324ccb000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f5324927000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f5324ecf000)
/tools/bin/strings
        linux-vdso.so.1 (0x00007ffdd21b5000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007fb5ea1b3000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007fb5e9e0f000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007fb5ea3b7000)
/tools/bin/strip
        linux-vdso.so.1 (0x00007ffe0b770000)
        libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f799e127000)
        libc.so.6 => /tools/lib/libc.so.6 (0x00007f799dd83000)
        /tools/lib64/ld-linux-x86-64.so.2 (0x00007f799e32b000)

for F in /tools/lib/* ; do  modsecs=$(date --utc --reference=$F +%s); 
nowsecs=$(date +%s); delta=$(($nowsecs-$modsecs)); if [ $delta -lt 12000 ]; 
then echo $F; sudo ldd $F; fi; done
/tools/lib/libbfd.a
        not a dynamic executable
/tools/lib/libbfd.la
        not a dynamic executable
/tools/lib/libopcodes.a
        not a dynamic executable
/tools/lib/libopcodes.la
        not a dynamic executable


Does this all look good?

Daer Samej
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to