Bug#892167: gcc-8: go and libgo testsuites fails on amd64 (and other arches)
Source: gcc-8
Version: 8-20180218-1
Severity: important
Tags: sid, buster
Usertags: testsuite, gccgo, libgo, amd64
Hi,
Running the testsuite for go and libgo with the command
make -C build check-go 2>&1 | tee ../make-check-go-8-8-20180218-1.log
reveals that most go tests fails:
(The test suite is disabled in the buildds compilation of gcc-8)
tail build/gcc/testsuite/go/go.sum
=== go Summary ===
# of expected passes 518
# of untested testcases 834
This is due to the following:
less build/gcc/testsuite/go/go.log
checksyms: found unexpected symbol "__libc_start_main@@GLIBC_2.2.5"
FAIL: checksyms
Also four libgo tests fail:
tail build/x86_64-linux-gnu/libgo/libgo.sum
=== libgo Summary for unix ===
# of expected passes 158
# of unexpected failures 4
less build/x86_64-linux-gnu/libgo/libgo.log
FAIL: crypto/sha1
FAIL: golang_org/x/crypto/chacha20poly1305/internal/chacha20
FAIL: golang_org/x/crypto/curve25519
FAIL: golang_org/x/net/lex/httplex
All fails are due to: (the error is repeated hundreds of times)
/tmp/ccjPhx1C.s:9920: Error: leb128 operand is an undefined symbol:
.LVU42
FAIL: crypto/sha1
/tmp/ccJQhkXG.s:8490: Error: leb128 operand is an undefined symbol:
.LVU355
FAIL: golang_org/x/crypto/chacha20poly1305/internal/chacha20
/tmp/ccsHI96b.s:18224: Error: leb128 operand is an undefined symbol:
.LVU1591
FAIL: golang_org/x/crypto/curve25519
/tmp/ccidCXTz.s:17050: Error: leb128 operand is an undefined symbol:
.LVU531
FAIL: golang_org/x/net/lex/httplex
The above errors does also happen on other atchtectures, but only
reported here for amd64.
Thanks!
Reply to: