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
Uh i forgot. the build machine is a VMware VM and asterisk build is
inside a docker container (centos7) as RPM
Dne 20/05/2021 v 11:57 marek napsal(a):
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
update
my cpu family (hundred of VMs) is based on this (-march)
corei7-avx
core-avx2
corei7
note:
you can check your march code like this
gcc -c -Q -march=native --help=target |grep arch
so it looks like i will stay with corei7 (anybody knows if avx is "big"
performance save impact?)