-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.release-blocker
Milestone
Description
What version of Go are you using (go version
)?
The latest git tip I've tested this on is go version devel +926373ea79 Thu Oct 12 00:11:33 2017 +0000 linux/amd64
.
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOOS="linux"
Specifically I'm on Fedora 26. Since this test appears to use gccgo, it may be relevant that my reported (system) gccgo version is gccgo (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
.
What did you do?
Trying to do ./all.bash
build now fails in TestTwoGopathShlibsGccgo:
[....]
##### ../misc/cgo/testcshared
PASS
##### ../misc/cgo/testshared
--- FAIL: TestTwoGopathShlibsGccgo (0.68s)
shared_test.go:371: /tmpfs/testshared953842952/pkg/gccgo_linux_amd64_5577006791947779410_fPIC/shlibs/libdep2.so is not linked to anything matching libdepBase\.so
FAIL
exit status 1
FAIL _/tmp/go/misc/cgo/testshared 13.913s
2017/10/11 20:36:31 Failed: exit status 1
##### ../misc/cgo/testplugin
PASS
something
[...]
Git bisection says that this started happening at commit 4e8be99, 'cmd/go: clean up compile vs link vs shared library actions'. I hacked in some instrumentation and it appears that libdep2.so here is only linked to libgo.so.11, libgcc_s.so.1, libc.so.6, and ld-linux-x86-64.so.2.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.release-blocker