[Bug 230184] clang++ failed to include standard header files if '-stdlib=libstdc++' option is specified

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Jul 2026 07:26:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230184

Vedran Miletic <vedran@miletic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vedran@miletic.net

--- Comment #5 from Vedran Miletic <vedran@miletic.net> ---
(In reply to Mark Millard from comment #1)
It is possible, with some patching on the GCC side, to use LLVM versions from
Ports with libstdc++ from a GCC version from Ports. There are some issues that
require additional trickery with CLI flags with Clang 16-20, including system
Clang, but Clang 12-15 and 21-22 work reasonably well. With LLVM 21 landing
(bug 292067) it should be easier.

I can share my findings if there is interest.

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