In the Makefile, gcc is used with the -mavx flag, which allows it to use some instructions that are available only to some specific CPUs.
If the CPU doesn't support the instructions, make run will fail with the following unhelpful and confusing error message:
Makefile:21: recipe for target 'run' failed
make: *** [run] Error -1073741795
Possible solutions:
Just remove -mavx from the Makefile.
OR...
Warn the users that their CPU should support the AVX instruction set, and provide instructions to compile without AVX if it's not supported.
Info about the environment
OS: Windows 10 (native, without WSL)
Compiler: GCC
I speak portuguese if anything wasn't clear.
In the Makefile, gcc is used with the
-mavxflag, which allows it to use some instructions that are available only to some specific CPUs.If the CPU doesn't support the instructions,
make runwill fail with the following unhelpful and confusing error message:Possible solutions:
Just remove
-mavxfrom the Makefile.OR...
Warn the users that their CPU should support the AVX instruction set, and provide instructions to compile without AVX if it's not supported.
Info about the environment
OS: Windows 10 (native, without WSL)
Compiler: GCC
I speak portuguese if anything wasn't clear.