Has anyone seen better results from the testsuite for GO ? I am getting ugly results from the testsuite and this somewhat baffles me as the GCC 4.6.3 compiler I am using tests very well thus :
http://gcc.gnu.org/ml/gcc-testresults/2012-04/msg02433.html However when I bootstrap GCC 4.7.0 and include go as a language to support I get horrific results thus : $ ../gcc-4.7.0/contrib/test_summary cat <<'EOF' | LAST_UPDATED: Obtained from SVN: tags/gcc_4_7_0_release revision 185675 Native configuration is x86_64-unknown-linux-gnu === g++ tests === Running target unix FAIL: g++.dg/charset/asm1.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/asm1.c scan-assembler .ascii bar UNRESOLVED: g++.dg/charset/asm1.c scan-assembler .ascii foo FAIL: g++.dg/charset/asm1.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/asm1.c scan-assembler .ascii bar UNRESOLVED: g++.dg/charset/asm1.c scan-assembler .ascii foo FAIL: g++.dg/charset/asm2.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/asm2.c scan-assembler std UNRESOLVED: g++.dg/charset/asm2.c scan-assembler cld UNRESOLVED: g++.dg/charset/asm2.c scan-assembler rep UNRESOLVED: g++.dg/charset/asm2.c scan-assembler movsb FAIL: g++.dg/charset/asm2.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/asm2.c scan-assembler std UNRESOLVED: g++.dg/charset/asm2.c scan-assembler cld UNRESOLVED: g++.dg/charset/asm2.c scan-assembler rep UNRESOLVED: g++.dg/charset/asm2.c scan-assembler movsb FAIL: g++.dg/charset/asm3.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/asm3.c scan-assembler foo FAIL: g++.dg/charset/asm3.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/asm3.c scan-assembler foo FAIL: g++.dg/charset/asm4.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/asm4.c scan-assembler-not translate FAIL: g++.dg/charset/asm4.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/asm4.c scan-assembler-not translate FAIL: g++.dg/charset/asm5.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/asm5.c scan-assembler foo FAIL: g++.dg/charset/asm5.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/asm5.c scan-assembler foo FAIL: g++.dg/charset/attribute1.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/attribute1.c scan-assembler foo FAIL: g++.dg/charset/attribute1.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/attribute1.c scan-assembler foo FAIL: g++.dg/charset/attribute2.c -std=c++98 (test for excess errors) FAIL: g++.dg/charset/attribute2.c -std=c++11 (test for excess errors) FAIL: g++.dg/charset/extern1.cc -std=c++98 (test for excess errors) FAIL: g++.dg/charset/extern1.cc -std=c++11 (test for excess errors) FAIL: g++.dg/charset/extern2.cc -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/extern2.cc scan-assembler-not foobar FAIL: g++.dg/charset/extern2.cc -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/extern2.cc scan-assembler-not foobar FAIL: g++.dg/charset/extern3.cc -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/extern3.cc scan-assembler-not abcdefghijklmnopqrstuvwxyz FAIL: g++.dg/charset/extern3.cc -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/extern3.cc scan-assembler-not abcdefghijklmnopqrstuvwxyz FAIL: g++.dg/charset/function.cc -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/function.cc scan-assembler-not "foobar" FAIL: g++.dg/charset/function.cc -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/function.cc scan-assembler-not "foobar" FAIL: g++.dg/charset/string.c -std=c++98 (test for excess errors) UNRESOLVED: g++.dg/charset/string.c scan-assembler-not string foobar FAIL: g++.dg/charset/string.c -std=c++11 (test for excess errors) UNRESOLVED: g++.dg/charset/string.c scan-assembler-not string foobar === g++ Summary === # of expected passes 48323 # of unexpected failures 24 # of expected failures 286 # of unresolved testcases 28 # of unsupported tests 532 /home/dclarke/build/GCC/gcc-4.7.0-build-pass1/gcc/testsuite/g++/../../g++ version 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) === gcc tests === Running target unix FAIL: gcc.dg/charset/asm1.c (test for excess errors) UNRESOLVED: gcc.dg/charset/asm1.c scan-assembler .ascii bar UNRESOLVED: gcc.dg/charset/asm1.c scan-assembler .ascii foo FAIL: gcc.dg/charset/asm2.c (test for excess errors) FAIL: gcc.dg/charset/asm4.c (test for excess errors) UNRESOLVED: gcc.dg/charset/asm4.c scan-assembler foo FAIL: gcc.dg/charset/asm5.c (test for excess errors) UNRESOLVED: gcc.dg/charset/asm5.c scan-assembler-not translate FAIL: gcc.dg/charset/asm6.c (test for excess errors) UNRESOLVED: gcc.dg/charset/asm6.c scan-assembler foo FAIL: gcc.dg/charset/attribute1.c (test for excess errors) UNRESOLVED: gcc.dg/charset/attribute1.c scan-assembler foo FAIL: gcc.dg/charset/attribute2.c (test for excess errors) FAIL: gcc.dg/charset/builtin1.c (test for excess errors) UNRESOLVED: gcc.dg/charset/builtin1.c compilation failed to produce executable FAIL: gcc.dg/charset/builtin2.c (test for excess errors) UNRESOLVED: gcc.dg/charset/builtin2.c scan-assembler-not printf UNRESOLVED: gcc.dg/charset/builtin2.c scan-assembler-not fprintf UNRESOLVED: gcc.dg/charset/builtin2.c scan-assembler-not sprintf FAIL: gcc.dg/charset/extern.c (test for excess errors) UNRESOLVED: gcc.dg/charset/extern.c scan-assembler-not abcdefghijklmnopqrstuvwxyz FAIL: gcc.dg/charset/function.c (test for excess errors) UNRESOLVED: gcc.dg/charset/function.c scan-assembler-not "foobar" FAIL: gcc.dg/charset/string.c (test for excess errors) UNRESOLVED: gcc.dg/charset/string.c scan-assembler-not string foobar FAIL: gcc.dg/cproj-fails-with-broken-glibc.c execution test 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) FAIL: gcc.target/i386/avx256-unaligned-load-4.c scan-assembler \\\\*avx_movups256/1 FAIL: gcc.target/i386/builtin-assume-aligned-1.c scan-assembler-not movlpd === gcc Summary === # of expected passes 84528 # of unexpected failures 15 # of unexpected successes 5 # of expected failures 256 # of unresolved testcases 13 # of unsupported tests 1485 /home/dclarke/build/GCC/gcc-4.7.0-build-pass1/gcc/xgcc version 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) === gfortran tests === Running target unix FAIL: gfortran.dg/allocate_zerosize_1.f90 -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/allocate_zerosize_1.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/allocate_zerosize_1.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/allocate_zerosize_1.f90 -O3 -g execution test FAIL: gfortran.dg/quad_2.f90 -O0 execution test FAIL: gfortran.dg/quad_2.f90 -O1 execution test FAIL: gfortran.dg/quad_2.f90 -O2 execution test FAIL: gfortran.dg/quad_2.f90 -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/quad_2.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/quad_2.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/quad_2.f90 -O3 -g execution test FAIL: gfortran.dg/quad_2.f90 -Os execution test === gfortran Summary === # of expected passes 40793 # of unexpected failures 12 # of expected failures 42 # of unsupported tests 76 /home/dclarke/build/GCC/gcc-4.7.0-build-pass1/gcc/testsuite/gfortran/../../gfortran version 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) === go tests === Running target unix FAIL: go.go-torture/execute/go-1.go execution, -O0 FAIL: go.go-torture/execute/go-1.go execution, -O1 FAIL: go.go-torture/execute/go-1.go execution, -O2 FAIL: go.go-torture/execute/go-1.go execution, -O2 -fomit-frame-pointer -finline-functions FAIL: go.go-torture/execute/go-1.go execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: go.go-torture/execute/go-1.go execution, -O2 -fbounds-check FAIL: go.go-torture/execute/go-1.go execution, -O3 -g FAIL: go.go-torture/execute/go-1.go execution, -Os FAIL: go.go-torture/execute/go-2.go execution, -O0 FAIL: go.go-torture/execute/go-2.go execution, -O1 FAIL: go.go-torture/execute/go-2.go execution, -O2 FAIL: go.go-torture/execute/go-2.go execution, -O2 -fomit-frame-pointer -finline-functions FAIL: go.go-torture/execute/go-2.go execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: go.go-torture/execute/go-2.go execution, -O2 -fbounds-check FAIL: go.go-torture/execute/go-2.go execution, -O3 -g FAIL: go.go-torture/execute/go-2.go execution, -Os FAIL: go.go-torture/execute/go-3.go execution, -O0 FAIL: go.go-torture/execute/go-3.go execution, -O1 FAIL: go.go-torture/execute/go-3.go execution, -O2 FAIL: go.go-torture/execute/go-3.go execution, -O2 -fomit-frame-pointer -finline-functions FAIL: go.go-torture/execute/go-3.go execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: go.go-torture/execute/go-3.go execution, -O2 -fbounds-check FAIL: go.go-torture/execute/go-3.go execution, -O3 -g FAIL: go.go-torture/execute/go-3.go execution, -Os FAIL: go.go-torture/execute/select-1.go execution, -O0 FAIL: go.go-torture/execute/select-1.go execution, -O1 FAIL: go.go-torture/execute/select-1.go execution, -O2 FAIL: go.go-torture/execute/select-1.go execution, -O2 -fomit-frame-pointer -finline-functions FAIL: go.go-torture/execute/select-1.go execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops FAIL: go.go-torture/execute/select-1.go execution, -O2 -fbounds-check FAIL: go.go-torture/execute/select-1.go execution, -O3 -g FAIL: go.go-torture/execute/select-1.go execution, -Os FAIL: go.test/test/235.go execution, -O2 -g FAIL: go.test/test/64bit.go execution FAIL: go.test/test/bigalg.go execution, -O2 -g FAIL: go.test/test/chan/doubleselect.go execution, -O2 -g FAIL: go.test/test/chan/fifo.go execution, -O2 -g FAIL: go.test/test/chan/goroutines.go execution, -O2 -g FAIL: go.test/test/chan/nonblock.go execution, -O2 -g FAIL: go.test/test/chan/powser1.go execution, -O2 -g FAIL: go.test/test/chan/powser2.go execution, -O2 -g FAIL: go.test/test/chan/select2.go execution, -O2 -g FAIL: go.test/test/chan/select3.go execution, -O2 -g FAIL: go.test/test/chan/select6.go execution, -O2 -g FAIL: go.test/test/chan/select7.go execution, -O2 -g FAIL: go.test/test/chan/sieve1.go execution, -O2 -g FAIL: go.test/test/chan/sieve2.go execution, -O2 -g FAIL: go.test/test/cmplxdivide.go FAIL: go.test/test/crlf.go execution FAIL: go.test/test/escape.go execution, -O2 -g FAIL: go.test/test/fixedbugs/bug067.go execution, -O2 -g FAIL: go.test/test/fixedbugs/bug130.go execution, -O2 -g FAIL: go.test/test/fixedbugs/bug147.go execution, -O2 -g FAIL: go.test/test/fixedbugs/bug243.go execution, -O2 -g FAIL: go.test/test/fixedbugs/bug369.go FAIL: go.test/test/fixedbugs/bug370.go execution, -O2 -g FAIL: go.test/test/func5.go execution, -O2 -g FAIL: go.test/test/gc2.go execution, -O2 -g FAIL: go.test/test/index.go execution 0 FAIL: go.test/test/index.go execution 1 FAIL: go.test/test/index.go execution 2 FAIL: go.test/test/ken/chan.go execution, -O2 -g FAIL: go.test/test/ken/chan1.go execution, -O2 -g FAIL: go.test/test/ken/cplx5.go execution, -O2 -g FAIL: go.test/test/mallocfin.go execution, -O2 -g FAIL: go.test/test/nil.go execution, -O2 -g FAIL: go.test/test/nul1.go execution FAIL: go.test/test/range.go execution, -O2 -g FAIL: go.test/test/stack.go execution, -O2 -g FAIL: go.test/test/struct0.go execution, -O2 -g === go Summary === # of expected passes 2066 # of unexpected failures 70 # of expected failures 4 # of untested testcases 4 /home/dclarke/build/GCC/gcc-4.7.0-build-pass1/gcc/testsuite/go/../../gccgo version 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) === objc tests === Running target unix === objc Summary === # of expected passes 2988 # of expected failures 6 # of unsupported tests 74 /home/dclarke/build/GCC/gcc-4.7.0-build-pass1/gcc/xgcc version 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) === libffi tests === Running target unix === libffi Summary === # of expected passes 1634 # of expected failures 10 # of unsupported tests 55 === libgo tests === Running target unix FAIL: bufio FAIL: bytes FAIL: errors FAIL: expvar FAIL: flag FAIL: fmt FAIL: html FAIL: image FAIL: io FAIL: log FAIL: math FAIL: mime FAIL: net FAIL: os FAIL: path FAIL: reflect FAIL: regexp FAIL: runtime FAIL: sort FAIL: strings FAIL: sync FAIL: time FAIL: unicode FAIL: archive/tar FAIL: archive/zip FAIL: compress/bzip2 FAIL: compress/flate FAIL: compress/gzip FAIL: compress/lzw FAIL: compress/zlib FAIL: container/heap FAIL: container/list FAIL: container/ring FAIL: crypto/aes FAIL: crypto/cipher FAIL: crypto/des FAIL: crypto/dsa FAIL: crypto/ecdsa FAIL: crypto/elliptic FAIL: crypto/hmac FAIL: crypto/md5 FAIL: crypto/rand FAIL: crypto/rc4 FAIL: crypto/rsa FAIL: crypto/sha1 FAIL: crypto/sha256 FAIL: crypto/sha512 FAIL: crypto/subtle FAIL: crypto/tls FAIL: crypto/x509 FAIL: database/sql FAIL: database/sql/driver FAIL: debug/dwarf FAIL: debug/elf FAIL: debug/macho FAIL: debug/pe FAIL: encoding/ascii85 FAIL: encoding/asn1 FAIL: encoding/base32 FAIL: encoding/base64 FAIL: encoding/binary FAIL: encoding/csv FAIL: encoding/gob FAIL: encoding/hex FAIL: encoding/json FAIL: encoding/pem FAIL: encoding/xml FAIL: exp/ebnf FAIL: exp/html FAIL: exp/norm FAIL: exp/proxy FAIL: exp/terminal FAIL: exp/utf8string FAIL: html/template FAIL: go/ast FAIL: go/doc FAIL: go/parser FAIL: go/printer FAIL: go/scanner FAIL: go/token FAIL: hash/adler32 FAIL: hash/crc32 FAIL: hash/crc64 FAIL: hash/fnv FAIL: image/color FAIL: image/draw FAIL: image/jpeg FAIL: image/png FAIL: index/suffixarray FAIL: io/ioutil FAIL: log/syslog FAIL: math/big FAIL: math/cmplx FAIL: math/rand FAIL: mime/multipart FAIL: net/http FAIL: net/http/cgi FAIL: net/http/fcgi FAIL: net/http/httptest FAIL: net/http/httputil FAIL: net/mail FAIL: net/rpc FAIL: net/smtp FAIL: net/textproto FAIL: net/url FAIL: net/rpc/jsonrpc FAIL: old/netchan FAIL: old/regexp FAIL: old/template FAIL: os/exec FAIL: os/signal FAIL: os/user FAIL: path/filepath FAIL: regexp/syntax FAIL: sync/atomic FAIL: text/scanner FAIL: text/tabwriter FAIL: text/template FAIL: text/template/parse FAIL: testing/quick FAIL: unicode/utf16 FAIL: unicode/utf8 === libgo Summary === # of expected passes 1 # of unexpected failures 122 /home/dclarke/build/GCC/gcc-4.7.0-build-pass1/./gcc/gccgo version 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) === libgomp tests === Running target unix === libgomp Summary === # of expected passes 2950 === libitm tests === Running target unix === libitm Summary === # of expected passes 26 # of expected failures 3 # of unsupported tests 1 === libmudflap tests === Running target unix FAIL: libmudflap.c++/pass55-frag.cxx ( -O) execution test === libmudflap Summary === # of expected passes 1435 # of unexpected failures 1 === libstdc++ tests === Running target unix === libstdc++ Summary === # of expected passes 8178 # of expected failures 43 # of unsupported tests 475 Compiler version: 4.7.0 (Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012) Platform: x86_64-unknown-linux-gnu configure flags: --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --with-cpu=k8 --enable-__cxa_atexit --enable-stage1-languages=c --enable-libssp --enable-targets=x86_64-unknown-linux-gnu --with-gc=page --disable-multilib --enable-nls --enable-threads=posix --prefix=/usr/local --enable-shared --libdir=/usr/local/lib --with-system-zlib --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib --with-mpc-include=/usr/local/include --with-mpc-lib=/usr/local/lib --libexecdir=/usr/local/libexec --with-local-prefix=/usr/local/include --with-gxx-include-dir=/usr/local/include --with-pkgversion='Blastwave.org Inc. Sat Apr 28 14:46:05 UTC 2012' --with-bugurl=http://www.blastwave.org/support --enable-languages=c,c++,objc,fortran,go --enable-bootstrap EOF Would love to hear from others that have seen better results. Thank you .. dc -- -- http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B +-------------------------+-----------------------------------+ | Dennis Clarke | Solaris and Linux and Open Source | | dcla...@blastwave.org | Respect for open standards. | +-------------------------+-----------------------------------+