[asterisk-users] BUILD_NATIVE vs Xeon E5 v2 vs Xeon E5 v3

marek cervajs64 at gmail.com
Thu May 20 04:57:57 CDT 2021


hi,

i builded Asterisk 16.18 with BUILD_NATIVE on Xeon E5 v3 (Intel(R) 
Xeon(R) CPU E5-2670 v3 @ 2.30GHz)

on machine when i want run Asterisk it hangs with Illegal instruction 
see below (Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz)

is it only way to disable BUILD_NATIVE ?

or can be somehow specified to build for "something like xeon E5"?

OS is Centos 7


stat("/sys/fs/selinux", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(NULL)                               = 0x22aa000
brk(0x22cb000)                          = 0x22cb000
access("/etc/selinux/config", F_OK)     = 0
open("/etc/pki/tls/legacy-settings", O_RDONLY) = -1 ENOENT (No such file 
or directory)
access("/etc/system-fips", F_OK)        = -1 ENOENT (No such file or 
directory)
geteuid()                               = 0
stat("/etc/sysconfig/64bit_strstr_via_64bit_strstr_sse2_unaligned", 
0x7ffcdace6c30) = -1 ENOENT (No such file or directory)
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 3
ioctl(3, SIOCGIFCONF, {ifc_len=2 * sizeof(struct ifreq), ifc_buf=NULL}) = 0
ioctl(3, SIOCGIFCONF, {ifc_len=2 * sizeof(struct ifreq), 
ifc_buf=[{ifr_name="lo", ifr_addr={sa_family=AF_INET, sin_port=htons(0), 
sin_addr=inet_addr("127.0.0.1")}}, {ifr_name="eth0", 
ifr_addr={sa_family=AF_INET, sin_port=htons(0), 
sin_addr=inet_addr("filtered")}}]}) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="lo", 
ifr_hwaddr={sa_family=ARPHRD_LOOPBACK, sa_data=00:00:00:00:00:00}}) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="eth0", 
ifr_hwaddr={sa_family=ARPHRD_ETHER, sa_data=filtered}}) = 0
futex(0x910ba0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x910900, FUTEX_WAKE_PRIVATE, 2147483647) = 0
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x5a0cfe} ---
+++ killed by SIGILL +++
Illegal instruction


Marek




More information about the asterisk-users mailing list