On 15/06/2021 16:44, Richard Henderson wrote:
> On 6/14/21 11:48 PM, Laurent Vivier wrote:
>> Le 26/05/2021 à 03:13, Richard Henderson a écrit :
>>> Sparc v8plus is a sparc64 running a 32-bit ABI.
>>> The significant difference vs sparc32 is that all 64 bits of
>>> the %g and %o registers, plus %xcc, are saved across interrupts,
>>> context switches, and signals.
>>>
>>> There's a special marker in the saved %psr value that's used to
>>> indicate that %xcc and the high bits are present in the frame.
>>>
>>> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
>>> ---
>>>
>>> I have been unable to find an extant v8plus distribution with
>>> which to test this beyond compilation.  Thus the RFC.  I know
>>> debian used to have one, but they have moved to pure sparc64 now.
>>>
>>> Thoughts?
>>
>> In my test, I use debian wheezy, and it seems to be sparc32plus v8+:
>>
>> $ file chroot/sparc/wheezy/bin/ls
>> chroot/sparc/wheezy/bin/ls: ELF 32-bit MSB executable, SPARC32PLUS, V8+ 
>> Required, total
>> store
>> ordering, version 1 (SYSV), dynamically linked, interpreter 
>> /lib/ld-linux.so.2, for
>> GNU/Linux
>> 2.6.26, BuildID[sha1]=3fdfb5b9f829824f6110b7a2d91efd9947614263, stripped
>>
>> I get wheezy from http://archive.debian.org/debian
>>
>> If you want I can make a try with your patch.
> 
> Yes, please.
> 

This breaks two tests in LTP: sigaction01 and rt_sigaction01 (they hang).

Tested with debian wheezy and LTP 20200930.

Note: even with master, debootstrap is broken and needs manual hacks to have a 
working chroot.

Thanks,
Laurent


Reply via email to