From nobody Fri May 29 23:04:28 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gRzSs11CPz6gFcs for ; Fri, 29 May 2026 23:04:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gRzSr4MYYz3HBy for ; Fri, 29 May 2026 23:04:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VGsEVdmwjJct28NAfBYKmZtqHnm3XdBZM+n1YeonWIw=; b=B6lsYk7vK6i3PdyN0JiAQ43u6IZl774/sQTVP9+2FbDVcNxHBOzyMn/KeBdnKiS1lZ1CUv GFqmGczmjLlHYcBVQS7Z+B9KZaEdAClhdDhwWhqbqUYt4vWMzI0yAVv3HQflF16MkziBbH KvvLW/nTgM6QhkcIzFrgWjx9Pf1mg6V3wZ6vb8ZeozrWOVZG7K3t+SUz72O/8Pj9mOw1Y0 eb3nkGVyXC71MdQUnTev/meKLgGpvAgpJ/jPBCm4JGIqZCcRS9jXnur/vHvGMWmjloook2 rB2CRTtzizd1kKaG/2BSSyz/aqzcu2Syc0D725mrCC0SQr56VgMO2jiz86bstw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780095868; a=rsa-sha256; cv=none; b=aGhEtlDWx7+H3lMgIrpCZYwIIHddoqR+qI2PTh4uIOGk+zaO67O1d+dCr2C4BKYkQj0psD GcRve8dZug/zIdENNiv6meRQokwj5YmSJbekh8FRABWuAr04A7o736ESFlHnnyPG+EvuGW YvDGiH/RbQnSKvAfWmq7u67vdEe0qPLNCul3TTtbLZsSAYL5WkAt4p9Z7MHcbmHILD0wpU H3Aq2/UoM8LDpWZQOI3a9JWP5BoyksdrLYw1i8ziQc7OqdGMehf0+S+qKZJbJqDT0u1zHS CSNAwasOBhY2+kkW0Cfqq9LoAmWuY2Tof6QeSZslrrTN2A2sqlIeGE+HM32nLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VGsEVdmwjJct28NAfBYKmZtqHnm3XdBZM+n1YeonWIw=; b=HjovrTU2gT+bXZ9dQOPMrMO2433qbbyC0vvr1zTIBQuOeBJWz4P+6SNvVBGzwR6Hq4yr6y +arGpNmdhLaT0piQoIQSATZBki03jvvYIV6J0hu9p94IFYkGfvekURVY3y/CBPNhbZCv6Y vqcNjMJyHV3B7Jr/Y1EeeCR19s35qhXx8GZGO1ZHXdWPSb5oEURZypYMAts5I1U7qCYjD+ 7Az/bvY3RROV9KttjWm0yzLF62rD/ar81nz0hH4FvWtqYBBOjnzyI2XYt9BjpDQEyRWJY6 Q0g9ef1vMKVOsdGjtHsqKpmJN0Qss1c8ZGT3RfWrLUiEXBR2970gSac9SnkRXA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gRzSr3rr4ztq1 for ; Fri, 29 May 2026 23:04:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4036a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 29 May 2026 23:04:28 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 3e4555860338 - stable/14 - llvm-libc-macros: work around gcc defining LDBL_MANT_DIG as 53 on i386 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3e455586033833d25699dfa61ab863e11ca3c110 Auto-Submitted: auto-generated Date: Fri, 29 May 2026 23:04:28 +0000 Message-Id: <6a1a1b7c.4036a.f054651@gitrepo.freebsd.org> The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=3e455586033833d25699dfa61ab863e11ca3c110 commit 3e455586033833d25699dfa61ab863e11ca3c110 Author: Dimitry Andric AuthorDate: 2026-01-02 20:32:05 +0000 Commit: Dimitry Andric CommitDate: 2026-05-29 22:59:36 +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&) [with T = long double]': /usr/src/contrib/llvm-project/libc/src/__support/str_to_float.h:77:10: error: 'struct __llvm_libc::fputil::FPBits' has no member named 'set_implicit_bit' 77 | result.set_implicit_bit(result.get_biased_exponent() != 0); | ^~~~~~~~~~~~~~~~ PR: 292067 MFC after: 1 month (cherry picked from commit 718e5874be0306ea302fd2b8e1d97fc79682abbe) --- contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h b/contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h index a25ef60a293d..3bf92bc7b6c9 100644 --- a/contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h +++ b/contrib/llvm-project/libc/include/llvm-libc-macros/float-macros.h @@ -61,6 +61,11 @@ #define DBL_MANT_DIG __DBL_MANT_DIG__ #endif // DBL_MANT_DIG +// Kludge for gcc defining LDBL_MANT_DIG as 53 on i386 +#if defined(LDBL_MANT_DIG) && defined(__GNUC__) && !defined(__clang__) && defined(__i386__) +#undef LDBL_MANT_DIG +#endif + #ifndef LDBL_MANT_DIG #define LDBL_MANT_DIG __LDBL_MANT_DIG__ #endif // LDBL_MANT_DIG