LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error on checking binutils - 6.13 of LFS book (https://www.linuxquestions.org/questions/linux-from-scratch-13/error-on-checking-binutils-6-13-of-lfs-book-913823/)

jimmy_page_89 11-16-2011 06:35 AM

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?

druuna 11-17-2011 01:08 AM

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.

jimmy_page_89 11-17-2011 01:46 AM

Yeah, sure.
I simply add to the configure the option "--build=i686-linux-gnu" and all works fine.

druuna 11-17-2011 02:38 AM

Hi,
Quote:

Originally Posted by jimmy_page_89 (Post 4526312)
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).


All times are GMT -5. The time now is 01:09 AM.