Similar issue on Linux, program compiled with GCC 4.7 on one machine (gitlab CI/CD and docker environment) fires this:
Program received signal SIGILL, Illegal instruction.
0x0000000000e81051 in Urho3D::StringHashRegister::StringHashRegister(bool) ()
(gdb) bt
#0 0x0000000000e81051 in Urho3D::StringHashRegister::StringHashRegister(bool) ()
#1 0x0000000000e875cc in Urho3D::GetEventNameRegister() ()
#2 0x000000000080abcd in _GLOBAL__sub_I_player_application.cpp ()
#3 0x0000000001e9021d in __libc_csu_init ()
#4 0x00007fffedeb7150 in __libc_start_main (main=0x80e4b0 <main>, argc=2, argv=0x7fffffffe428, init=
0x1e901d0 <__libc_csu_init>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe418)
at ../csu/libc-start.c:264
#5 0x000000000089239f in _start ()
The machine it is running on has Intel® Pentium® CPU G630T @ 2.30GHz:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Model name: Intel(R) Pentium(R) CPU G630T @ 2.30GHz
Stepping: 7
CPU MHz: 2294.638
CPU max MHz: 2300,0000
CPU min MHz: 1600,0000
BogoMIPS: 4589.27
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
There is no AVX on the target CPU, but there is AVX on the CI/CD machine. Any help will be appreciated, in the meantime I’m trying to find the problem myself.