From nobody Mon Nov 23 08:39:59 2026 X-Original-To: dev-commits-src-main@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 4jXzsD1KrNz72K64 for ; Mon, 23 Nov 2026 08:40:00 +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 4jXzsC6cwLz4vvR for ; Mon, 23 Nov 2026 08:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795423199; 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=EsEDrIGISC7SzmEv6yY5lu5FHwmRGHRHoDa86opaig0=; b=vVrDzyXnF5SV50XlRlx3kuUSNY9THQJ9/gTc94dXjzOqTUCXcuaFP07H1pncY2yq5Qvwem cR8Q7BitMjdX7lvZLDyP3pZSrODVhnLgno7NJzThDmFPWPhbbPcdvYl+erxs/UCtgq3ldh 1ObvrYeMz6H8JzEe5PKepDbR1stit5CPjGbytY6valMJ3FXYpe5J97OQf+irXG12oDnBiy 9/VYUQpvnqr/rZ8ckK6dzL9gfPQdiYuuSP6ACTOscyQTfFcsdsjE4A351NLcjIhP2pqDcA Kv8sN6P3dBQrZHohdhtBP6zKQQDEwhq0VICB2ayfQJnf1YZrvZxXcPK0J7D/sQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795423199; b=ueuAb8ngwgUTspancGzPQ3gSVxSDAO+OI6K4BB0uVo5VPgtZdcAoqNOzPrpCkZL2lYWfQB p7GYF90fMyW3REBM61aIDxHvhMvf/dk4+BU0/jQilyRseegMIHMWfSmKe1ummEt4IGY3nr sY3ZkL8iOYL0ejGesEBaMJBDBuOisEk1xkIOJbb1bgKueqo8SCZsuAnF4rcAh5sW9Nt5h1 kC1alwhnYfmd4EwKONfwiH8t6oQ6spRPeFDTAHF0yC4a9Uv3Jj4ArF3/jdvc7RkvIZDFtu MDJdp1S4BUjMkx9ZInpcuAdS7kZfhp12kBVi1qjArF/AZOGMDsHNew5i//DMSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795423199; 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=EsEDrIGISC7SzmEv6yY5lu5FHwmRGHRHoDa86opaig0=; b=dYKLXIrzIIyDzs2n6b3wUeDU68OJ6wMWcZFK+WkWIDiQmkW4P+iJi4M8RKeoCFi4gTTdP+ M+9W5pa4I8t9Qpkmh0UrXfU6i7Rnh9YVtyjCSGV6U/vLb5wQmlTsAZlnVdeXjjkT1zD0St GSGzbjBWDydxGJRPjJAyBvfkPhrL44rSFH1zup6tLd8E/6kLTY6NAAtSCqcTyrYORuwKjA ApOQvkT69kNhlFYTQaKgM4FkesmRLVksKyZJhe/dKUAa2BlUUiKiYpoz94/ttHM828ek+Q U0yPQB8qlOFfvAxZ19CXOWVU7UGzUPGOC8rNYsE2Jwjxp1CtduaMP9UOVKtnWw== 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 4jXzsC4jVCzks8 for ; Mon, 23 Nov 2026 08:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 10ca9 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 23 Nov 2026 08:39:59 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Piotr Kubaj Subject: git: 53a850a0d75f - main - tools/build: also stage machine/cpu_flags.h on powerpc List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org List-Id: Commit messages for the main branch 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: pkubaj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 53a850a0d75fa6621be525a79ad821fa4b47e069 Auto-Submitted: auto-generated Date: Mon, 23 Nov 2026 08:39:59 +0000 Message-Id: <6b03fbdf.10ca9.5b4aa6bd@gitrepo.freebsd.org> The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/src/commit/?id=53a850a0d75fa6621be525a79ad821fa4b47e069 commit 53a850a0d75fa6621be525a79ad821fa4b47e069 Author: Piotr Kubaj AuthorDate: 2026-11-22 11:03:13 +0000 Commit: Piotr Kubaj CommitDate: 2026-11-23 08:39:49 +0000 tools/build: also stage machine/cpu_flags.h on powerpc powerpc's machine/elf.h now includes machine/cpu_flags.h, but only elf.h gets copied into the legacy include directory. Building world natively on a powerpc host that doesn't have cpu_flags.h installed yet then fails in libllvmminimal. Reviewed by: jhibbits Fixes: 90bc40e26c61 ("powerpc: Split CPU flags into separate file...") MFC with: 90bc40e26c61 Differential Revision: https://reviews.freebsd.org/D61920 --- tools/build/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/build/Makefile b/tools/build/Makefile index 90fb93a5196a..467bd576c758 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -174,6 +174,10 @@ _host_arch=powerpc _host_arch=amd64 .endif MACHINESYSINCS+= ${SRCTOP}/sys/${_host_arch}/include/elf.h +.if ${_host_arch} == "powerpc" +# The powerpc elf.h includes cpu_flags.h +MACHINESYSINCS+= ${SRCTOP}/sys/powerpc/include/cpu_flags.h +.endif .if ${_host_arch} == "amd64" || ${_host_arch} == "i386" INCSGROUPS+= X86INCS X86INCSDIR= ${INCLUDEDIR}/x86