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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"