Failure to link a PIE binary on ppc64el (FTBFS)
Bug #1973107 reported by
Sergio Durigan Junior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go |
Fix Released
|
Unknown
|
|||
golang-1.18 (Ubuntu) |
Fix Released
|
Critical
|
Sergio Durigan Junior | ||
Jammy |
Confirmed
|
Low
|
Unassigned | ||
Kinetic |
Fix Released
|
Critical
|
Sergio Durigan Junior |
Bug Description
golang-1.18 fails to link a PIE binary on ppc64el, which is causing FTBFSes in other packages (telegraf, in my case), including an FTBFS while building golang-1.18 itself on that architecture.
There's an upstream bug & fix available, and I intend to work on backporting them. I'll probably need to do a two-stage upload in order to be able to fully build the fixed golang compiler on ppc64el, though.
Related branches
~sergiodj/ubuntu/+source/golang-1.18:fix-ppc64el-link-bug
Merged
into
ubuntu/+source/golang-1.18:ubuntu/devel
at
revision 2efc65ccc95c3562b86063a8399ff447e34772b9
- William Wilson (community): Approve
- Michael Hudson-Doyle (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 338 lines (+298/-0)4 files modifieddebian/changelog (+15/-0)
debian/patches/lp1973107-cmd-link-use-TOC-relative-trampolines-on-PPC64-when-.patch (+276/-0)
debian/patches/series (+1/-0)
debian/rules (+6/-0)
Changed in golang-1.18 (Ubuntu Jammy): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
Changed in golang: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This bug was fixed in the package golang-1.18 - 1.18.1-1ubuntu2
---------------
golang-1.18 (1.18.1-1ubuntu2) kinetic; urgency=medium
[ Sergio Durigan Junior ] cmd-link- use-TOC- relative- trampolines- on-PPC64- when-.patch:
* d/p/lp1973107-
Use TOC-relative trampolines on ppc64el when needed. Fix link
error when building PIE binaries. (LP: #1973107)
* d/rules: Remove link_test.go when running tests on ppc64el. This
is a temporary change that will be reverted in the next upload.
[ William 'jawn-smith' Wilson ]
* d/rules: Add NO_PNG_PKG_MANGLE to prevent a test file from being
compressed. (LP: #1972735)
-- Sergio Durigan Junior <email address hidden> Thu, 12 May 2022 16:20:11 -0400