Public bug reported: The builds of snapd git master (and 2.28~rc1) fail on ppc64el in zesty (only there) with the following error message:
/tmp/go-build312455947/github.com/snapcore/snapd/cmd/snap-seccomp/_test/snap-seccomp.test: error while loading shared libraries: R_PPC64_ADDR16_HA re115ff6af8 for symbol `’ out of range exit status 127 One full build log is here: https://launchpad.net/~snappy- dev/+archive/ubuntu/edge/+build/133381271 Michael Hudson-Doyle pointed me to https://go- review.googlesource.com/c/go/+/33106 which is the upstream fix for this bug. This fix is included in the 1.8 series of golang. To unblock snapd in 17.04 I would like to backport/SRU the fix for golang. This is also a problem for other packages using go in 17.04, e.g. https://bugs.launchpad.net/ubuntu/+source/containerd/+bug/1711935 and for our users who develop on go1.7. [Test case] 1. build snapd on ppc64el with golang 1.7 2. observe that it fails to build with R_PPC64_ADDR16_HA out of range errors 3. update to the fixed golang 1.7 4. verify that the build works with that [Regression potential] - medium, its a change in the way the linker is called. However given that this is the default in go1.8 the risk seems ok. ** Affects: golang-1.7 (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: golang-1.7 (Ubuntu Zesty) Importance: Undecided Status: New ** Also affects: golang-1.7 (Ubuntu Zesty) Importance: Undecided Status: New ** Changed in: golang-1.7 (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1726706 Title: Fails to build snapd on ppc64el To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-1.7/+bug/1726706/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs