Re: Profiled libraries on freebsd-current

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 30 Apr 2022 06:13:36 UTC
On Fri, Apr 29, 2022 at 02:54:17PM -0700, Mark Millard wrote:
> On 2022-Apr-29, at 13:12, Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
> 
> > The evenual absence of libc_p.a and libm_p.a will break GCC's
> > -pg option in GCC.  One will then need to know how to change the
> > GCC source or install symlinks for to point *_p.a a the *.a libs.
> > 
> 
> src/tree/tools/build/mk/OptionalObsoleteFiles.inc shows the
> following that does include those 2 files as ones considered
> obsolete (i.e., to be removed) by WITHOUT_PROFILE:
> 

(snip)

> 
> I expect that this is part of the mechanism that will
> ultimately remove those then-out-of-date files from
> systems when WITH_PROFILE is no longer supported.
> 
> Metion was made of "[a] similar change is still needed
> for GCC" --but I've no clue of the details or status.
> 

Therein lies the problem.  None of the people pushing the
removal of WITH[OUT]_PROFILE have submitted a patch to 
fix GCC.  Anyone installing a lang/gccXXX port will be
met with errors when using -pg.  

-- 
Steve