Link error of call get_system_scheduler()
まだ誰も着手していません。
評価
調査の方向性
ソースファイルやテストは指定されていません。まず、一覧にあるプラットフォームで exec::get_system_scheduler() を使ったリンカーエラーを再現し、exec::static_thread_pool と比較します。提供された scheduler の例が、欠落している __query_system_context_interface シンボルなしでリンクされ、実行できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description:
I'm encountering an issue when using exec::get_system_scheduler() in my code. The code compiles successfully when using exec::static_thread_pool, but it fails when using exec::get_system_scheduler().
Code:
void l3_scheduler() {
stdexec::scheduler auto sch = exec::get_system_scheduler();
stdexec::sender auto computation =
stdexec::schedule(sch) | stdexec::then([] {
fmt::println("Hello, from a different thread");
});
stdexec::sync_wait(std::move(computation));
}
The error message is as follows:
"__query_system_context_interface(__uuid const&)", referenced from:
l3_scheduler() in main.cpp.o
ld: symbol(s) not found for architecture arm64
The following code works without issues:
exec::static_thread_pool pool(8);
auto sch = pool.get_scheduler();
Environment:
-
macOS: M1 MacBook Pro (arm64)
-
Ubuntu: x86 architecture
-
Compiler: clang++-19
Steps to Reproduce:
-
Use stdexec::scheduler with exec::get_system_scheduler().
-
Attempt to compile the code on macOS M1 or Ubuntu (x86).
-
Observe the linker error.
- 主要言語
- C++
- スター
- 2.4k
- フォーク
- 270
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 43
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/stdexec のほかの issue
-
inline_scheduler's namespace-scope static_assert fails under nvcc (private nested __sender access) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google/libultrahdr#485 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
godotengine/godot#123776 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ros2/common_interfaces#344 ·