Undefined reference to get_complex_dtype<256>
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 11 小時 22 分鐘
- 30 天內合併 PR
- 2
描述
In src/numpy/dtype.cpp, the definition of get_float_dtype < LONGDOUBLE > and get_complex_dtype < 2 * LONGDOUBLE > lacks BOOST_NUMPY_DECL.
Output of libs/python/test:
capture-output ../bin.v2/libs/python/test/numpy\~dtype.test/gcc-10/release/debug-symbols-on/pch-off/python-3.9/threading-multi/visibility-hidden/numpy\~dtype
====== BEGIN OUTPUT ======
Traceback (most recent call last):
File "/root/rpmbuild/BUILD/boost_1_78_0/status/../libs/python/test/numpy/dtype.py", line 8, in
import dtype_ext
ImportError: /root/rpmbuild/BUILD/boost_1_78_0/bin.v2/libs/python/test/numpy~dtype.test/gcc-10/release/debug-symbols-on/pch-off/python-3.9/threading-multi/visibility-hidden/dtype_ext.so: undefined symbol: _ZN5boost6python5numpy6detail17get_complex_dtypeILi256EEENS1_5dtypeEv
EXIT STATUS: 1
====== END OUTPUT ======
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start in src/numpy/dtype.cpp, where the LONGDOUBLE and 2 * LONGDOUBLE dtype definitions are mentioned. Run the libs/python/test/numpy/dtype.py test or the reported libs/python/test command and inspect the generated extension's symbol error. Done means the dtype test imports successfully without the undefined get_complex_dtype<256> reference.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, python
- 領域
- api, testing
- Issue 類型
- 缺陷
- 難度
- 1/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 38/100