Uros Bizjak writes:
> I have to use following patch to fix libgo compilation on alpha:
Whoops, sorry about that.
Patch committed.
Ian
Hello!
I have to use following patch to fix libgo compilation on alpha:
Index: runtime/go-signal.c
===
--- runtime/go-signal.c (revision 182615)
+++ runtime/go-signal.c (working copy)
@@ -346,7 +346,11 @@
mp = runtime_m ();
if
Richard Henderson writes:
> On 12/21/2011 02:29 PM, Ian Lance Taylor wrote:
>> +/* Ignore a signal. This is called on the alternate signal stack so
>> + it may not split the stack. */
>> +
>> +static void sig_ignore (int) __attribute__ ((no_split_stack));
>>
>> static void
>> sig_ignore (
On 12/21/2011 02:29 PM, Ian Lance Taylor wrote:
> +/* Ignore a signal. This is called on the alternate signal stack so
> + it may not split the stack. */
> +
> +static void sig_ignore (int) __attribute__ ((no_split_stack));
>
> static void
> sig_ignore (int sig __attribute__ ((unused)))
>
This patch to libgo catches most signals on the alternate signal stack.
The only ones caught on the normal stack are the ones which can occur
synchronously: SIGSEGV, SIGBUS, SIGFPE. While updating the signal code
I also used SA_SIGINFO to distinguish expected signals (null
dereferences, division b