[Bug 254001] llvm fails to link with -fprofile-instr-generate -fcoverage-mapping
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 4 03:43:27 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254001
Bug ID: 254001
Summary: llvm fails to link with -fprofile-instr-generate
-fcoverage-mapping
Product: Base System
Version: 13.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: ota at j.email.ne.jp
Created attachment 222959
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222959&action=edit
source code and its error output
LLVM on 13-BETA fails to link with -fprofile-instr-generate -fcoverage-mapping
option:
% cc -fprofile-instr-generate -fcoverage-mapping coverage.c
ld: error: undefined hidden symbol: __llvm_profile_counter_bias
>>> referenced by InstrProfilingFile.c:966 (/usr/src/contrib/llvm-project/compil
er-rt/lib/profile/InstrProfilingFile.c:966)
>>> InstrProfilingFile.o:(__llvm_profile_initialize_file) in archi
ve /usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-i386.a
>>> referenced by InstrProfilingFile.c:966 (/usr/src/contrib/llvm-project/compil
er-rt/lib/profile/InstrProfilingFile.c:966)
These options had been sufficient on 12.x-RELEASES.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list