From nobody Fri May 29 23:01:51 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 4gRzPr11vzz6gDvh for ; Fri, 29 May 2026 23:01:52 +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 4gRzPq2KlRz3BtX for ; Fri, 29 May 2026 23:01:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095711; 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=y/FXsiiCCzn6bvbBMcYHokC6k37lmTpWwxccPy+N4CI=; b=VFI54qq8oYh2KT5RTY1DbT2b6jrlRM0GCAnl03O6NB3LNDb9Y0Pxd5qVDVxbfgjYDWP+LP snBfd7v8MJHLfuV1YzWFC+F35S7wogfhBMZsVLnpTAS3E7RvWJ10v6Py7G724jYrd1blws hZOVjTO7T+7gyJmrclmgqrM8l0/RXgMAmH4A33bSwsgMJXxqVvlinO/z7wweJTfYQw7dnR iqAwW9v68Q5RVqHaSm5tlhMxJj18w2CG/+PBTLokmLJuW/zPE113oEctbyXyXQCa2unRWO KRwSTDPQUcq2wBOpTHmfp5ZtOY77Pf5j/HR7nmBkcPYwRwXm1hTaf/Kmj8+2bQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780095711; a=rsa-sha256; cv=none; b=cwu+CsMlr+keG91MobtiNPqaFwU9sxdrjv3DD37obzihoxKG9VqUiB9rRUo7TEjBOtLBlD 3evm5Q8G2kW+5ZRHBVpJjwGBQTSYAhrKoS7bbDBqZCI5RvT+G4+xrft+MaHOO2092bYS1W tyiJXicmFb4WMWjz5R6GYBwamu7cDf6Ol3ZC/nzenmaXIoK/Ps7p44qcZCVFc72tbXacmH EXQNkInMNEHgDr28rCAQvTVtfkw8Svs93Nyzvm75CyIyOBUShxSnifGTIq4NiBV6xbjkbM o88G+WnpO6wiJoHaFVFMhkOdkCaqWIuc77mV2By2I6u6aKdo1QNZthKVbJMR5g== 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=1780095711; 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=y/FXsiiCCzn6bvbBMcYHokC6k37lmTpWwxccPy+N4CI=; b=rAH9r126vIbAwe563yPX6h6l3xpXnpWznMzHwGOKUkF8SrsbzX9imlZkVlGxLCyXNoXFPI AzZkgyQAMS2GArI7rxNylzRvh1Cdc0fPxoz+FeUAYr43Ir1OiJKq16VGJ8+D9kVS3Tq2nC R/5pYLgl7CxsA5NghoekyhJu/fqZjvL7tJ2lVKfBLEQHbVPyjIHy6nB5nO0gQC2bjcGxOv G2H405xViuC7L4SebjVYmyIkf1OtdleNMizqmJ9wqMjAH++qncp1U58rfUuofHxkeHePM/ wHoO04G5Dgr836DGgmZfQR+ln3BHAkvuXzZu8NYnPV6AiDDhDParKYFyLy1PmQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gRzPq1dXbztV6 for ; Fri, 29 May 2026 23:01:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 41333 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 29 May 2026 23:01:51 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 6960284840f8 - stable/15 - 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/15 X-Git-Reftype: branch X-Git-Commit: 6960284840f8178cb86e359da3b2d4cbe1581b23 Auto-Submitted: auto-generated Date: Fri, 29 May 2026 23:01:51 +0000 Message-Id: <6a1a1adf.41333.46a039ad@gitrepo.freebsd.org> The branch stable/15 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=6960284840f8178cb86e359da3b2d4cbe1581b23 commit 6960284840f8178cb86e359da3b2d4cbe1581b23 Author: Dimitry Andric AuthorDate: 2026-01-02 20:32:05 +0000 Commit: Dimitry Andric CommitDate: 2026-05-29 22:57:31 +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