#3136: LFS 7.1 - 5.4. Binutils-2.22 - Pass 1 on x86_64
------------------------+---------------------------------------------------
 Reporter:  jussikuosa  |       Owner:  lfs-book@…                   
     Type:  defect      |      Status:  new                          
 Priority:  normal      |   Milestone:  7.1                          
Component:  Book        |     Version:  7.1-rc1                      
 Severity:  normal      |    Keywords:                               
------------------------+---------------------------------------------------
 I'm doing my first pass on 64bit debian 6 VM and I ran across a minor
 problem in section 5.4. Binutils-2.22 - Pass 1. The code snippet in the
 x86_64 note tries to create /tools/lib, but it has already been created
 during libiberty installation:

 make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty'
 make[3]: Entering directory `/mnt/lfs/sources/binutils-
 build/libiberty/testsuite'
 make[3]: Nothing to be done for `all'.
 make[3]: Leaving directory `/mnt/lfs/sources/binutils-
 build/libiberty/testsuite'
 /bin/sh ../../binutils-2.22/libiberty/../mkinstalldirs /tools/lib/`gcc -g
 -O2 -print-multi-os-directory`
 mkdir -p -- /tools/lib/../lib
 /usr/bin/install -c -m 644 ./libiberty.a /tools/lib/`gcc -g -O2 -print-
 multi-os-directory`/./libiberty.an

 Therefore, the proposed
 case $(uname -m) in
     x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;;
 esac
 code fails with
 mkdir: cannot create directory `/tools/lib': File exists
 and the symlink from `/tools/lib64' -> `lib' has to be done manually by
 re-running ln -sv lib /tools/lib64.

 NOTE: 7.1 is missing from Trac Version field value list.

 The 7.1 errata is empty and I couldn't find anything related to this in
 the mailing list archive.

 Here are the prerequisites:
 root@xxxxxxxxx:~# bash version-check.sh
 bash, version 4.1.5(1)-release
 /bin/sh -> /bin/bash
 Binutils: (GNU Binutils for Debian) 2.20.1-system.20100303
 bison (GNU Bison) 2.4.1
 /usr/bin/yacc -> /usr/bin/bison.yacc
 bzip2,  Version 1.0.5, 10-Dec-2007.
 Coreutils:  8.5
 diff (GNU diffutils) 3.0
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.7
 /usr/bin/awk -> /usr/bin/gawk
 gcc (Debian 4.4.5-8) 4.4.5
 (Debian EGLIBC 2.11.3-3) 2.11.3
 GNU grep 2.6.3
 gzip 1.3.12
 Linux version 2.6.32-5-amd64 (Debian 2.6.32-45) ([email protected]) (gcc
 version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun May 6 04:00:17 UTC 2012
 m4 (GNU M4) 1.4.14
 GNU Make 3.81
 patch 2.6
 Perl version='5.10.1';
 GNU sed version 4.2.1
 tar (GNU tar) 1.23
 Texinfo: makeinfo (GNU texinfo) 4.13
 xz (XZ Utils) 5.0.0
 gcc compilation OK

 Best regards,

     Jussi Kuosa

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3136>
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