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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 May 2026 02:53:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295589

--- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Created attachment 271155
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271155&action=edit
Example changes to get my context's buildworld to compile

The patch is intended to give an example of what allowed
my personal context for main to build with the libc++
transitive includes disabled. This was more an exploration
of what is at issue but things turned out to be simple and
not extensive. I've checked building only the 1 main amd64
context, no others.

Some of the files touched are under cddl/ and contrib/ .
All the changes are adding some:

#include <SOME-C++-HEADER-NAME>

I did not evaluate if any context's mixing of C and
C++ should be any different: strictly adding missing
C++ header references.

For reference for what the diff is relative to:

# ~/fbsd-based-on-what-commit.sh -C /usr/main-src
839d3266d8c6 (HEAD -> main, freebsd/main, freebsd/HEAD) uipc_shm.c: make large
page allocation interruptible
Author:     Konstantin Belousov <kib@FreeBSD.org>
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-01 01:06:42 +0000
branch: main
merge-base: 839d3266d8c6f6471cb92a3c0ae32eb16d117427
merge-base: CommitDate: 2026-05-01 01:06:42 +0000
n285621 (--first-parent --count for merge-base)


So: over 3 weeks old for the main source context.

My /usr/main-src/ has a few other personal changes
that are not shown and not relevant for this.

I do not maintain an environment for developing against
main's head as a contributor would/should.

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