https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285063
Bug ID: 285063
Summary: Upgrade via src to 14.2S blocked by lib/libc++
requiring std=c++23
Product: Base System
Version: 14.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Attempting a src upgrade to 14.2S from either 13.2 or 14.1 failed due to
/usr/src/lib/libc++/Makefile specifying the use of
CXXSTD?= c++23
clang 16.0.6 and earlier do not support std=c++23.
Manually forcing std=c++20 enabled a 14.2S buildworld to complete.
Perhaps something like
if ( ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 130000 ) ||
${COMPILER_VERSION} < 170000
should replace
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 130000
--
You are receiving this mail because:
You are the assignee for the bug.