Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2021 15:59:42 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        "Rodney W. Grimes" <rgrimes@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: b762974cf4b9 - main - clang: stop linking _p libs for -pg as of FreeBSD 14
Message-ID:  <CAPyFy2DdB2WZ0pmW0GbU-M5EBxkdp8H8HkUmir8qmHHHSbe-hQ@mail.gmail.com>
In-Reply-To: <202106281630.15SGU2j0097041@gndrsh.dnsmgr.net>
References:  <202106271712.15RHConb019042@gitrepo.freebsd.org> <202106281630.15SGU2j0097041@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> >     clang: stop linking _p libs for -pg as of FreeBSD 14
> >
> >     In FreeBSD 14 we will stop providing _p libraries (compiled with -pg).
>
> So if this is being done in 14 only, why is there a MFC marker?
> Should that of been MFC: never?
...
> > +  bool Profiling = Args.hasArg(options::OPT_pg) &&
> > +                   ToolChain.getTriple().getOSMajorVersion() < 14;

The compiler applies this logic only to 14 and later. MFCing will
allow a FreeBSD 13 Clang to build a FreeBSD 14 binary with -pg.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DdB2WZ0pmW0GbU-M5EBxkdp8H8HkUmir8qmHHHSbe-hQ>