Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-21 Thread 王昊然
Forward the missing messages. -- Forwarded message -- From: 王昊然 Date: Fri, 21 Oct 2022 14:09:33 +0800 Subject: Re: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7 To: Maamoun TK Cc: Niels Möller I can confirm this patch worked on my system. 2022-10-20 21:02 GMT+08

Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-21 Thread 王昊然
Yes, I has already confirmed the fix in my last email. But it isn't automatically being CCed to Debian BTS for some reason. > -- Forwarded message -- > From: 王昊然 > Date: Fri, 21 Oct 2022 14:09:33 +0800 > Subject: Re: Bug#1022049: libnettle8: Illegal instruction o

Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-20 Thread Niels Möller
王昊然 writes: > I have just installed a new Linux image with CONFIG_VSX=y, however nettle is > still triggering illegal instruction there. I've now realized that the vmrgow instruction indeed is invalid on power7, regardless of extensions (it's listed in the spec as added in ISA v2.07, and power7

Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-20 Thread 王昊然
Hello. I have just installed a new Linux image with CONFIG_VSX=y, however nettle is still triggering illegal instruction there. 2022-10-20 2:14 GMT+08:00, Niels Möller : > 王昊然 writes: > >>> int main() { >>> unsigned long int hwcap = getauxval(AT_HWCAP); >>> printf("hwcap = 0x%lx

Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-19 Thread Niels Möller
王昊然 writes: >> int main() { >> unsigned long int hwcap = getauxval(AT_HWCAP); >> printf("hwcap = 0x%lx\n", hwcap); >> return 0; >> } >> whr@debian:~/src$ gcc -Wall cpu-feature-test.c >> whr@debian:~/src$ ./a.out >> hwcap = 0xdc0065c2 And the flags checked by nettle are (f

Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-19 Thread 王昊然
-- Forwarded message -- From: 王昊然 Date: Thu, 20 Oct 2022 00:33:18 +0800 Subject: Re: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7 To: Niels Möller 2022-10-20 0:18 GMT+08:00, 王昊然 : >> The ppc specification says "vmrgow is treated as a Vector >> ins

Bug#1022049: Fwd: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-19 Thread 王昊然
-- Forwarded message -- From: 王昊然 Date: Thu, 20 Oct 2022 00:18:35 +0800 Subject: Re: Bug#1022049: libnettle8: Illegal instruction on IBM POWER7 To: Niels Möller > The ppc specification says "vmrgow is treated as a Vector > instruction in terms of resource availabil

Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-19 Thread Niels Möller
WHR writes: > I think the Debian architecture I'm using (ppc64) should still supporting > POWER7, but apparently this library was built to use instructions unavailable > on POWER7. Nettle attempts to figure out at runtime which processor features are available. > => 0x3fffb72bedec <+76>:

Bug#1022049: libnettle8: Illegal instruction on IBM POWER7

2022-10-19 Thread WHR
Package: libnettle8 Version: 3.8.1-2 Severity: normal X-Debbugs-Cc: msl023...@gmail.com Hello. I think the Debian architecture I'm using (ppc64) should still supporting POWER7, but apparently this library was built to use instructions unavailable on POWER7. gdb(1) output: Program received si