LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-17-2013, 08:10 PM   #1
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Rep: Reputation: Disabled
LFS-7.3 trouble moving on: description in post


5.8, binutils Pass 2:
Attached is the error I'm getting, the config log & the results for a test of the tool chain, as well as the dummy file I'm using for a test of said tool chain.

result1.txt

config.log.txt

dummy.c.txt

Code:
Commands used to test:
echo 'main(){}' > dummy.c
i686-lfs-linux-gnu-gcc dummy.c
readelf -l a.out | grep ': /tools'
Results: 
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
 
Old 05-18-2013, 01:43 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

That est is at the end of glibc not binutils

Last edited by spiky0011; 05-18-2013 at 01:48 AM.
 
Old 05-18-2013, 01:46 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by abcde597 View Post
5.8, binutils Pass 2:
Attached is the error I'm getting, the config log & the results for a test of the tool chain, as well as the dummy file I'm using for a test of said tool chain.
What was the exact command you ran when you encountered this and is LFS_TGT set?

Although I suspect that your Host System Requirements are OK (problems should have arisen earlier), please post the output if the version-check.sh script.
 
Old 05-18-2013, 01:47 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by spiky0011 View Post
and did the test at end of glibc work ok
There is no point in running the tests in chapter 5.....

Quote from the book:
Quote:
This package does come with a test suite, however, it cannot be run at this time because we do not have a C++ compiler yet.
 
Old 05-18-2013, 05:54 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi drunna I ment the section at the end of glibc " Didn,t know what to call it"
 
Old 05-18-2013, 05:40 PM   #6
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Original Poster
Rep: Reputation: Disabled
Running any package's configure produces the error I'm getting.
 
Old 05-18-2013, 08:46 PM   #7
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Original Poster
Rep: Reputation: Disabled
Results of version-check.sh:
Code:
bash, version 4.2.37(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Debian) 2.22
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.2
/usr/bin/awk -> /usr/bin/mawk
gcc (Debian 4.7.2-5) 4.7.2
(Debian EGLIBC 2.13-38) 2.13
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.7-trunk-686-pae (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.7.2-0+kali6
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
 
Old 05-18-2013, 08:50 PM   #8
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Original Poster
Rep: Reputation: Disabled
LFS_TGT is set to: i686-lfs-linux-gnu
 
Old 05-19-2013, 12:58 AM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Your host is not compliant
/bin/sh -> /bin/dash should be /bin/sh -> /bin/bash
/usr/bin/awk -> /usr/bin/mawk should be /usr/bin/awk -> /usr/bin/gawk

These need to be fixed then start again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a problem moving an LFS to a Crusoe processor? fmillion Linux From Scratch 3 05-15-2013 03:12 PM
Distro Needed -- Description in post. lupusarcanus Linux - Newbie 19 11-05-2009 01:22 AM
How can I monitor and limit bandwidth? Read description on first post for detailed Q. loco41211 Linux - Server 5 08-11-2009 07:46 AM
Moving LFS without recompile. exvor Linux From Scratch 1 02-27-2006 07:14 PM
Moving LFS to a new drive LinuxLuvr Linux From Scratch 7 08-03-2004 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration