LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-16-2011, 06:35 AM   #1
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware64 14.0, LFS 7.4
Posts: 51

Rep: Reputation: 4
Error on checking binutils - 6.13 of LFS book


The compilation of binutils goes fine.
But when i check the binaries...
Code:
		=== ld Summary ===

# of expected passes		450
# of unexpected failures	80
# of unexpected successes	33
# of expected failures		10
# of unresolved testcases	12
# of untested testcases		1
/root/binutils-build/ld/ld-new 2.21.1

make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory `/root/binutils-build/ld'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/root/binutils-build/ld'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/root/binutils-build/ld'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/root/binutils-build/ld'
make[1]: *** [check-ld] Error 2
make[2]: Entering directory `/root/binutils-build/libiberty'
make[3]: Entering directory `/root/binutils-build/libiberty/testsuite'
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../binutils-2.21.1/libiberty/testsuite/../../include  -o test-demangle \
	../../../binutils-2.21.1/libiberty/testsuite/test-demangle.c ../libiberty.a
./test-demangle < ../../../binutils-2.21.1/libiberty/testsuite/demangle-expected
./test-demangle: 827 tests, 0 failures
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../binutils-2.21.1/libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o test-pexecute \
	../../../binutils-2.21.1/libiberty/testsuite/test-pexecute.c ../libiberty.a
./test-pexecute
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../binutils-2.21.1/libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o test-expandargv \
	../../../binutils-2.21.1/libiberty/testsuite/test-expandargv.c ../libiberty.a
./test-expandargv
PASS: test-expandargv-0.
PASS: test-expandargv-1.
PASS: test-expandargv-2.
PASS: test-expandargv-3.
PASS: test-expandargv-4.
PASS: test-expandargv-5.
PASS: test-expandargv-6.
make[3]: Leaving directory `/root/binutils-build/libiberty/testsuite'
make[2]: Leaving directory `/root/binutils-build/libiberty'
make[1]: Target `check-host' not remade because of errors.
make[1]: Nothing to be done for `check-target'.
make[1]: Leaving directory `/root/binutils-build'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.
All the previous checks were correct.
Any idea?
 
Old 11-17-2011, 01:08 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

I noticed this is marked as [SOLVED]. Could you tell us what you've done to get to that point, this information might be helpful to others that stumble upon this thread.
 
Old 11-17-2011, 01:46 AM   #3
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware64 14.0, LFS 7.4
Posts: 51

Original Poster
Rep: Reputation: 4
Yeah, sure.
I simply add to the configure the option "--build=i686-linux-gnu" and all works fine.
 
Old 11-17-2011, 02:38 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by jimmy_page_89 View Post
I simply add to the configure the option "--build=i686-linux-gnu" and all works fine.
If you need to add axtra options which are not mentioned in the LFS documentation then something is definitely wrong and you might encounter problems later on in the build (which I believe you did, looking at your other post).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] lfs 6.7 book ch 5.4 binutils 2.20.1 pass 1 error:error: ppl_c.h: No such file or directory frank zhu Linux From Scratch 6 03-04-2011 11:23 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
Stucked at : 5.3. Binutils-2.17 - Pass 1 on LFS-BOOK-SVN-20070304 androme Linux From Scratch 1 03-13-2007 02:49 PM
LFS binutils-build error : Pass 1 ramlnx Linux From Scratch 1 07-12-2006 07:06 AM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration