Can't start Slicer on Linux on one machine

I think we run into the same problem on a very old computer (with Intel Core i7-3770 CPU) running Windows 10.

Slicer does not start but instead this error is shown in a popup:

The application was unable to start correctly (0xc0000142). Click OK to close the application

Windows application log tells that it is an exception 0xc000001d (Illegal instruction) in ITKIOGDCM-5.1.dll. Attaching a debugger and looking at the disassembly I found that indeed there was an shlx instruction where the exception was thrown, which is a BMI2 instruction that is not supported in 3rd-generation (3xxx, Ivy Bridge) CPUs but only in 4th generation (4xxx, Haswell) and later.

@chir.set Can you confirm that you had this problem on a 3rd-generation CPU?

We should either change build options to disable using BMI2 instruction set or check CPU type in the launcher and show a warning if non-compatible CPU is found. I’ve created an issue for this to make sure we follow up: Slicer fails to start in Intel Ivy Bridge or older CPUs · Issue #4712 · Slicer/Slicer · GitHub