[OpenAFS-devel] More details on the SPARC Linux klog segfault
Derrick J Brashear
shadow@dementia.org
Tue, 3 Jul 2007 15:03:05 -0400 (EDT)
Is this sparc32 or sparc64?
I do wonder if "Key" is defined elsewhere, and if so, perhaps gcc -E
output of key_sched.c would be useful
(replace -c with -E for that file however it would otherwise be compiled
in src/des)
That may be a lot to ask.
> Russ Allbery schrieb:
>> Could you try this patch as well and see if it helps any? It's
>> unfortunately less likely to help than the previous one, but it's possible
>> that it's the issue. There's some weird gcc optimizer issue going on.
>> This helps on Mac OS X, at least.
>
> I am afraid but this patch does not help either.
>
> The bus error happens at line 236 in src/des/key_sched.c
>
> 236 if ((unsigned)Key[(int)*kp++])
> 237 temp |= (1 << BIT(31));