[Bug 259013] net/cjdns: "Illegal instruction" on CPUs without AVX support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Oct 2021 20:10:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259013
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
Illegal instruction
Disassembly:
(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.