public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] tools/sched_ext: fix compilation issues
@ 2026-03-03  7:23 Zhao Mengmeng
  2026-03-03  7:23 ` [PATCH 1/3] tools/sched_ext: Add -fms-extensions to bpf build flags Zhao Mengmeng
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Zhao Mengmeng @ 2026-03-03  7:23 UTC (permalink / raw)
  To: tj, void, arighi, changwoo, shuah, nathan, nick.desaulniers+lkml,
	morbo, justinstitt
  Cc: sched-ext, linux-kernel, linux-kselftest, bpf, llvm, zhaomengmeng

From: Zhao Mengmeng <zhaomengmeng@kylinos.cn>

This series addresses compilation issues in the sched_ext (scx)
tooling and selftests when using Clang 17.

1. Add -fms-extensions flags to scheduler and selftests to avoid build
warning like "declaration does not declare anything"
2. Use signed div for peek_dsq.bpf.c to avoid clang 17 crash.

Zhao Mengmeng (3):
  tools/sched_ext: Add -fms-extensions to bpf build flags
  selftests/sched_ext: Add -fms-extensions to bpf build flags
  selftests/sched_ext: Fix peek_dsq.bpf.c compile error for clang 17

 tools/sched_ext/Makefile                         | 2 ++
 tools/testing/selftests/sched_ext/Makefile       | 2 ++
 tools/testing/selftests/sched_ext/peek_dsq.bpf.c | 4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-03  7:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03  7:23 [PATCH 0/3] tools/sched_ext: fix compilation issues Zhao Mengmeng
2026-03-03  7:23 ` [PATCH 1/3] tools/sched_ext: Add -fms-extensions to bpf build flags Zhao Mengmeng
2026-03-03  7:23 ` [PATCH 2/3] selftests/sched_ext: " Zhao Mengmeng
2026-03-03  7:23 ` [PATCH 3/3] selftests/sched_ext: Fix peek_dsq.bpf.c compile error for clang 17 Zhao Mengmeng
2026-03-03  7:50 ` [PATCH 0/3] tools/sched_ext: fix compilation issues Andrea Righi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox