You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Running "go test -x -compiler gccgo launchpad.net/juju-core/cmd" fails
intermittently (roughly 50% of the time) with linker errors.
What is the expected output?
ok launchpad.net/juju-core/cmd 1.712s
What do you see instead?
Pages of errors like:
/tmp/go-build183489760/launchpad.net/juju-core/cmd/_test/launchpad.net/juju-core/libcmd.a(cmd.o):(.rodata.__go_tdn_launchpad.net_juju_core_cmd.Command+0x0):
multiple definition of `__go_tdn_launchpad.net_juju_core_cmd.Command'
/home/mwhudson/goplay/pkg/gccgo_linux_amd64/launchpad.net/juju-core/libcmd.a(cmd.o):(.rodata.__go_tdn_launchpad.net_juju_core_cmd.Command+0x0):
first defined here
Which compiler are you using (5g, 6g, 8g, gccgo)?
gccgo (4.8 and tip)
Which operating system are you using?
Linux, Ubuntu Saucy
Which version are you using? (run 'go version')
go version go1.1.2 linux/amd64
(also tip)
Please provide any additional information below.
It seems to be to do with the order of arguments to the link command. I'll dig more
soon.