Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Link error of call get_system_scheduler()

オープン
#1,477 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
backend

調査の方向性

ソースファイルやテストは指定されていません。まず、一覧にあるプラットフォームで 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:
  1. Use stdexec::scheduler with exec::get_system_scheduler().

  2. Attempt to compile the code on macOS M1 or Ubuntu (x86).

  3. Observe the linker error.

主要言語
C++
スター
2.4k
フォーク
270
平均マージ
2日 16時間
マージ済み PR(30日)
43

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/stdexec のほかの issue

NVIDIA/stdexec の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。