dnn build error via Mingw64
opencv 3.4 mingw64 eclipse oxygen windows 10 I'm getting these errors while building the dnn module. what's the cause of this error?
[ 58%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.obj C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s: Assembler messages: C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21573: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21575: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21577: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21579: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21581: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21583: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21585: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21587: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21589: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21591: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21593: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21595: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21597: Error: invalid register for .seh_savexmm C:\Users\Nitin\AppData\Local\Temp\ccBSUeSO.s:21599: Error: invalid register for .seh_savexmm mingw32-make[2]: * [modules\dnn\CMakeFiles\opencv_dnn.dir\build.make:1742: modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.obj] Error 1 mingw32-make[1]: [CMakeFiles\Makefile2:4024: modules/dnn/CMakeFiles/opencv_dnn.dir/all] Error 2 mingw32-make: ** [Makefile:162: all] Error 2