From nobody Fri Apr 29 17:12:04 2022 X-Original-To: freebsd-current@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 0FA061AB2780 for ; Fri, 29 Apr 2022 17:12:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (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 (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KqfDQ3cCmz4cWj for ; Fri, 29 Apr 2022 17:12:06 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 23THC4vc021126 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 29 Apr 2022 10:12:04 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 23THC4hh021125 for freebsd-current@freebsd.org; Fri, 29 Apr 2022 10:12:04 -0700 (PDT) (envelope-from sgk) Date: Fri, 29 Apr 2022 10:12:04 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Subject: Re: Profiled libraries on freebsd-current Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4KqfDQ3cCmz4cWj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none); spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [-0.17 / 15.00]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.980]; NEURAL_SPAM_LONG(0.98)[0.980]; NEURAL_HAM_MEDIUM(-0.17)[-0.168]; MLMMJ_DEST(0.00)[freebsd-current]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none] X-ThisMailContainsUnwantedMimeParts: N On Thu, Apr 28, 2022 at 10:56:48PM -0700, Steve Kargl wrote: > If one looks at src.conf(5), one finds > > WITH_PROFILE > Build profiled libraries for use with gprof(8). This option is > deprecated and is not present in FreeBSD 14. > > I assume that the *_p.a libraries will no longer be built and > installed on FreeBSD 14 and later. Is this correct? > Empirical evidence suggests that src.conf(5) manpage is incorrect. Adding WITH_PROFILE to /etc/src.conf, cd msun cd make clean && make ls /usr/obj/usr/src/amd64.amd64/lib/msun/libm* /usr/obj/usr/src/amd64.amd64/lib/msun/libm.a /usr/obj/usr/src/amd64.amd64/lib/msun/libm.so@ /usr/obj/usr/src/amd64.amd64/lib/msun/libm.so.5* /usr/obj/usr/src/amd64.amd64/lib/msun/libm_p.a so libm_p.a is built. I haven't tried to install it. git blame share/man/man5/src.conf.5 ... f94360971e64 (Ed Maste 2021-06-28 17:30:48 -0400 1392) f94360971e64 (Ed Maste 2021-06-28 17:30:48 -0400 1393) git log -r f94360971e64 commit f94360971e649fa684ef3b7e72839b59c7242bdb Author: Ed Maste Date: Mon Jun 28 17:30:48 2021 -0400 Clarify notice for profiled libraries in FreeBSD 14 Well, that certainly clarifies the situation. Could someone please fix src.conf(5)? -- Steve