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
Oh I’m pretty sure I know this one, it’s some kind of toolchain bug where gcc produces PIE binaries even though it’s not supposed to and so ends up with massive numbers of relocations against the text segment and for some reason this fails. The latter bit is odd, this is supposed to work, but the first part is a real bug too and fixing that will fix the bug. I didn’t realize this bug was still extant
I tried various combinations of buildmode= now in 17.04 on ppc64el, they all fail in different ways. So it seems like we need to fix go itself with the patch from https://go-review.googlesource.com/c/go/+/33106 and SRU that.