On 5/17/19 6:31 AM, Laurent Vivier wrote:
> SPARC libc6 debian package wants to check the cpu level to be
> installed or not:
>
> WARNING: This machine has a SPARC V8 or earlier class processor.
> Debian lenny and later does not support such old hardware
> any longer.
>
> To avoid this, it only needs to know if the machine type is sun4u or sun4v,
> for that it reads the information from /proc/cpuinfo.
>
> Fixes: 9a93c152fcdb4ab2cd85094487b33578fd693915
> ("linux-user: fix UNAME_MACHINE for sparc/sparc64")
> Signed-off-by: Laurent Vivier <[email protected]>
> ---
> linux-user/syscall.c | 16 +++++++++++++++-
> 1 file changed, 15 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <[email protected]>
r~