"apk" give "Illegal instruction" in x86 edge on vortex86 device.
We need to deploy Alpine Linux on vortex86 devices and since I used edge the last time about a month ago something has happened. I did a v3.14 install to the harddrive, and pointed the repositories to edge and did an apk upgrade
. Now this happens.
device-001beb6a7a42:~# gdb /sbin/apk
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i586-alpine-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /sbin/apk...
(No debugging symbols found in /sbin/apk)
(gdb) run
Starting program: /sbin/apk
Program received signal SIGILL, Illegal instruction.
0xb7d312d0 in ?? () from /lib/libcrypto.so.3
(gdb)
Also
device-001beb6a7a42:~# cat /proc/cpuinfo
processor : 0
vendor_id : Vortex86 SoC
cpu family : 5
model : 2
model name : 05/02
stepping : 2
cpu MHz : 800.031
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu tsc cx8 cpuid
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips : 1600.73
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
Please advise