Hi all,

This is my first post to this mailing list. I am working my way through LFS
6.8, and at the end of '5.10. GCC-4.5.2 - Pass 2' I have compiled dummy.c to
a.out. I have not deliberately deviated from the book in any way (except
using MAKEFLAGS = '-j 2'). Unfortunately running readelf on the compiled
'a.out' gives me:

readelf -l a.out | grep 'Req'
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]

Which is not correct (as I understand it the interpreter should be in
/tools/lib/...). Therefore I have made a mistake somewhere, but I do not
know enough to know how far back this may be, so I was wondering if anyone
here could give me clue so I don't have to start again from the beginning (I
have already repeated section 5.10 from scratch, but this has not resolved
the issue)?

More information:

LFS: 6.8
Section: 5.10
Host: Ubuntu 11.04
System: Toshiba NB550D (AMD Fusion C-50 (dual-core 64-bit))

version-check.sh:
bash, version 4.2.8(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327
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 (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
GNU C Library (Ubuntu EGLIBC 2.13-0ubuntu13) stable release version 2.13
GNU grep 2.6.3
gzip 1.3.12
Linux version 2.6.38-11-generic (buildd@allspice) (gcc version 4.5.2
(Ubuntu/Linaro 4.5.2-8ubuntu4) ) #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011
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.25
Texinfo: makeinfo (GNU texinfo) 4.13
Compilation OK

User 'lfs' details:

.bashrc:
set +h
umask 022
LFS=/mnt/lfs
MAKEFLAGS='-j 2'
LC_ALL=POSIX
LFS_TGT=$(uname -m)-lfs-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL LFS_TGT PATH MAKEFLAGS

.bash_profile:
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

Do let me know if there is any more information required,

Steve
-- 
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