From nobody Tue Nov 03 22:55:55 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 4jK3p42dPwz6y0Jb for ; Tue, 03 Nov 2026 22:55:56 +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 4jK3p408cgz4NBp for ; Tue, 03 Nov 2026 22:55:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793746556; 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=H/nvHOlQzTiYwn+w8VUSiQua3T73s2R4arxR6bicVJ8=; b=lpoIgDaMvN7BQN1n/tMYBHwfcT2BE9mLgc5FkyyA8cak3u2Iznqi3AL0XSDzHRJGo3vwKq P3tLHbsLGNuhddiE+sU6Ew4y4rpFfKYJx8EDJs/Y8abkR/y2hGSiqE4XkV6dJXM+6Tvv5W Lky1wC6+KMT0oiutP38MWPyKm5ohosOTmkdLQ6d+997gBJnRS/dIOlYRU3cotHFfNbbqFA NOJ/sVZjZj14j5ptvylcsPA8MSJewlfVozN0f6ys+rBTpBaYyHFruXMpNH+Xko9JKQF/u1 gq2GxSWFv/uJohGS2xonIyuMotvgKke6uiaIOYcp7fRr2lM4a4mWYtm4wRBTvg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793746556; b=WFw/OolySBsfFHBm2xN0RmmleD+/5+BBUaFRl34IZlB5XQ7E8p4WUyWjThuLd0xg7zjbQi 0CV+hlV8be2AxR0LuClh3HsoOyxFU71V+6VFFsIrhInPcy48ubGNPjLdGgy59oxF5Spf2J umGT/3lYTPKNXw5lrkWUcXA6q36Imb+jsC93iqIrjPHMxrkmaoxfRi4RpV8zFUyqIWtqtO fDk6LyoFwwxXxIa6T9coMGzrMytJL1CVT/lv2yidYEpJ/B9ISVBGI9LrOgGimQEabYb22B RV5GEDjkvh0uf2vybGDoiBWyPM2DybVo8uran/K9O7hfCcYHUN0AKJHdRw5O7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793746556; 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=H/nvHOlQzTiYwn+w8VUSiQua3T73s2R4arxR6bicVJ8=; b=dKDSE5GMjq0+RS2LXZoI96lUh08DKGfH4F383aClCdGVJCk59xtDIHr7xQaI2ebHNf7hF6 bUtVSMk+3dKNKyDNPWiEFJ96YAunqyv3GHUw0x93hhxSxgH6jUAokt+XTXYCF9wd0o8ThO Ze23ukRVoUEbfK6cRsmwJYY8vI2I9AQfHVUdvK4igPlSqKQb8mcek07ad1wHbFlAo0RhWf 9/EtCB69s9Vz20UXym9I8jO3IkuOj0f3Aq6ADfYr1in6dSkHn4h7FncsjQi+VkcE1KiXEX jVlSpZH0+B47Ui8oqAQkT+v1ZA8hyikZzgMG6L7FcPnWF8a4NG+wX5HRlaQP5A== 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 4jK3p36BzVzd7p for ; Tue, 03 Nov 2026 22:55:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 26e2b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 03 Nov 2026 22:55:55 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: e89d0e74e23e - main - 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 Sender: owner-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/main X-Git-Reftype: branch X-Git-Commit: e89d0e74e23e95fa79989a9053e788e6378eee07 Auto-Submitted: auto-generated Date: Tue, 03 Nov 2026 22:55:55 +0000 Message-Id: <6aea667b.26e2b.8500144@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=e89d0e74e23e95fa79989a9053e788e6378eee07 commit e89d0e74e23e95fa79989a9053e788e6378eee07 Author: Olivier Certner AuthorDate: 2026-11-03 21:31:11 +0000 Commit: Olivier Certner CommitDate: 2026-11-03 22:54:01 +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 --- sys/conf/files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/conf/files b/sys/conf/files index 3bc46035c816..a769d3043e74 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4721,7 +4721,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 \ @@ -4730,7 +4730,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 \