This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247923
- From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 May 2017 21:51:27 +0000
- Subject: [Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247923
- Auto-submitted: auto-generated
- References: <bug-80803-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
More headaches. I see the failure as part of "make GOTESTFLAGS=--keep
net/check", as follows:
$ head -c 1000 TEST.log
--- FAIL: TestParseIP (20.94s)
ip_test.go:47: ParseIP("127.0.1.2") = 127.0.1.2, want <nil>
ip_test.go:55: IP.UnmarshalText("127.0.1.2") = 127.0.1.2, <nil>, want
?00000000000000000000ffff7f00010200000000000000000000ffff7f00000100000000000000000000ffff7f01020300000000000000000000ffff7f01020300000000000000000000ffff7f01020300000000000000000000ffff7f01020300000000000000000000ffff7f01020300000000000000000000ffff7f01020300000000000000000000ffff7f01020320014860000020010000000000000068200148600000200100000000000000683139322e302e322e3100000000000000302e302e302e303139322e302e322e3100000000000000000000ffffc000020100000000000000000000ffff00000000302e302e302e30003a3a00000000000020010db800000000000001230012000120010db8000000000000000000000001323030313a6462383a3a31000000000020010db800000001000000010000000120010db800010000000100000001000020010000000000000001000000000001323030313a3a313a303a303a3100000020010db8000000000001000000000000323030313a6462383a303a303a313a3a20010db80000000000010000000000012001
But with "LD_LIBRARY_PATH=../../.libs ./a.out -test.run=TestParseIP", this
particular failure mode does not occur (though the tests FAIL):
$ ./a.out -test.run=TestParseIP
--- FAIL: TestParseIP (0.03s)
ip_test.go:47: ParseIP("127.0.1.2") = 127.0.1.2, want <nil>
ip_test.go:55: IP.UnmarshalText("127.0.1.2") = 127.0.1.2, <nil>, want
<nil>
ip_test.go:47: ParseIP("127.0.0.1") = 127.0.0.1, want <nil>
ip_test.go:55: IP.UnmarshalText("127.0.0.1") = 127.0.0.1, <nil>, want
<nil>
ip_test.go:47: ParseIP("127.001.002.003") = 127.1.2.3, want <nil>
ip_test.go:55: IP.UnmarshalText("127.001.002.003") = 127.1.2.3, <nil>,
want <nil>
ip_test.go:47: ParseIP("::ffff:127.1.2.3") = 127.1.2.3, want <nil>
ip_test.go:55: IP.UnmarshalText("::ffff:127.1.2.3") = 127.1.2.3, <nil>,
want <nil>
ip_test.go:47: ParseIP("::ffff:127.001.002.003") = 127.1.2.3, want
<nil>
ip_test.go:55: IP.UnmarshalText("::ffff:127.001.002.003") = 127.1.2.3,
<nil>, want <nil>
ip_test.go:47: ParseIP("::ffff:7f01:0203") = 127.1.2.3, want <nil>
ip_test.go:55: IP.UnmarshalText("::ffff:7f01:0203") = 127.1.2.3, <nil>,
want <nil>
ip_test.go:47: ParseIP("0:0:0:0:0000:ffff:127.1.2.3") = 127.1.2.3, want
<nil>
ip_test.go:55: IP.UnmarshalText("0:0:0:0:0000:ffff:127.1.2.3") =
127.1.2.3, <nil>, want <nil>
ip_test.go:47: ParseIP("0:0:0:0:000000:ffff:127.1.2.3") = 127.1.2.3,
want <nil>
ip_test.go:55: IP.UnmarshalText("0:0:0:0:000000:ffff:127.1.2.3") =
127.1.2.3, <nil>, want <nil>
ip_test.go:47: ParseIP("0:0:0:0::ffff:127.1.2.3") = 127.1.2.3, want
<nil>
ip_test.go:55: IP.UnmarshalText("0:0:0:0::ffff:127.1.2.3") = 127.1.2.3,
<nil>, want <nil>
ip_test.go:47: ParseIP("2001:4860:0:2001::68") = 2001:4860:0:2001::68,
want <nil>
ip_test.go:55: IP.UnmarshalText("2001:4860:0:2001::68") =
2001:4860:0:2001::68, <nil>, want <nil>
ip_test.go:47: ParseIP("2001:4860:0000:2001:0000:0000:0000:0068") =
2001:4860:0:2001::68, want <nil>
ip_test.go:55:
IP.UnmarshalText("2001:4860:0000:2001:0000:0000:0000:0068") =
2001:4860:0:2001::68, <nil>, want <nil>
FAIL
I don't have any explanation for this...