diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-01-16 17:40:32 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2021-08-08 00:24:36 +0000 |
commit | fe52b7f60ef46b65b24d7810a07be04483299d89 (patch) | |
tree | 2e6ae414727b17b3ab8333520a0d1f2ca500d3da | |
parent | c5e5202a3d5d6b7d47a6da7b678bc5c4320c91e9 (diff) | |
download | src-fe52b7f60ef4.tar.gz src-fe52b7f60ef4.zip |
Disable PROFILE option by default
Hardware based profiling (e.g. hwpmc) is much better and produces more
useful results. Today the profiling lib archives (_p.a) serve no real
purpose other than increasing the library build time.
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 no longer provide prebuilt
libraries compiled with -pg.
Discussed on freebsd-hackers[1] / freebsd-current [2] in 2020 and
freebsd-arch [3] in 2021. A deprecation notice was added in
commit 175841285e28.
[1] https://lists.freebsd.org/pipermail/freebsd-hackers/2020-January/055551.html
[2] https://lists.freebsd.org/pipermail/freebsd-current/2020-January/075105.html
[3] https://lists.freebsd.org/archives/freebsd-arch/2021-June/000016.html
PR: 256873 [exp-run]
Reviewed by: imp, jhb, kib
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30833
-rw-r--r-- | share/mk/bsd.opts.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk index 6e81484a09ab..2504e5038d6e 100644 --- a/share/mk/bsd.opts.mk +++ b/share/mk/bsd.opts.mk @@ -61,7 +61,6 @@ __DEFAULT_YES_OPTIONS = \ NIS \ NLS \ OPENSSH \ - PROFILE \ SSP \ TESTS \ TOOLCHAIN \ @@ -77,6 +76,7 @@ __DEFAULT_NO_OPTIONS = \ INIT_ALL_ZERO \ INSTALL_AS_USER \ MANSPLITPKG \ + PROFILE \ RETPOLINE \ STALE_STAGED \ UBSAN |