[Bug 256873] [exp-run] without PROFILE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Aug 2021 00:27:05 +0000

--- Comment #12 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:


commit fe52b7f60ef46b65b24d7810a07be04483299d89
Author:     Ed Maste <emaste_at_FreeBSD.org>
AuthorDate: 2020-01-16 17:40:32 +0000
Commit:     Ed Maste <emaste_at_FreeBSD.org>
CommitDate: 2021-08-08 00:24:36 +0000

    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.

    [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

 share/mk/bsd.opts.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

You are receiving this mail because:
You are on the CC list for the bug.
Received on Sun Aug 08 2021 - 00:27:05 UTC

Original text of this message