netgen code will be compiled with /arch:AVX512 if the "building" machine is so capable.
This will result in illegal instructions on launch of FreeCAD when run on machines without AVX512 ( which is a significant subset)
The fix is to add
"-D USE_NATIVE_ARCH=OFF",
to the build_netgen function in compile_all.py