[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-22 Thread Launchpad Bug Tracker
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 **

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-15 Thread Dimitri John Ledkov
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.

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-15 Thread Dimitri John Ledkov
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. --

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-12 Thread Steve Langasek
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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-04 Thread Michael Hudson-Doyle
** 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) + +

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-03 Thread Michael Hudson-Doyle
** 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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-03 Thread Dimitri John Ledkov
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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-02 Thread Ubuntu Foundations Team Bug Bot
** 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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-02 Thread Launchpad Bug Tracker
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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-02 Thread Dimitri John Ledkov
** 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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-02 Thread Dimitri John Ledkov
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:

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-02 Thread Joel Sing
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

[Bug 1881417] Re: -buildmode=pie not supported on riscv64

2020-06-01 Thread Joel Sing
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