From nobody Thu May 14 18:56:38 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 4gGfgq5XYSz5WqWg; Thu, 14 May 2026 18:56:39 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gGfgq4jx0z45QV; Thu, 14 May 2026 18:56:39 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778784999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UcbCV7NXBCYnq+OR6DAgi7n0vIFgzFJUmDzoVvK7Ndg=; b=m38h2Nrz6qGkrO9iNMElSdCjbZ5JdAzFYnvNex7S3mSS/d0nVHI0MSLc+KNUbyKZnvtTPm TUxK5CHmQBbre2zvOXNwZ/j1aUJS0mFdn/tCU/qNEMFw1AcnmgiE4HoWGGMeq8CiUHWNOn DkGMayUANBbEQ+IsrH8ecdyDsqQcXssveGtJNMUVkGqU66dHshdsyJ2S0+EQPfmkZYbpXr dP8Pjf2X2nks9nXszqe7wKJ9d3mWyhRwGcPbN+SVdYq8wdzO5dSF0tmpueKCp2xc23W3Lq UVI6UfOcdQIb3cXrEvYbB/wLIixtJEQB2Zf2AxZ6H5bv0rQs0R7X4n/j7jCVRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778784999; a=rsa-sha256; cv=none; b=QOejl1txY5swb4QA9BeO5LiDHDaG0jmXOizZEadNJx94TbGRfkF7TeQ6HAsKyfaWAZlc5O UPGl+MgnB5/6lAscWoGxvuXjHITEs/dGMVFEMwbMlcBQI8yZetPRMgaXab5NXKPnrUZ1e9 hSJTPKlC4J+Rza8C+1UsHtgCwn2IjmwBIQvewS2vHRmcyrCVSrUPBocMjCRo+QoihmG6xD ISzP7q4m2jyOVviF3pbVJwVPNPQjo55I+9It/eSn7HBaygLhDjMnpIsW3IXqyLwvcn9rom D3TN8zMke+NAeOpFofd9OxCPCets1Eb9n9nndBfmF66bSqCNSubpAuuN5fqwow== 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=1778784999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UcbCV7NXBCYnq+OR6DAgi7n0vIFgzFJUmDzoVvK7Ndg=; b=aqZj4UyvMYrrGCe/8oxDSA9fxrlAKhAuR0jCij8vqkwJ8+Fi7iHNhHuGjZBzDo69mENLBQ bBoOhLURLfdBLveJUwDxOEByKngZJKMkvO7j4tbSmTYrhTDBHn5uwTtEOE7A5h+W7pzDFU woVAwP+nTlhykqchPDtIHrCNwyDgL8v9xmRB7g92rCcQElDWqVMvGu3iBPZ+x82zt6bE15 v+3QuQoxDEI+HqJ2NspUBiJMZ4R8ilqu9mSjPyUmP/vBF9Q1/7Wy9fOsovOoKpBxWvfaN7 1nsuWAssCLSwOTgYG6DDx7LItr3HZtpitqjE//iCCMXji/8p6K4S1TgUNIdkRg== Received: from [IPV6:2601:5c0:4202:5670:f9f4:5f18:1426:342d] (unknown [IPv6:2601:5c0:4202:5670:f9f4:5f18:1426:342d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4gGfgq2cj3z14Nd; Thu, 14 May 2026 18:56:39 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <501769a6-e12b-428d-9dd3-c6764083e578@FreeBSD.org> Date: Thu, 14 May 2026 14:56:38 -0400 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 User-Agent: Mozilla Thunderbird Subject: Re: git: 8766e2122ac0 - main - mandoc: Updating FreeBSD thead library descriptions Content-Language: en-US To: Konstantin Belousov Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org References: <6a04a811.3be57.aea6532@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/13/26 22:47, Konstantin Belousov wrote: > On Wed, May 13, 2026 at 04:34:25PM +0000, John Baldwin wrote: >> The branch main has been updated by jhb: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=8766e2122ac02ff4d86c254d8ef1c41d4a7f76a0 >> >> commit 8766e2122ac02ff4d86c254d8ef1c41d4a7f76a0 >> Author: John Baldwin >> AuthorDate: 2026-05-13 16:33:29 +0000 >> Commit: John Baldwin >> CommitDate: 2026-05-13 16:33:29 +0000 >> >> mandoc: Updating FreeBSD thead library descriptions >> >> Remove libkse as it has been obsolete for many years and drop 1:1 from >> description of libthr. >> >> Reviewed by: brooks >> Sponsored by: AFRL, DARPA >> Differential Revision: https://reviews.freebsd.org/D56850 >> --- >> contrib/mandoc/lib.in | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/contrib/mandoc/lib.in b/contrib/mandoc/lib.in >> index dcea23cf81ea..04d86f9add1e 100644 >> --- a/contrib/mandoc/lib.in >> +++ b/contrib/mandoc/lib.in >> @@ -74,7 +74,6 @@ LINE("libisns", "Internet Storage Name Service Library (libisns, \\-lisns)") >> LINE("libjail", "Jail Library (libjail, \\-ljail)") >> LINE("libkcore", "Kernel Memory Core Access Library (libkcore, \\-lkcore)") >> LINE("libkiconv", "Kernel-side iconv Library (libkiconv, \\-lkiconv)") >> -LINE("libkse", "N:M Threading Library (libkse, \\-lkse)") >> LINE("libkvm", "Kernel Data Access Library (libkvm, \\-lkvm)") >> LINE("libm", "Math Library (libm, \\-lm)") >> LINE("libm68k", "m68k Architecture Library (libm68k, \\-lm68k)") >> @@ -126,7 +125,7 @@ LINE("libtacplus", "TACACS+ Client Library (libtacplus, \\-ltacplus)") >> LINE("libtcplay", "TrueCrypt-compatible API library (libtcplay, \\-ltcplay)") >> LINE("libtermcap", "Termcap Access Library (libtermcap, \\-ltermcap)") >> LINE("libterminfo", "Terminal Information Library (libterminfo, \\-lterminfo)") >> -LINE("libthr", "1:1 Threading Library (libthr, \\-lthr)") >> +LINE("libthr", "Threading Library (libthr, \\-lthr)") > Arguably the suggested linker argument should be -lpthread instead. I think there is a "libpthread" entry already and we could just use that in our manpages going forward instead of .Lb libthr which would have that effect. Actually, .Lib libthr is only used in a few places, and several of those could either be removed (e.g. the IMPLEMENTATION NOTES section in pthread(3) can probably just be removed, it was more relevant when there were multiple libraries) or updated (_umtx_op.2 can just reference libpthread instead of libthr). It's not clear to me if there is true value in renaming the real library, though if we ever bump the major version for libthr we should probably use the opportunity to install it as libpthread for real. Given it uses symbol versioning it seems unlikely we will ever do that though. If we really cared we could rename it for 16 I guess. The compat15 package would just need to contain libthr.so.3. -- John Baldwin