[Bug 254001] 13.0-BETA llvm fails to link with -fprofile-instr-generate -fcoverage-mapping

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Dec 2021 11:58:45 UTC

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:


commit f00ca4a1c59d6d969d1aeb0e22b5576f8cebf24e
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-03-05 20:06:05 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-25 11:50:58 +0000

    Add a few missed files to libclang_rt.profile-<arch>.a

    Otherwise, programs compiled with -fprofile-instr-generate will
    encounter undefined symbol errors during linking, for example
    __llvm_profile_counter_bias, lprofSetRuntimeCounterRelocation and a few
    others were missing from the profile library.

    Reported by:    ota@j.email.ne.jp
    PR:             254001
    MFC after:      3 days

    (cherry picked from commit 772c631af81abdb6d498d972bab79d04d3db16d0)

 lib/libclang_rt/profile/Makefile | 2 ++
 1 file changed, 2 insertions(+)

You are receiving this mail because:
You are on the CC list for the bug.