diff options
| author | Randolph Sapp <rs@ti.com> | 2025-10-01 19:28:24 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-06 23:15:59 +0100 |
| commit | cbf72b3696497c0c794e4497c4a5dcdcf13d8219 (patch) | |
| tree | 6867758e3f2b2079bdb68a5b688fe7f78cefa0e1 /meta/recipes-devtools/go/go-1.25.0.inc | |
| parent | bb8aa3740f6cb318f63b708e84ee67dbd1334ce1 (diff) | |
| download | poky-cbf72b3696497c0c794e4497c4a5dcdcf13d8219.tar.gz | |
go: fix sigaction usage on i386 platforms
In upstream the following commit [1] was submitted to resolve issues
with sigaction being used in linked libraries with cgo applications.
runtime: when using cgo on 386, call C sigaction function
This resolves potential segfaults with cgo applications that link to libraries
that intend to switch out signal handlers temporarily with sigaction.
[1] https://github.com/golang/go/commit/c5737dc21bbac9fbefc35ac9313e66291d66b382
(From OE-Core rev: 1bc7a1731b218bb5c8a08c9823c777a40e17555e)
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-1.25.0.inc')
| -rw-r--r-- | meta/recipes-devtools/go/go-1.25.0.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-1.25.0.inc b/meta/recipes-devtools/go/go-1.25.0.inc index f562fbb34b..1558b4623d 100644 --- a/meta/recipes-devtools/go/go-1.25.0.inc +++ b/meta/recipes-devtools/go/go-1.25.0.inc | |||
| @@ -16,5 +16,6 @@ SRC_URI += "\ | |||
| 16 | file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ | 16 | file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ |
| 17 | file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \ | 17 | file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \ |
| 18 | file://0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch \ | 18 | file://0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch \ |
| 19 | file://0001-runtime-when-using-cgo-on-386-call-C-sigaction-funct.patch \ | ||
| 19 | " | 20 | " |
| 20 | SRC_URI[main.sha256sum] = "4bd01e91297207bfa450ea40d4d5a93b1b531a5e438473b2a06e18e077227225" | 21 | SRC_URI[main.sha256sum] = "4bd01e91297207bfa450ea40d4d5a93b1b531a5e438473b2a06e18e077227225" |
