[lfs-support] Binutils tests problem

2013-05-08 Thread Antony Vincent
Hi! I have a problem with the binutils tests in chapter 6. After the command 
make -k check, I got this: 

./test-expandargvPASS: 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 `/sources/binutils-build/libiberty/testsuite'make[2]: Leaving 
directory `/sources/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 `/sources/binutils-build'make: *** 
[do-check] Error 2make: Target `check' not remade because of errors.

I looked on google and others persons have the same problem, but there were no 
real answers...

I follow the book version 7.3. 

Thanks

  -- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Binutils tests problem

2013-05-08 Thread Antony Vincent

Sorry, I didn't see there was something at the top. Here is it:

Antony
=== ld Summary ===

# of expected passes784
# of unexpected failures1
# of expected failures61
# of untested testcases1
/sources/binutils-build/ld/ld-new 2.23.1

make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory `/sources/binutils-build/ld'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/sources/binutils-build/ld'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/sources/binutils-build/ld'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/sources/binutils-build/ld'
make[1]: *** [check-ld] Error 2
make[2]: Entering directory `/sources/binutils-build/libiberty'
make[3]: Entering directory `/sources/binutils-build/libiberty/testsuite'
gcc -DHAVE_CONFIG_H -g -O2 -I.. 
-I../../../binutils-2.23.1/libiberty/testsuite/../../include  -o test-demangle \
../../../binutils-2.23.1/libiberty/testsuite/test-demangle.c ../libiberty.a
./test-demangle < ../../../binutils-2.23.1/libiberty/testsuite/demangle-expected
./test-demangle: 876 tests, 0 failures
gcc -DHAVE_CONFIG_H -g -O2 -I.. 
-I../../../binutils-2.23.1/libiberty/testsuite/../../include  -DHAVE_CONFIG_H 
-I.. -o test-pexecute \
../../../binutils-2.23.1/libiberty/testsuite/test-pexecute.c ../libiberty.a
./test-pexecute
gcc -DHAVE_CONFIG_H -g -O2 -I.. 
-I../../../binutils-2.23.1/libiberty/testsuite/../../include  -DHAVE_CONFIG_H 
-I.. -o test-expandargv \
../../../binutils-2.23.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 `/sources/binutils-build/libiberty/testsuite'
make[2]: Leaving directory `/sources/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 `/sources/binutils-build'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.


> Date: Wed, 8 May 2013 19:43:17 -0500
> From: bruce.du...@gmail.com
> To: lfs-support@linuxfromscratch.org
> Subject: Re: [lfs-support] Binutils tests problem
>
> Antony Vincent wrote:
> > Hi! I have a problem with the binutils tests in chapter 6.
> After the command make -k check, I got this:
> >
> > ./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 `/sources/binutils-build/libiberty/testsuite'
> make[2]: Leaving directory `/sources/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 `/sources/binutils-build'
> make:*** [do-check] Error 2
> make: Target `check' not remade because of errors.
>
> We need more that this. What failed? There are portions of the output
> like:
>
> === ld Summary ===
>
> # of expected passes 703
> # of expected failures 61
> # of untested testcases 1
>
> Where is there an unexpected failure?
>
> By the way, don't post using html. I had to reformat your post to make
> any sense out of it. Perhaps you shouldn't be using hotmail.
>
> -- Bruce
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Binutils tests problem

2013-05-08 Thread Antony Vincent

Here I join the complete output I obtained. The file is attached.
Thanks

> Date: Wed, 8 May 2013 20:27:08 -0500
> From: bruce.du...@gmail.com
> To: lfs-support@linuxfromscratch.org
> Subject: Re: [lfs-support] Binutils tests problem
> 
> Antony Vincent wrote:
> >
> > Sorry, I didn't see there was something at the top. Here is it:
> >
> > Antony
> >  === ld Summary ===
> >
> > # of expected passes784
> > # of unexpected failures1
> > # of expected failures61
> > # of untested testcases1
> > /sources/binutils-build/ld/ld-new 2.23.1
> 
> That's still not far enough up.  We need to see the line that has FAIL 
> on it.  From there, there should be a log in the build tree that gives 
> more details.
> 
> Please don't top post.
> 
>-- Bruce
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
  make[1]: Entering directory `/sources/binutils-build'
make[2]: Entering directory `/sources/binutils-build/bfd'
make  check-recursive
make[3]: Entering directory `/sources/binutils-build/bfd'
Making check in doc
make[4]: Entering directory `/sources/binutils-build/bfd/doc'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/sources/binutils-build/bfd/doc'
Making check in po
make[4]: Entering directory `/sources/binutils-build/bfd/po'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/sources/binutils-build/bfd/po'
make[4]: Entering directory `/sources/binutils-build/bfd'
make[4]: Leaving directory `/sources/binutils-build/bfd'
make[3]: Leaving directory `/sources/binutils-build/bfd'
make[2]: Leaving directory `/sources/binutils-build/bfd'
make[2]: Entering directory `/sources/binutils-build/opcodes'
Making check in .
make[3]: Entering directory `/sources/binutils-build/opcodes'
make[3]: Leaving directory `/sources/binutils-build/opcodes'
Making check in po
make[3]: Entering directory `/sources/binutils-build/opcodes/po'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/sources/binutils-build/opcodes/po'
make[2]: Leaving directory `/sources/binutils-build/opcodes'
make[2]: Entering directory `/sources/binutils-build/binutils'
make  check-recursive
make[3]: Entering directory `/sources/binutils-build/binutils'
Making check in doc
make[4]: Entering directory `/sources/binutils-build/binutils/doc'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/sources/binutils-build/binutils/doc'
Making check in po
make[4]: Entering directory `/sources/binutils-build/binutils/po'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/sources/binutils-build/binutils/po'
make[4]: Entering directory `/sources/binutils-build/binutils'
make  check-DEJAGNU
make[5]: Entering directory `/sources/binutils-build/binutils'
Making a new site.exp file...
srcdir=`cd ../../binutils-2.23.1/binutils && pwd`; export srcdir; \
r=`pwd`; export r; \
LC_ALL=C; export LC_ALL; \
EXPECT=expect; export EXPECT; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  CC_FOR_TARGET="gcc" CFLAGS_FOR_TARGET="-g -O2" \
$runtest --tool binutils --srcdir ${srcdir}/testsuite \
; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find tool init file
Test Run By root on Thu May  9 01:00:46 2013
Native configuration is x86_64-unknown-linux-gnu

=== binutils tests ===

Schedule of variations:
unix

Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for 
target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /sources/binutils-2.23.1/binutils/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running /sources/binutils-2.23.1/binutils/testsuite/binutils-all/ar.exp ...
Running 
/sources/binutils-2.23.1/binutils/testsuite/binutils-all/arm/objdump.exp ...
Running 
/sources/binutils-2.23.1/binutils/testsuite/binutils-all/bfin/objdump.exp ...
Running /sources/binutils-2.23.1/binutils/testsuite/binutils-all/compress.exp 
...
Running /sources/binutils-2.23.1/binutils/testsuite/binutils-all/dlltool.exp ...
Running /sources/binutils-2.23.1/binutils/testsuite/binutils-all/elfedit.exp ...
Running 
/sources/binutils-2.23.1/binutils/testsuite/binutils-all/hppa/objdump.exp ...
Running /sources/binutils-2.23.1/binutils/testsuite/binutils-all/i386/i386.exp 
...
Running 
/sources/binutils-2.23.1/binutils/testsuite/binutils-all/m68k/objdump.exp ...
Running /so

[lfs-support] GCC tests error

2013-05-10 Thread Antony Vincent
Hi,

I tried to install gcc at the chapter 6. After the command: make -k check, I 
got this error:

=== libitm Summary ===

# of expected passes26
# of expected failures3
# of unsupported tests1
make[4]: Leaving directory 
`/sources/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite'
make[3]: Leaving directory 
`/sources/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite'
make[3]: Entering directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm'
true  DO=all multi-do # make
make[3]: Leaving directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm'
make[2]: Leaving directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm'
make[1]: Target `check-target' not remade because of errors.
make[1]: Leaving directory `/sources/gcc-build'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.

The results of the command ../gcc-4.7.2/contrib/test_summary are attached to 
this message.
I read the book version 7.3
 
Thanks!
Antony
  cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_4_7_2_release revision 191558

Native configuration is x86_64-unknown-linux-gnu

=== g++ tests ===


Running target unix
ERROR: g++.dg/abi/mangle33.C -std=c++98: error executing dg-final: couldn't 
compile regular expression pattern: out of memory
UNRESOLVED: g++.dg/abi/mangle33.C -std=c++98: error executing dg-final: 
couldn't compile regular expression pattern: out of memory
ERROR: g++.dg/abi/mangle33.C -std=c++11: error executing dg-final: couldn't 
compile regular expression pattern: out of memory
UNRESOLVED: g++.dg/abi/mangle33.C -std=c++11: error executing dg-final: 
couldn't compile regular expression pattern: out of memory

=== g++ Summary ===

# of expected passes48482
# of expected failures  286
# of unresolved testcases   2
# of unsupported tests  555
/sources/gcc-build/gcc/testsuite/g++/../../g++  version 4.7.2 (GCC) 

=== gcc tests ===


Running target unix
XPASS: gcc.dg/inline_3.c (test for excess errors)
XPASS: gcc.dg/inline_4.c (test for excess errors)
XPASS: gcc.dg/unroll_2.c (test for excess errors)
XPASS: gcc.dg/unroll_3.c (test for excess errors)
XPASS: gcc.dg/unroll_4.c (test for excess errors)

=== gcc Summary ===

# of expected passes85669
# of unexpected successes   5
# of expected failures  258
# of unsupported tests  1241
/sources/gcc-build/gcc/xgcc  version 4.7.2 (GCC) 

=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes1241
=== libitm tests ===


Running target unix

=== libitm Summary ===

# of expected passes26
# of expected failures  3
# of unsupported tests  1
=== libmudflap tests ===


Running target unix
FAIL: libmudflap.c++/pass55-frag.cxx ( -O) execution test
ERROR: tcl error sourcing 
/sources/gcc-4.7.2/libmudflap/testsuite/libmudflap.cth/cthfrags.exp.
ERROR: couldn't compile regular expression pattern: out of memory

=== libmudflap Summary ===

# of expected passes1255
# of unexpected failures1
=== libstdc++ tests ===


Running target unix
FAIL: 22_locale/time_get/get_weekday/char/38081-1.cc execution test
FAIL: 22_locale/time_get/get_weekday/char/38081-2.cc execution test

=== libstdc++ Summary ===

# of expected passes
# of unexpected failures2
# of expected failures  43
# of unsupported tests  153

Compiler version: 4.7.2 (GCC) 
Platform: x86_64-unknown-linux-gnu
configure flags: --prefix=/usr --libexecdir=/usr/lib --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu 
--enable-languages=c,c++ --disable-multilib --disable-bootstrap 
--with-system-zlib
EOF
Mail -s "Results for 4.7.2 (GCC) testsuite on x86_64-unknown-linux-gnu" 
gcc-testresu...@gcc.gnu.org &&
mv /sources/gcc-build/./gcc/testsuite/g++/g++.sum 
/sources/gcc-build/./gcc/testsuite/g++/g++.sum.sent &&
mv /sources/gcc-build/./gcc/testsuite/gcc/gcc.sum 
/sources/gcc-build/./gcc/testsuite/gcc/gcc.sum.sent &&
mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.sum 
/sources/gcc-build/./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.sum.sent
 &&
mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.sum 
/sources/gcc-build/./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.sum.sent 
&&
mv 
/sources/gcc-build/./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum
 
/sources/gcc-build/./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum.sent
 &&
mv 
/sources/gcc-build/./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum
 
/sources/gcc-build/./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent
 &&
mv /sources/gcc-build/./gcc/testsuite