SIGILL when running on processor without AVX support

I have Intel Core Quad Q9500 CPU.

$ ./pscircle
fish: “./pscircle” terminated by signal SIGILL (Illegal instruction)
$ gdb ./pscircle
...
Program received signal SIGILL, Illegal instruction.
0x00000000004057e6 in proc_to_pnode (ctx=0x7ffffffea1a0, pnode=0x614bb0, proc=0x7ffffffea140) at ../src/proc_linux.c:117
117             double t = proc->utime + proc->stime;

I've managed to fix the bug removing -mavx from meson test flags and rebuilding the project.

Edited Jul 02, 2018 by Yaroslav Sidlovsky
Assignee Loading
Time tracking Loading