tbb library linking issue
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
- 领域
- build-system
调研方向
从 DirectProgramming/DPC++/ParallelPatterns/dpc_reduce 示例及其 README 开始。使用 Ubuntu 20.04 上的 oneAPI Toolkit 2021.4.0.3422 重现报告中的 CMake 和 make 构建,然后检查报告的 TBB 未定义引用所在的链接步骤。示例成功编译即表示完成。
由索引模型根据 Issue 内容生成。
描述
Summary
Trying to compile oneapi-sample code example dpc_reducer( https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/DPC%2B%2B/ParallelPatterns/dpc_reduce)
Version
oneAPI Toolkit version: l_BaseKit_p_2021.4.0.3422_offline.sh
oneAPI Sample version: latest master branch.
Environment
OS: Ubuntu 20.04
Hardware : NUC9
Steps to reproduce
followed dpc_reduce example README file.
export I_MPI_CXX=dpcpp
cmake ../
make
Observed behavior
following compile time error is coming.
**/usr/bin/ld: /tmp/main-585a82.o: in function task_group_context':
/opt/intel/oneapi/tbb/2021.4.0/env/../include/tbb/../oneapi/tbb/task_group.h:271: undefined reference to tbb::detail::r1::initialize(tbb::detail::d1::task_group_context&)'**
Expected behavior
should be compile successfully.
- 主要语言
- C++
- 星标
- 1.2k
- 派生
- 745
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oneapi-src/oneAPI-samples 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 45/100
oneapi-src/oneAPI-samples#2764 ·
-
难度 4/5 3-5 天 新手友好度 35/100
oneapi-src/oneAPI-samples#2748 ·
-
难度 5/5 一周以上 新手友好度 10/100
oneapi-src/oneAPI-samples#2746 ·
-
Lenovo Thinkpad T440p Ethernet issue warning sign show install multiple times but same issue face 未关闭question
难度 4/5 3-5 天 新手友好度 15/100
oneapi-src/oneAPI-samples#2739 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
oneapi-src/oneAPI-samples#2705 ·
查看 oneapi-src/oneAPI-samples 的全部 Issue
相似的 Issue
-
bug build
难度 1/5 1 小时以内 新手友好度 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW 未关闭fuzz
难度 2/5 1-3 小时 新手友好度 82/100
ClickHouse/ClickHouse#122114 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
module/agent platform/macos type/bug/regression
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement PyCDE
难度 2/5 1-3 小时 新手友好度 78/100