From nobody Thu Nov 19 15:32:16 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jVjBm3z1Tz71F3l for ; Thu, 19 Nov 2026 15:32:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jVjBm1z4tz4rZ0 for ; Thu, 19 Nov 2026 15:32:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795102336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l7trXyb9N8g7j1ghITXA7itrJ+1hef9EBNnFbZQvFnU=; b=c1dvkZxmANRfn6hOUlynP3qoG0Qk3xJBEqn54zv/QSEpOgOuPrSo+2oP/hOW5iQZoQD0y0 871zldHwUMWbHZpxUt1dFUCT0865uojhlH13YAQ1HAmuehBIzloKnDKE+Nri3j2XD4Uhxr qlBgH5K1OuYFuwphwGbTW2t56OFOoybw0zh9CZZzqAy9zPvTKa20+7plpRoDtUi9T/+BKV 9+bdRa6eGv6mFntuCPmEE30dx3uxw5t1sOVmyHSGEeOlPX5NzK+j1WTFx46zgcX8UQZEtv B9svXOELel5E8K9T2VYo9XOIO+vkUBxdwkauDL4WIWIQg+uoo1gZeiHiSPCsIw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795102336; b=ljeFginDywCtSm+AS4bhgKrdxcrDnR37SsjrTR62pgyWo4SVnsh/0X+NE2mfduJVI5ccBA sXUZAnkpUmK7FDVVzIWkweqXWcNjeX785hlEOEJMM1jdTV2nSuWyMSbnt2voj3UFF3TJDt VyaRGtTAupg15D5HdZAJyiAE0If2IcMNUVAKqracvoTX4n3xWfkZ+PzqM0TRfXoI0nx6XN W/WZkUfwXW4UbH52ENEcaHG+EdpHL6QIw0ENtpji8cflWncblIpShdWvKyQc2odfKzXmzd o5BHrp3zMOHqHc9WRyNcyxGaC9sHuuruFPstIvkxBTLeHv7zdcubhTfFSj1Vqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795102336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l7trXyb9N8g7j1ghITXA7itrJ+1hef9EBNnFbZQvFnU=; b=GCL4YfxiSgOiHwhSbtfNvJ0s8pFf5q2oW4Iup/pV6DFSCFkKaZNM2p/u/1OMb0LIptzlhD ZYHZeMtyg5NeP+Pus1ETaNDq94hoHm9wm29EuYHGu80gbPwv9hJI8psVIOddw+axArkPSX NG0QD+BcdokSV2kKDBTRZejrWnHLyFWJyF4A93ahQ/lgWyk3C5y3nIp55n+rZa176AxZoT 0gUDe+SlSAyPkhUubP3S55Zleo+Qb/PsMDbYYag0c6oQoKjiOtUp6idPXsYBIGr7qjfFKO +p7j2fT3Rh68sV+u4gQ7YUACymASmD6pJtkGJLGukgOYmKuF+8W8G3JYqq3H6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jVjBm1bSNz16SD for ; Thu, 19 Nov 2026 15:32:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id cc97 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 19 Nov 2026 15:32:16 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 50879f296a00 - stable/15 - sched: Fix building kernel independently of world List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 50879f296a00fc633666fe29b2ef7b4d2a03f95f Auto-Submitted: auto-generated Date: Thu, 19 Nov 2026 15:32:16 +0000 Message-Id: <6aff1680.cc97.3ce27a6e@gitrepo.freebsd.org> The branch stable/15 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=50879f296a00fc633666fe29b2ef7b4d2a03f95f commit 50879f296a00fc633666fe29b2ef7b4d2a03f95f Author: Olivier Certner AuthorDate: 2026-11-03 21:31:11 +0000 Commit: Olivier Certner CommitDate: 2026-11-19 15:31:54 +0000 sched: Fix building kernel independently of world Regular '-I' directives must be passed to ${CPP} so that when pre-processed, 'sched_ns.h' can find the files it includes in the proper places, instead of relying on what is in ${WORLDTMP}, i.e., nothing if '_includes' was not executed, which happens, e.g., when using 'make kernel-toolchain' and then 'make buildkernel' without having executed a 'make buildworld', or possibly some outdated copy not matching an updated source. Reported by: Claude Opus 5.5, imp Fixes: 510331fa3763 ("sched: Automatically namespace schedulers' implementation functions") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D61167 (cherry picked from commit e89d0e74e23e95fa79989a9053e788e6378eee07) --- sys/conf/files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/conf/files b/sys/conf/files index af58930c2bbb..29df1771d99e 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4666,7 +4666,7 @@ kern/sched_4bsd.c optional sched_4bsd sched_4bsd_ns.h optional sched_4bsd \ dependency "$S/kern/sched_ns.h $S/sys/sched.h \ $S/tools/sched_impl_ns.awk" \ - compile-with "${CPP} -DSCHED_IMPLEMENTATION=4bsd \ + compile-with "${CPP} ${INCLUDES} -DSCHED_IMPLEMENTATION=4bsd \ $S/kern/sched_ns.h | \ ${AWK} -f $S/tools/sched_impl_ns.awk > ${.TARGET}" \ no-obj no-implicit-rule before-depend local \ @@ -4675,7 +4675,7 @@ kern/sched_ule.c optional sched_ule sched_ule_ns.h optional sched_ule \ dependency "$S/kern/sched_ns.h $S/sys/sched.h \ $S/tools/sched_impl_ns.awk" \ - compile-with "${CPP} -DSCHED_IMPLEMENTATION=ule \ + compile-with "${CPP} ${INCLUDES} -DSCHED_IMPLEMENTATION=ule \ $S/kern/sched_ns.h | \ ${AWK} -f $S/tools/sched_impl_ns.awk > ${.TARGET}" \ no-obj no-implicit-rule before-depend local \