go: fix sigaction usage on i386 platforms
PATCH 1/1 go: fix sigaction usage on i386 platforms
From: Randolph Sapp <[email protected]>
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
Signed-off-by Randolph Sapp <[email protected]>
--- meta/recipes-devtools/go/go-1.25.0.inc | 1 + ...ng-cgo-on-386-call-C-sigaction-funct.patch | 248 ++++++++++++++++++ 2 files changed, 249 insertions(+) create mode 100644 meta/recipes-devtools/go/go/0001-runtime-when-using-cgo-on-386-call-C-sigaction-funct.patch
meta/recipes-devtools/go/go-1.25.0.inc +1 -0
@@ -16,5 +16,6 @@ SRC_URI += "\ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \ file://0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch \ + file://0001-runtime-when-using-cgo-on-386-call-C-sigaction-funct.patch \ " SRC_URI[main.sha256sum] = "4bd01e91297207bfa450ea40d4d5a93b1b531a5e438473b2a06e18e077227225"
meta/recipes-devtools/go/go/0001-runtime-when-using-cgo-on-386-call-C-sigaction-funct.patch new file +248 -0
248 lines not on this page · raw message
Signature · 1 line
2.51.0