Date: Thu, 04 Mar 2021 03:43:27 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254001] llvm fails to link with -fprofile-instr-generate -fcoverage-mapping Message-ID: <bug-254001-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: ota@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254001-227>
