From nobody Fri May 29 23:04:48 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 4gRzTF0hjTz6gFmT for ; Fri, 29 May 2026 23:04:49 +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 4gRzTD3GSJz3HYp for ; Fri, 29 May 2026 23:04:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095888; 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=CNph8afTroqWP3dVDeyO4a/1nPD3QaeN7rT2LhYftUU=; b=jJSuvb56B8uo7lpBKtWPyFQ7BmccpUw/88Wk++6AVH7vo7gBuB3H/UNkCf64E9JzfqoKIt y9MiLuyRmBtJyqRqX/1zOSS+qmvmLqW7vziEVBhHTtDuYlYwxfkxCHiCQ/Z3aUy904W2bQ qqmA2hd9g5NcW39Y3CHCPDG9ZnnwE2rhtYsSocH/TEIVDXEwqLm+FQTelKXmhvozOoGhRZ EsJ7PxWtBrdVIZYhiGDdGOGWGYvoeoKd969Sh9nJY8MtxmZC5Xqz0W+ztdnXGQk6Ktoarq dEFP2gGVDeNCQMosTLaK0bJp0/hqH465icNcOsqSzQYZLbq8u8s4ga2PGPfMiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780095888; a=rsa-sha256; cv=none; b=fjQ/fjPot93Cky3s8pm1PktkmDpdRkP26y0uD5QqWaHWssnHv1HEQo/Edh67FqucE0ymYk zbEfs/kv+OytCNVbLEV3mPSxCWHyE7DW/HFXXauTr5/lFWFfk+iD77UHExnVN3RoPyYz1/ HRf8bfhUNZ4/aBgoV338UCIcW/8QAzWnsIwJjm8pKlixTSSfOvm0YSqGz23Dt7TOUHqbh+ KftHlCCmSvh2uLolbeEFpckWuN2dV4vDj5YqLc5A22G2bQB5b5K2mTbbATdwRly9fVx+IW hAGov0ojraATKAREdIts52UX0nICX6B6O1K4hO4mGllBZOUt6SFIcEjHWgSYgA== 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=1780095888; 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=CNph8afTroqWP3dVDeyO4a/1nPD3QaeN7rT2LhYftUU=; b=hGnFCPzZFi1Et+5pje0r3FvrfxjbgJd1zbMDYzxsXc2ei3kuPHNdSFOqrwqZ0wTI2IlX6+ Vm5QnE/lWooDZdJ9d9ZZ5YdmGN9Fob1sVJmbSqdHAeQ7h48siyPn2QZm9ruq4y7DRiBh3t FYbvLxPv/f33QdEEwAfvqi5bn1Ou0oQ0PwAJROH/G4ZotwaGYELdrTNok0Y+n1lA6LJ8gK RzUL1nuiBJMtlTEUls9wET+vppSQMvygr/JPaRo7lhT6qf3H83IdjrbGTQ5AV9PIdBIuWj xqy1JpXpQRH+mxZSFPvj0X3zXBiw9jJFDFhBjZOPZaLQrxg5S9wVnA9v8kVyOQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gRzTD2ZYtztq9 for ; Fri, 29 May 2026 23:04:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 40cec by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 29 May 2026 23:04:48 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: ec6797818bf2 - stable/14 - Fix up builds on Linux hosts after llvm 21.1.8 merge 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: ec6797818bf2f35c95422a4be398ca903ce27657 Auto-Submitted: auto-generated Date: Fri, 29 May 2026 23:04:48 +0000 Message-Id: <6a1a1b90.40cec.4a8ead61@gitrepo.freebsd.org> The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=ec6797818bf2f35c95422a4be398ca903ce27657 commit ec6797818bf2f35c95422a4be398ca903ce27657 Author: Dimitry Andric AuthorDate: 2026-04-25 15:20:27 +0000 Commit: Dimitry Andric CommitDate: 2026-05-29 22:59:37 +0000 Fix up builds on Linux hosts after llvm 21.1.8 merge This is because contrib/llvm-project/llvm/lib/Support/Unix/Threading.inc attempts to use pthread_get_name_np(3) and pthread_set_name_np(3), which are not defined on Linux. Reported by: ivy PR: 292067 MFC after: 1 month (cherry picked from commit b6d823e39072daae9df4b47a15ea7142b7a55f1a) --- lib/clang/include/llvm/Config/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index e504ac8f13bb..0aea32fa9dce 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -114,10 +114,14 @@ #define HAVE_PTHREAD_SETNAME_NP 1 /* Define to 1 if you have the `pthread_get_name_np' function. */ +#if !defined(__linux__) #define HAVE_PTHREAD_GET_NAME_NP 1 +#endif /* Define to 1 if you have the `pthread_set_name_np' function. */ +#if !defined(__linux__) #define HAVE_PTHREAD_SET_NAME_NP 1 +#endif /* Define to 1 if you have the header file. */ #if __has_include()