Re: It's time to kill statistical profiling

Steve Kargl <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Message-ID <[email protected]>
On Sun, Jun 20, 2021 at 03:18:31PM -0400, Ed Maste wrote:
> On Fri, 18 Jun 2021 at 11:13, John Baldwin <[email protected]> wrote:
> >
> > As Konstantin has noted, we already no longer build or ship
> > -pg libraries by default.
> 
> Kostik was talking about only kernel -pg support I believe; we still
> build _p.a libraries by default. I floated the idea of disabling them
> by default but there was some opposition and I didn't proceed.
> 
> It seems like it is in fact past time to disable them by default, and
> I've now put the change in review at
> https://reviews.freebsd.org/D30833.

Are there plans to replace the _p.a with something
that allows profiling code?  If not, are you upstreaming
patches to GCC to disable -pg?  AFAIK, 'gcc10 -pg ... -lm'
causes gcc to look for at least libc_p.a and libm_p.a.  

-- 
Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.