Home My Page Projects Code Snippets Project Openings devtools
Summary Activity Tracker SCM

[#2265] mingw gcc-10: boost Numpy built with MINGW-W64 on Windows 64 bits is experimental

Date:
2020-06-17 15:37
Priority:
3
State:
Open
Submitted by:
Charles Ballard (ccb63)
Assigned to:
Nobody (None)
branch:
py3
type:
none
Summary:
mingw gcc-10: boost Numpy built with MINGW-W64 on Windows 64 bits is experimental

Detailed description
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -m64 -DBOOST_ALL_NO_LIB=1 -DMS_WIN64 -DNDEBUG -I"." -I"C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install\Include" -I"libs\python\build\_frozen_importlib:219: Warning: Numpy built with MINGW-W64 on Windows 64 bits is experimental, and only available for
testing. You are advised not to use it for production.

CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS
C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install\lib\site-packages\numpy\core\include" -c -o "bin.v2\libs\python\build\gcc-mingw-10.1.0\release\threading-multi\numpy\dtype.o" "libs\python\src\numpy\dtype.cpp"

g++: fatal error: no input files
compilation terminated.
'testing.' is not recognized as an internal or external command,
operable program or batch file.
'CRASHES' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
...failed updating 1 target...
./b2 toolset=gcc address-model=64 threading=multi define=MS_WIN64 --with-regex --with-chrono --with-date_time --with-filesystem --with-iostreams --with-program_options --with-thread --with-system --with-python -q -d+2 -sBZIP2_INCLUDE=C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install/include -sBZIP2_LIBRARY_PATH=C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install/lib --layout=system variant=release link=shared linkflags='-LC:/msys64/je/workspace/CCP4/win10-trunk/devtools/install/lib -Wl,--unresolved-symbols=ignore-in-shared-libs ' stage
Message  ↓
Date: 2020-06-17 17:59
Sender: Charles Ballard

Try whl from gohlke

install/libexec/python -m pip install /jenkins/numpy-1.16.6+mkl-cp37-cp37m-win_amd64.whl

Date: 2020-06-17 15:39
Sender: Charles Ballard

From: numpy/core/src/multiarray/multiarraymodule.c

#if defined(MS_WIN64) && defined(__GNUC__)
PyErr_WarnEx(PyExc_Warning,
"Numpy built with MINGW-W64 on Windows 64 bits is experimental, " \
"and only available for \n" \
"testing. You are advised not to use it for production. \n\n" \
"CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS",
1);
#endif

Field Old Value Date By
details "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads -m64 -DBOOST_ALL_NO_LIB=1 -DMS_WIN64 -DNDEBUG -I"." -I"C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install\Include" -I"libs\python\build\_frozen_importlib:219: Warning: Numpy built with MINGW-W64 on Windows 64 bits is experimental, and only available for testing. You are advised not to use it for production. CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install\lib\site-packages\numpy\core\include" -c -o "bin.v2\libs\python\build\gcc-mingw-10.1.0\release\threading-multi\numpy\dtype.o" "libs\python\src\numpy\dtype.cpp" g++: fatal error: no input files compilation terminated. 'testing.' is not recognized as an internal or external command, operable program or batch file. 'CRASHES' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified. ...failed updating 1 target... ./b2 toolset=gcc address-model=64 threading=multi define=MS_WIN64 --with-regex --with-chrono --with-date_time --with-filesystem --with-iostreams --with-program_options --with-thread --with-system --with-python -q -d+2 -sBZIP2_INCLUDE=C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install/include -sBZIP2_LIBRARY_PATH=C:\msys64\je\workspace\CCP4\win10-trunk\devtools\install/lib --layout=system variant=release link=shared linkflags='-LC:/msys64/je/workspace/CCP4/win10-trunk/devtools/install/lib -Wl,--unresolved-symbols=ignore-in-shared-libs ' stage 2020-06-17 15:39ccb63