tls tests fail of gcc-4.0.3; what to do now?

lynx.abraxas at freenet.de lynx.abraxas at freenet.de
Sun Jan 7 10:26:40 PST 2007


Hallo!


I'm  trying  to compile a gcc-4.0.3 to compile glibc-2.3.6 but gcc-4.0.3 tests
have tls failures, see attachment test_summary01.out.

I ran into problems while trying to upgrade my glibc from 2.3.3-lfs  to  2.3.6
(because  of  x264  using  sched_getaffinity()  with 2 parms, glibc not beeing
executable and now wine segfaulting). There I got errors (see below). Are they
related  to  the gcc tls failures? What can I do with gcc and glibc? Can these
problems be related to the kernel 2.6.19.1?

My system is  an  LFS  5.1.1  with  upgraded  versions  of  gcc  and  binutils
(binutils-2.15.94.0.2.2   ->  binutils-2.17.50.0.1)  and  not  2.4-kernel  but
2.6.19.1. I fear that the default gcc (4.1.1) of my system  had  tls  failures
too.

Thanks for any help,
Lynx

with gcc-4.0.3:
grep Error glibc-check-log0
make[2]: [/usr/src/glibc/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancel17.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx4.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx5.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx16.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx17.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx20.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx21.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cleanupx4.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2

with gcc-4.1.1:
grep Error glibc-check-log0
make[2]: [/usr/src/glibc/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancel17.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx4.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx5.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx16.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx17.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx20.out] Error 1
make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx21.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/usr/src/glibc/glibc-build/resolv/tst-leaks.out] Error 1
make[1]: *** [resolv/tests] Error 2
make: *** [check] Error 2




-------------- next part --------------
cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_4_0_3_release revision 111908

Native configuration is i686-pc-linux-gnu

		=== g++ tests ===


Running target unix
FAIL: g++.dg/tls/static-1.C execution test
XPASS: g++.old-deja/g++.other/init5.C execution test

		=== g++ Summary ===

# of expected passes		11462
# of unexpected failures	1
# of unexpected successes	1
# of expected failures		69
# of unsupported tests		56
/usr/src/gcc-403/gcc-build/gcc/testsuite/../g++  version 4.0.3

		=== gcc tests ===


Running target unix
FAIL: gcc.dg/tls/opt-11.c execution test
FAIL: gcc.dg/tls/pr24428-2.c execution test
FAIL: gcc.dg/tls/pr24428.c execution test
XPASS: gcc.dg/vect/vect-22.c scan-tree-dump-times vectorized 3 loops 1

		=== gcc Summary ===

# of expected passes		35541
# of unexpected failures	3
# of unexpected successes	1
# of expected failures		94
# of untested testcases		28
# of unsupported tests		326
/usr/src/gcc-403/gcc-build/gcc/xgcc  version 4.0.3

		=== libmudflap tests ===


Running target unix

		=== libmudflap Summary ===

# of expected passes		1288
		=== libstdc++ tests ===


Running target unix
XPASS: 22_locale/locale/cons/12658_thread-1.cc execution test
XPASS: 26_numerics/cmath/c99_classification_macros_c.cc (test for excess errors)

		=== libstdc++ Summary ===

# of expected passes		3713
# of unexpected successes	2
# of expected failures		12

Compiler version: 4.0.3 
Platform: i686-pc-linux-gnu
configure flags: --prefix=/opt/gcc-4.0.3 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
EOF
Mail -s "Results for 4.0.3 testsuite on i686-pc-linux-gnu" gcc-testresults at gcc.gnu.org &&
mv /usr/src/gcc-403/gcc-build/./gcc/testsuite/g++.sum /usr/src/gcc-403/gcc-build/./gcc/testsuite/g++.sum.sent &&
mv /usr/src/gcc-403/gcc-build/./gcc/testsuite/gcc.sum /usr/src/gcc-403/gcc-build/./gcc/testsuite/gcc.sum.sent &&
mv /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.sum /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.sum.sent &&
mv /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent &&
mv /usr/src/gcc-403/gcc-build/./gcc/testsuite/g++.log /usr/src/gcc-403/gcc-build/./gcc/testsuite/g++.log.sent &&
mv /usr/src/gcc-403/gcc-build/./gcc/testsuite/gcc.log /usr/src/gcc-403/gcc-build/./gcc/testsuite/gcc.log.sent &&
mv /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.log /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.log.sent &&
mv /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /usr/src/gcc-403/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent &&
true


More information about the lfs-support mailing list