* Merge from Debian unstable (LP: #1951125). Remaining changes:
- Add support for c-archive and c-shared on RISC-V (LP: #1936664)
- Apply patches from https://github.com/4a6f656c/go.git,
branch riscv64-c-shared-go1.16:
- d/patches/0001-runtime-cgo-save-and-restore-X3-aka-GP-for-crosscall.patch
- d/patches/0002-runtime-save-and-restore-X3-aka-GP-for-asmcgocalls-o.patch
- d/patches/0003-all-add-support-for-c-archive-and-c-shared-on-linux-.patch
- d/patches/0004-runtime-change-riscv64-assembly-to-work-with-Go-1.16.patch
- d/patches/0001-cmd-link-check-CGO_CFLAGS-for-non-g-I-O-options-befo.patch:
disable internal linking when dynamically linking and CGO_CFLAGS
contains flags that might make host object files that the internal
linkers ELF reader does not support. This fixes lots of package builds
when LTO is enabled by default via dpkg-buildflags.
-- William 'jawn-smith' Wilson <email address hidden> Mon, 15 Nov 2021 14:12:56 -0600
This bug was fixed in the package golang-1.17 - 1.17.3-1ubuntu1
---------------
golang-1.17 (1.17.3-1ubuntu1) jammy; urgency=low
* Merge from Debian unstable (LP: #1951125). Remaining changes: /github. com/4a6f656c/ go.git, c-shared- go1.16: 0001-runtime- cgo-save- and-restore- X3-aka- GP-for- crosscall. patch 0002-runtime- save-and- restore- X3-aka- GP-for- asmcgocalls- o.patch 0003-all- add-support- for-c-archive- and-c-shared- on-linux- .patch 0004-runtime- change- riscv64- assembly- to-work- with-Go- 1.16.patch 0001-cmd- link-check- CGO_CFLAGS- for-non- g-I-O-options- befo.patch:
- Add support for c-archive and c-shared on RISC-V (LP: #1936664)
- Apply patches from https:/
branch riscv64-
- d/patches/
- d/patches/
- d/patches/
- d/patches/
- d/patches/
disable internal linking when dynamically linking and CGO_CFLAGS
contains flags that might make host object files that the internal
linkers ELF reader does not support. This fixes lots of package builds
when LTO is enabled by default via dpkg-buildflags.
-- William 'jawn-smith' Wilson <email address hidden> Mon, 15 Nov 2021 14:12:56 -0600