Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2025 02:39:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 285063] Upgrade via src to 14.2S blocked by lib/libc++ requiring std=c++23
Message-ID:  <bug-285063-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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: bugs@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285063-227>