[Bug 292067] [exp-run] Against llvm-21-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Apr 2026 14:20:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067

--- Comment #93 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=718e5874be0306ea302fd2b8e1d97fc79682abbe

commit 718e5874be0306ea302fd2b8e1d97fc79682abbe
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2026-01-02 20:32:05 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-04-25 14:14:11 +0000

    llvm-libc-macros: work around gcc defining LDBL_MANT_DIG as 53 on i386

    Otherwise, gcc will not be able to compile parts of libc++ 21 in -m32
    mode, resulting in errors similar to:

        In file included from
/usr/src/contrib/llvm-project/libc/shared/str_to_float.h:13,
                         from
/usr/src/contrib/llvm-project/libcxx/src/include/from_chars_floating_point.h:14,
                         from
/usr/src/contrib/llvm-project/libcxx/src/charconv.cpp:12:
        /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h: In
function 'void
__llvm_libc::internal::set_implicit_bit(__llvm_libc::fputil::FPBits<T>&) [with
T = long double]':
        /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h:77:10:
error: 'struct __llvm_libc::fputil::FPBits<long double>' has no member named
'set_implicit_bit'
           77 |   result.set_implicit_bit(result.get_biased_exponent() != 0);
              |          ^~~~~~~~~~~~~~~~

    PR:             292067
    MFC after:      1 month

 contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h | 5 +++++
 1 file changed, 5 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.