Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Oct 2021 20:10:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259013] net/cjdns: "Illegal instruction" on CPUs without AVX support
Message-ID:  <bug-259013-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259013

            Bug ID: 259013
           Summary: net/cjdns: "Illegal instruction" on CPUs without AVX
                    support
           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=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
Illegal instruction

Disassembly:

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259013-7788>