On 17/12/2015 16:16, Read, James C wrote:
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
Actually, I've said something wrong in my post (above), sorry. It is
normal that there are no binutils executables prefixed with
x86_64-unknown-linux-gnu- (I do not have them in my last build of LFS,
which went to completion without error).
Pierre
--
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