summaryrefslogtreecommitdiff
path: root/system/gcc/334-gccgo-signal-shell.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-04 00:59:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-04 00:59:59 +0000
commit63b5fb12c3d75e460799c672bbbdd5d29c3cc33c (patch)
tree4542b4d256847c3bf355ff9dc47b04bf0eda15a6 /system/gcc/334-gccgo-signal-shell.patch
parent97aec267e0f0c6a4b3d2e88abc05eb36b4b6e2e2 (diff)
downloadpackages-63b5fb12c3d75e460799c672bbbdd5d29c3cc33c.tar.gz
packages-63b5fb12c3d75e460799c672bbbdd5d29c3cc33c.tar.bz2
packages-63b5fb12c3d75e460799c672bbbdd5d29c3cc33c.tar.xz
packages-63b5fb12c3d75e460799c672bbbdd5d29c3cc33c.zip
system/gcc: More Go fixes (build and runtime)
Diffstat (limited to 'system/gcc/334-gccgo-signal-shell.patch')
-rw-r--r--system/gcc/334-gccgo-signal-shell.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/system/gcc/334-gccgo-signal-shell.patch b/system/gcc/334-gccgo-signal-shell.patch
new file mode 100644
index 000000000..5c7405c4f
--- /dev/null
+++ b/system/gcc/334-gccgo-signal-shell.patch
@@ -0,0 +1,25 @@
+--- gcc-8.3.0/libgo/mksigtab.sh.old 2017-11-22 00:27:29.000000000 +0000
++++ gcc-8.3.0/libgo/mksigtab.sh 2019-03-02 22:01:17.530000000 +0000
+@@ -82,7 +82,7 @@
+ checksig _SIGEMT '{_SigThrow, "SIGEMT: emulate instruction executed"}'
+ checksig _SIGINFO '{_SigNotify, "SIGINFO: status request from keyboard"}'
+ checksig _SIGTHR '{_SigNotify, "SIGTHR: reserved"}'
+-checksig _SIGPOLL '{_SigNotify, "SIGPOLL: pollable event occurred"}'
++#checksig _SIGPOLL '{_SigNotify, "SIGPOLL: pollable event occurred"}'
+ checksig _SIGWAITING '{_SigNotify, "SIGWAITING: reserved signal no longer used by"}'
+ checksig _SIGLWP '{_SigNotify, "SIGLWP: reserved signal no longer used by"}'
+ checksig _SIGFREEZE '{_SigNotify, "SIGFREEZE: special signal used by CPR"}'
+@@ -94,10 +94,12 @@
+
+ # Special handling of signals 32 and 33 on GNU/Linux systems,
+ # because they are special to glibc.
++# Signal 34 is additionally special to Linux systems with musl.
+ if test "${GOOS}" = "linux"; then
+- SIGLIST=$SIGLIST"_32__33_"
++ SIGLIST=$SIGLIST"_32__33__34_"
+ echo ' 32: {_SigSetStack + _SigUnblock, "signal 32"}, /* SIGCANCEL; see issue 6997 */'
+ echo ' 33: {_SigSetStack + _SigUnblock, "signal 33"}, /* SIGSETXID; see issues 3871, 9400, 12498 */'
++ echo ' 34: {_SigSetStack + _SigUnblock, "signal 34"}, /* see issue 30062 */'
+ fi
+
+ if test "${GOOS}" = "aix"; then