#2640: binutils in Chapter 6 "error" about /usr/bin/file on x86_64
----------------------+-----------------------------------------------------
 Reporter:  wagner17  |       Owner:  lfs-b...@…                   
     Type:  task      |      Status:  new                          
 Priority:  lowest    |   Milestone:  6.7                          
Component:  Book      |     Version:  SVN                          
 Severity:  trivial   |    Keywords:                               
----------------------+-----------------------------------------------------
 I am seeing the below message when compiling binutils in Chapter 6:

 /sources/binutils/bfd/configure: line 7240: /usr/bin/file: No such file or
 directory

 /sources/binutils/opcodes/configure: line 6975: /usr/bin/file: No such
 file or directory

 /sources/binutils/binutils/configure: line 7000: /usr/bin/file: No such
 file or directory

 /sources/binutils/gas/configure: line 6957: /usr/bin/file: No such file or
 directory

 /sources/binutils/ld/configure: line 7345: /usr/bin/file: No such file or
 directory

 For the heck of it I compiled file into /tools and symlinked it to
 /usr/bin/file, re-compiled binutils in a separate directory and compared
 the Makefiles.

 The only difference was this:
 < LD = /tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../x86_64
 -unknown-linux-gnu/bin/ld -m elf_x86_64
 ---
 > LD = /tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../x86_64
 -unknown-linux-gnu/bin/ld

 according to the ld man page:
 "If the -m option is not used, the emulation is taken from the
 "LDEMULATION" environment variable, if that is defined.

 Otherwise, the default emulation depends upon how the linker was
 configured."

 So it appears to not be a problem but I thought I would mention it since I
 didn't see any mention of it on the book or when searching the website.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2640>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to