[Bug 295589] LLVM futures and _LIBCPP_REMOVE_TRANSITIVE_INCLUDES now: vs. buildworld

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 01 Aug 2026 01:26:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295589

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Some more hacked in includes used to get an upgraded source to build:

diff --git a/usr.sbin/pmc/display.cc b/usr.sbin/pmc/display.cc
index 454cb74e29bd..55579acd4717 100644
--- a/usr.sbin/pmc/display.cc
+++ b/usr.sbin/pmc/display.cc
@@ -42,6 +42,7 @@
#include <unistd.h>

#include <cxxabi.h>
+#include <algorithm>
#include <iomanip>
#include <ios>
#include <iostream>

diff --git a/usr.sbin/pmc/view.hh b/usr.sbin/pmc/view.hh
index 062325b096dc..540ed8157de1 100644
--- a/usr.sbin/pmc/view.hh
+++ b/usr.sbin/pmc/view.hh
@@ -31,6 +31,9 @@
#ifndef __VIEW_HH__
#define __VIEW_HH__

+#include <sys/_cpuset.h>
+#include <sys/cpuset.h>
+
#include <libdwarf.h>
#include <libelf.h>
#include <libutil.h>
@@ -39,6 +42,8 @@
#include "headers.hh"
#include "util.hh"

+#include <vector>
+
/*
 * PMC counter state.
 */


For reference for the source vintage it is based on:

# ~/fbsd-based-on-what-commit.sh -C /usr/main-src/
21bc31ce2e4a (HEAD -> main, freebsd/main, freebsd/HEAD) acpi: parse
resources of not-present devices that are kept enabled
Author:     Abdelkader Boudih <freebsd@seuros.com>
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-07-31 21:26:08 +0000
branch: main
merge-base: 21bc31ce2e4a7106ec352c9e30fc6d948b881653
merge-base: CommitDate: 2026-07-31 21:26:08 +0000
n287870 (--first-parent --count for merge-base)

-- 
You are receiving this mail because:
You are the assignee for the bug.