OpenCores

UClibc tool chain test results

From OR1K

These are the latest results from uClibc tool chain testing. Tests have been carried out using Or1ksim running Linux as a target. For performance reasons, the tests have been heavily parallelized (beyond the level in the standard GNU scripts), and the results combined.

Unless otherwise indicated, the tools (and libraries and Linux) are the SVN or git versions on the date shown, and record the number of tests in each test result category. For each tool an explanation is provided of any tests with a FAIL, XPASS or UNRESOLVED outcome.

Contents

binutils 2.20.1

General

Not yet available.

Linker

Not yet available.

Assembler

Not yet available.

GCC 4.5.1

C compiler

		=== gcc Summary ===

# of expected passes		53602
# of expected failures		85
# of unsupported tests		715

runtest completed at Fri Jun 17 15:09:51 2011

C++ compiler

		=== g++ Summary ===

# of expected passes		21189
# of expected failures		149
# of unsupported tests		244

runtest completed at Sun Jun  5 23:47:39 2011

C++ library

		=== libstdc++ Summary ===

# of expected passes		5678
# of unexpected failures	2
# of unexpected successes	2
# of expected failures		94
# of unresolved tests		9
# of unsupported tests		581

runtest completed at Sun Jun 12 19:58:22 2011

FAIL tests

ext/rope/pthread7-rope.cc execution test
23_containers/list/pthread1.cc execution test
Failure due to limitations of the underlying Linux thread support.

XPASS tests

26_numerics/headers/cmath/c99_classification_macros_c++.cc
This appears to be an out of date test, expecting a failure in compilation with uClibc that is no longer the case.
27_io/basic_istream/extractors_arithmetic/char/12.cc execution test
This appears to be an out of date test, expecting failure in strtofp with uClibc, that is no longer the case.

UNRESOLVED tests

tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc execution test
tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc execution test
30_threads/timed_mutex/try_lock_for/3.cc execution test
20_util/shared_ptr/thread/default_weaktoshared.cc execution test
20_util/shared_ptr/thread/mutex_weaktoshared.cc execution test
23_containers/list/pthread5.cc execution test
23_containers/map/pthread6.cc execution test
27_io/basic_ofstream/pthread2.cc execution test
27_io/basic_ostringstream/pthread3.cc execution test
Failure due to limitations of the underlying Linux thread support.

GDB 7.2

Not yet available.

uClibc 0.9.32

Remote testing of the library is not currently supported in uClibc.

GCC 4.8.0

Tests have been performed 2012-10-10 against:

github.com/skristiansson/or1k-gcc
github.com/skristiansson/or1k-src
github.com/skristiansson/uClibc-or1k

C compiler

                === gcc Summary ===

# of expected passes            73112
# of unexpected failures        32
# of unexpected successes       2
# of expected failures          103
# of unresolved testcases       4
# of unsupported tests          1286
/opt/or1k/bin/or1k-linux-gcc  version 4.8.0 20120611 (experimental) (GCC)

FAIL tests

gcc.dg/attr-weakref-1.c (test for excess errors)
Fails in upstream as well. The problem seems to be that a weakref to a weakref isn't emitted in the asm output.
gcc.dg/builtin-object-size-10.c scan-tree-dump objsz "maximum object size 21"
Needs investigation.
gcc.dg/c99-stdint-1.c (test for excess errors)
Problem here seems to be that uClibc defines WCHAR_MIN to (-2147483647 - 1) and WCHAR_MAX to (2147483647), but __WCHAR_TYPE__ is defined to be unsigned int
gcc.dg/c99-stdint-7.c (test for excess errors)
Fails because WCHAR_MIN != __WCHAR_MIN__
gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg"
This has to do with splitting large types into registers.
According to the link below, lower subreg has changed upstream.
https://blueprints.launchpad.net/gcc-linaro/+spec/investigate-lowersubreg
This regression was not present in: GCC: (GNU) 4.8.0 20120303 (experimental), so it seems likely the upstream change is related.
Assembly looks correct, but inefficient.
gcc.dg/sibcall-3.c execution test
Needs investigation.
gcc.dg/sibcall-4.c execution test
Needs investigation.
gcc.dg/stack-usage-1.c (test for excess errors)
gcc.dg/stack-usage-1.c scan-file foo\t(256|264)\tstatic
Needs investigation.
gcc.dg/stack-usage-2.c (test for bogus messages, line 9)
gcc.dg/stack-usage-2.c (test for warnings, line 16)
gcc.dg/stack-usage-2.c (test for warnings, line 26)
gcc.dg/stack-usage-2.c (test for warnings, line 33)
Needs investigation.
gcc.dg/strlenopt-2f.c (test for excess errors)
Fails with an "undefined reference to `__memcpy_chk'", uClibc doesn't provide __memcpy_chk. Linking with libssp works.
gcc.dg/visibility-14.c scan-hidden hidden[ \t_]*foo
Needs investigation.
gcc.dg/pch/save-temps-1.c -O0 -g assembly comparison
gcc.dg/pch/save-temps-1.c -O3 -g assembly comparison
Needs investigation.
gcc.dg/torture/pr51106-2.c -O0 (internal compiler error)
gcc.dg/torture/pr51106-2.c -O0 (test for excess errors)
gcc.dg/torture/pr51106-2.c -O1 (internal compiler error)
gcc.dg/torture/pr51106-2.c -O1 (test for excess errors)
gcc.dg/torture/pr51106-2.c -O2 (internal compiler error)
gcc.dg/torture/pr51106-2.c -O2 (test for excess errors)
gcc.dg/torture/pr51106-2.c -O3 -fomit-frame-pointer (internal compiler error)
gcc.dg/torture/pr51106-2.c -O3 -fomit-frame-pointer (test for excess errors)
gcc.dg/torture/pr51106-2.c -O3 -g (internal compiler error)
gcc.dg/torture/pr51106-2.c -O3 -g (test for excess errors)
gcc.dg/torture/pr51106-2.c -Os (internal compiler error)
gcc.dg/torture/pr51106-2.c -Os (test for excess errors)
gcc.dg/torture/pr51106-2.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)
gcc.dg/torture/pr51106-2.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors)
Fails in upstream as well.
gcc.dg/tree-prof/ic-misattribution-1.c compilation, -fprofile-use -D_PROFILE_USE
Needs investigation.

XPASS tests

gcc.dg/Wstrict-overflow-18.c (test for bogus messages, line 20)
Needs investigation.
gcc.dg/tree-ssa/20040204-1.c scan-tree-dump-times optimized "link_error" 0
Needs investigation.

UNRESOLVED tests

gcc.dg/attr-weakref-1.c compilation failed to produce executable
Unresolved in upstream as well.
gcc.dg/pr47793.c scan-file .
Needs investigation.
gcc.dg/strlenopt-2f.c compilation failed to produce executable
Needs investigation.
gcc.dg/tree-prof/ic-misattribution-1.c execution, -fprofile-use -D_PROFILE_USE
Needs investigation.

C++ compiler

                === g++ Summary ===

# of expected passes            46590
# of unexpected failures        31
# of expected failures          282
# of unresolved testcases       2
# of unsupported tests          751
/opt/or1k/bin/or1k-linux-g++  version 4.8.0 20120611 (experimental) (GCC)

FAIL tests

g++.dg/compat/eh/unexpected1 cp_compat_x_tst.o-cp_compat_y_tst.o execute
Needs investigation.
g++.dg/cpp0x/lambda/lambda-eh2.C execution test
Needs investigation.
g++.dg/cpp0x/nullptr21.C output pattern test, is (no output), should match Test 1 OKTest 2 OK
Needs investigation.
g++.dg/eh/unexpected1.C -std=c++98 execution test
g++.dg/eh/unexpected1.C -std=c++11 execution test
Needs investigation.
g++.dg/opt/pr15551.C -std=gnu++98 execution test
g++.dg/opt/pr15551.C -std=gnu++11 execution test
Needs investigation.
g++.dg/opt/pr36449.C -std=gnu++98 execution test
g++.dg/opt/pr36449.C -std=gnu++11 execution test
Needs investigation.
g++.old-deja/g++.abi/cxa_vec.C -std=gnu++98 execution test
g++.old-deja/g++.abi/cxa_vec.C -std=gnu++11 execution test
Needs investigation.
g++.old-deja/g++.eh/spec2.C -std=c++98 execution test
g++.old-deja/g++.eh/spec2.C -std=c++11 execution test
Needs investigation.
g++.old-deja/g++.eh/spec3.C -std=c++98 execution test
g++.old-deja/g++.eh/spec3.C -std=c++11 execution test
Needs investigation.
g++.old-deja/g++.eh/spec4.C -std=c++98 execution test
g++.old-deja/g++.eh/spec4.C -std=c++11 execution test
Needs investigation.
g++.old-deja/g++.jason/rfg22.C -std=c++98 (test for errors, line 2)
g++.old-deja/g++.jason/rfg22.C -std=c++11 (test for errors, line 2)
Needs investigation.
g++.old-deja/g++.jason/thunk3.C -std=c++98 (test for excess errors)
g++.old-deja/g++.jason/thunk3.C -std=c++11 (test for excess errors)
Needs investigation.
g++.old-deja/g++.law/cvt2.C -std=c++98 execution test
g++.old-deja/g++.law/cvt2.C -std=c++11 execution test
Needs investigation.
g++.old-deja/g++.law/virtual3.C -std=c++98 execution test
g++.old-deja/g++.law/virtual3.C -std=c++11 execution test
Needs investigation.
g++.old-deja/g++.mike/eh33.C -std=gnu++98 execution test
g++.old-deja/g++.mike/eh33.C -std=gnu++11 execution test
Needs investigation.
g++.old-deja/g++.mike/eh50.C -std=gnu++98 execution test
g++.old-deja/g++.mike/eh50.C -std=gnu++11 execution test
Needs investigation.
g++.old-deja/g++.mike/eh51.C -std=gnu++98 execution test
g++.old-deja/g++.mike/eh51.C -std=gnu++11 execution test
Needs investigation.

UNRESOLVED tests

g++.old-deja/g++.jason/thunk3.C -std=c++98 compilation failed to produce executable
Needs investigation.
g++.old-deja/g++.jason/thunk3.C -std=c++11 compilation failed to produce executable
Needs investigation.

© copyright 1999-2014 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.