[Bug 259013] net/cjdns: "Illegal instruction" on CPUs without AVX support

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Oct 2021 20:10:54 UTC

            Bug ID: 259013
           Summary: net/cjdns: "Illegal instruction" on CPUs without AVX
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: laanwj@protonmail.com
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

It looks like the precompiled cjdns package assumes that the CPU it is run
supports AVX. On older CPUs it will crash with

# /usr/local/bin/cjdroute                                                 
Illegal instruction


(gdb) disass 0x000000000022ca47,+60                                             
Dump of assembler code from 0x22ca47 to 0x22ca83:
=> 0x000000000022ca47:  vxorps %xmm0,%xmm0,%xmm0
   0x000000000022ca4b:  vmovaps %ymm0,(%rsp)

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