[Bug 292548] openssl/openssh: Illegal instruction on POWER7

[email protected] Sat, 17 Jan 2026 20:57:29 +0000
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292548

            Bug ID: 292548
           Summary: openssl/openssh: Illegal instruction on POWER7
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: powerpc
          Assignee: [email protected]
          Reporter: [email protected]

When running ssh/sshd in POWER7 processor mode, the process crashes (due to
SIGILL):

> # /usr/sbin/sshd -v
> sshd: illegal option -- v
> OpenSSH_10.0p2, OpenSSL 3.5.4 30 Sep 2025
> usage: sshd [-46DdeGiqTtV] [-C connection_spec] [-c host_cert_file]
>             [-E log_file] [-f config_file] [-g login_grace_time]
>             [-h host_key_file] [-o option] [-p port] [-u len]
> # /usr/sbin/sshd 
> Illegal instruction
> # ssh
> Illegal instruction (core dumped)

Running in lldb:

> # lldb ssh
> (lldb) target create "ssh"
> Current executable set to '/usr/bin/ssh' (powerpc64).
> (lldb) r
> Process 54852 launched: '/usr/bin/ssh' (powerpc64)
> Process 54852 stopped
> * thread #1, name = 'ssh', stop reason = signal SIGILL: illegal opcode
>     frame #0: 0x000000080149f48c
> ->  0x80149f48c: vcipherlast 3, 3, 4
>     0x80149f490: stvx   7, 0, 5
>     0x80149f494: addi   5, 5, 16
>     0x80149f498: vxor   1, 1, 6


Same error when running `openssl speed sha256`:
> # lldb openssl speed sha256
> (lldb) target create "openssl"
> Current executable set to '/usr/bin/openssl' (powerpc64).
> (lldb) settings set -- target.run-args  "speed" "sha256"
> (lldb) r
> Process 83645 launched: '/usr/bin/openssl' (powerpc64)
> Doing sha256 ops for 3s on 16 size blocks: Process 83645 stopped
> * thread #1, name = 'openssl', stop reason = signal SIGILL: illegal opcode
>     frame #0: 0x00000008017abc48
> ->  0x8017abc48: vshasigmaw 30, 4, 1, 15
>     0x8017abc4c: vadduwm 7, 7, 30
>     0x8017abc50: vxor   29, 0, 1
>     0x8017abc54: vsel   29, 1, 2, 29

-- 
You are receiving this mail because:
You are the assignee for the bug.