Hi, We have run into a puzzling error when building the Scipy project with mingw-w64.
The Scipy build links against a static library `npymath.lib`, until recently built with VS2017 v141 toolset. This build worked fine, until recently when the build for `npymath.lib` switched to using the VS2019 v142 toolset. Our build now runs to completion without error, but the generated dynamic link libraries, _that link to the npymath.lib file_ all generate errors on loading, of form: C:\repos\scipy\installdir\Lib\site-packages\scipy\spatial\_distance_wrap.cp39-win_amd64.pyd Error 193: C:\repos\scipy\installdir\Lib\site-packages\scipy\spatial\_distance_wrap.cp39-win_amd64.pyd is not a valid Win32 application. This is ERROR_BAD_EXE_FORMAT (193, 0xC1) We are investigating - but to ask - is that expected - that trying to link with VS2019 toolset v142 would generate such errors? If so, is there a possible fix? Is there one in the pipeline? Thanks much for any advice, Matthew _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
