Fails to build snapd on ppc64el
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golang-1.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The builds of snapd git master (and 2.28~rc1) fail on ppc64el in zesty (only there) with the following error message:
/tmp/go-
exit status 127
One full build log is here: https:/
Michael Hudson-Doyle pointed me to https:/
This is also a problem for other packages using go in 17.04, e.g. https:/
[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.
Changed in golang-1.7 (Ubuntu): | |
status: | New → Fix Released |
Speaking as the golang maintainer, this is definitely a change we want, and it's a backport from the upstream compiler that is the default in artful. Even if binaries with TEXTREL execute correctly (which they should) it is better to not have text relocations...