Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2026 00:47:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293364] base libc++ incompatibilities with GCC 15, built-in traits
Message-ID:  <bug-293364-227-uJEQ0kVR04@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-293364-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293364

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Matthias Andree from comment #0)

My environment is not as recent as main's current
status (bfc6e56f6327 committed on 2026-01-27 18:34:58 +0000):

Merge commit 81b20e110b3f from llvm git (by Roland McGrath):
    [libc++] Work around new GCC 15 type_traits builtins that can't be
    used as Clang's can (#137871)

    GCC 15 has added builtins for various C++ type traits that Clang
    already had.  Since `__has_builtin(...)` now finds these, the #if
    branches previously only used for Clang are now used for GCC 15.
    However, GCC 15 requires that these builtins only be used in type
    aliases, not in template aliases.

    For now, just don't use the `__has_builtin(...)` branches under newer
    GCC versions, so both 14 and 15 work during the transition.  This
    can be cleaned up later to use all the GCC 15 builtins available.

    Fixed: #137704
    Fixed: #117319


Someone with a proper, sufficiently recent context for main
should be able to test if this avoids the issue that I
reported for g++15 builds.

-- 
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-293364-227-uJEQ0kVR04>