This bug was fixed in the package golang-1.14 - 1.14.3-2ubuntu2~20.04.1
---
golang-1.14 (1.14.3-2ubuntu2~20.04.1) focal; urgency=medium
* Backport to focal. (LP: #1880040, #1881417)
* Drop debhelper-compat back to 12.
-- Michael Hudson-Doyle Thu, 04 Jun 2020
11:58:08 +1200
**
The build finished the build stage correctly, and only failed in
testing.
Get:93 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64
golang-1.14-src riscv64 1.14.3-2ubuntu2~20.04.1 [13.3 MB]
Get:94 http://ftpmaster.internal/ubuntu focal-proposed/main riscv64
golang-1.14-go riscv64 1.14.
Started the test build at
https://code.launchpad.net/~xnox/+archive/ubuntu/nonvirt/+build/19461868
The build step should suceed, using the golang-1.14 from focal-proposed,
whilst using cgo & buildmode=pie.
It will fail during tests, but that's irrelevant for validating this bug
in question.
--
Hello Dimitri, or anyone else affected,
Accepted golang-1.14 into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/golang-1.14/1.14.3-2ubuntu2~20.04.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new packag
** Also affects: golang-1.14 (Ubuntu Focal)
Importance: Undecided
Status: New
** Description changed:
+ [impact]
-buildmode=pie not supported on riscv64
it should be, tried forcing to enable it on top of our patches, but
golang toolchain failed to build (testsuire errors)
+
+
** Package changed: golang-defaults (Ubuntu) => golang-1.14 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881417
Title:
-buildmode=pie not supported on riscv64
To manage notifications abo
golang-1.14 (1.14.3-2ubuntu2) groovy; urgency=medium
* Add one more patch from Joel Sing for riscv64.
-- Dimitri John Ledkov Tue, 02 Jun 2020 14:50:32
+0100
** Changed in: golang-defaults (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you a
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881417
Title:
-buildmode=pie not supported on riscv64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ub
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: golang-defaults (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881417
Tit
** Patch added: "riscv64-enable-all-the-things.patch"
https://bugs.launchpad.net/ubuntu/+source/golang-defaults/+bug/1881417/+attachment/5379732/+files/riscv64-enable-all-the-things.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubu
I think it's to do with allowing '-shared' too, no? I've tried enabling
all the things. But then the build fails.
Let me paste my patches.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881417
Title:
Ah, looks like `go build -ldflags=-buildmode=pie` works but `go build
-buildmode=pie` does not - will investigate further.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881417
Title:
-buildmode=pie
It is not clear what series this is on or what packages you're using.
That said, the 1.14.3-2ubuntu1 packages available for groovy include
external linking support and support -buildmode=pie:
$ dpkg -l | grep golang
ii golang-1.14 1.14.3-2ubuntu1 all
13 matches
Mail list logo