]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add deprecation notice for WITH_PROFILE option
authorEd Maste <emaste@FreeBSD.org>
Sun, 27 Jun 2021 17:21:26 +0000 (13:21 -0400)
committerEd Maste <emaste@FreeBSD.org>
Wed, 7 Jul 2021 13:19:00 +0000 (09:19 -0400)
commitc3e6df3967f9a64322ad493e0ecd7e8cffba018f
tree208c86b5b92ad33625b67be4ef791fb388b069b2
parenteed85dd1ad31fc83aa3bc1bd8b4c9249616c8b78
Add deprecation notice for WITH_PROFILE option

As discussed on freebsd-current [1] and freebsd-arch [2] and review
D30833, FreeBSD 14 will ship without the _p.a libraries built with -pg.
Both upstream and base system (in commit b762974cf4b9) Clang have been
modified to remove the special case for linking against these libraries.

Clang's -pg support and mcount() remain, so building with -pg can still
be used on code that the user builds; we just do not provide prebuilt
libraries compiled with -pg.  A similar change is still needed for GCC.

[1]  https://lists.freebsd.org/pipermail/freebsd-current/2020-January/075105.html
[2] https://lists.freebsd.org/archives/freebsd-arch/2021-June/000016.html

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 175841285e289edebb6603da39f02549521ce950)

Clarify notice for profiled libraries in FreeBSD 14

Reported by: kevans
Fixes: 175841285e28 ("Add deprecation notice for...")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit f94360971e649fa684ef3b7e72839b59c7242bdb)
share/man/man5/src.conf.5
tools/build/options/WITH_PROFILE