Package: libnettle8
Version: 3.8.1-2
Severity: normal
X-Debbugs-Cc: msl0000023...@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 signal SIGILL, Illegal instruction.
0x00003fffb72bedec in ._nettle_chacha_2core () from 
/usr/lib/powerpc64-linux-gnu/libnettle.so.8
(gdb) disassemble 
Dump of assembler code for function ._nettle_chacha_2core:
   0x00003fffb72beda0 <+0>:     li      r8,48
   0x00003fffb72beda4 <+4>:     vspltisw v1,1
   0x00003fffb72beda8 <+8>:     vspltisw v0,0
   0x00003fffb72bedac <+12>:    vsldoi  v1,v1,v0,12
   0x00003fffb72bedb0 <+16>:    lxvw4x  vs35,r8,r4
   0x00003fffb72bedb4 <+20>:    vaddcuw v7,v3,v1
   0x00003fffb72bedb8 <+24>:    vsldoi  v7,v7,v7,12
   0x00003fffb72bedbc <+28>:    vor     v7,v7,v1
   0x00003fffb72bedc0 <+32>:    vadduwm v7,v7,v3
   0x00003fffb72bedc4 <+36>:    li      r6,16
   0x00003fffb72bedc8 <+40>:    li      r7,32
   0x00003fffb72bedcc <+44>:    lxvw4x  vs32,0,r4
   0x00003fffb72bedd0 <+48>:    lxvw4x  vs33,r6,r4
   0x00003fffb72bedd4 <+52>:    lxvw4x  vs34,r7,r4
   0x00003fffb72bedd8 <+56>:    vmr     v12,v0
   0x00003fffb72beddc <+60>:    vmr     v13,v1
   0x00003fffb72bede0 <+64>:    vmr     v14,v2
   0x00003fffb72bede4 <+68>:    vmr     v15,v3
   0x00003fffb72bede8 <+72>:    vmr     v16,v7
=> 0x00003fffb72bedec <+76>:    vmrgow  v4,v0,v0
   0x00003fffb72bedf0 <+80>:    vmrgew  v0,v0,v0
   0x00003fffb72bedf4 <+84>:    vmrgow  v5,v1,v1
   0x00003fffb72bedf8 <+88>:    vmrgew  v1,v1,v1
   0x00003fffb72bedfc <+92>:    vmrgow  v6,v2,v2
   0x00003fffb72bee00 <+96>:    vmrgew  v2,v2,v2
   0x00003fffb72bee04 <+100>:   vmrgow  v7,v3,v16
   0x00003fffb72bee08 <+104>:   vmrgew  v3,v3,v16
   0x00003fffb72bee0c <+108>:   vspltisw v8,-16
   0x00003fffb72bee10 <+112>:   vspltisw v9,12
   0x00003fffb72bee14 <+116>:   vspltisw v10,8
   0x00003fffb72bee18 <+120>:   vspltisw v11,7
   0x00003fffb72bee1c <+124>:   rldicl  r5,r5,63,1
   0x00003fffb72bee20 <+128>:   mtctr   r5
   0x00003fffb72bee24 <+132>:   vadduwm v0,v0,v1
--Type <RET> for more, q to quit, c to continue without paging--


lscpu(1) output:

Architecture:            ppc64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Big Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Model name:              POWER7 (architected), altivec supported
  Model:                 2.3 (pvr 003f 0203)
  Thread(s) per core:    4
  Core(s) per socket:    1
  Socket(s):             1
Virtualization features: 
  Hypervisor vendor:     pHyp
  Virtualization type:   para
Caches (sum of all):     
  L1d:                   32 KiB (1 instance)
  L1i:                   32 KiB (1 instance)
  L2:                    256 KiB (1 instance)
  L3:                    4 MiB (1 instance)
NUMA:                    
  NUMA node(s):          2
  NUMA node0 CPU(s):     
  NUMA node1 CPU(s):     0-3


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
merged-usr: no
Architecture: ppc64
Foreign Architectures: powerpc

Kernel: Linux 4.1.42-rivoreo-powerpc64-largepage (SMP w/4 CPU threads)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_TW:zh_CN:zh:en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libnettle8 depends on:
ii  libc6  2.35-3

libnettle8 recommends no packages.

libnettle8 suggests no packages.

-- no debconf information

Reply via email to