Date: Fri, 29 Apr 2022 10:12:04 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-current@freebsd.org Subject: Re: Profiled libraries on freebsd-current Message-ID: <YmwcZFHr%2BrE6tyoE@troutmask.apl.washington.edu> In-Reply-To: <Ymt%2BICLaQPxx2knx@troutmask.apl.washington.edu>
index | next in thread | previous in thread | raw e-mail
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 <emaste@FreeBSD.org>
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YmwcZFHr%2BrE6tyoE>
