https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97722

            Bug ID: 97722
           Summary: undefined symbol: __gcov_indirect_call_callee
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jongsung.kim at gmail dot com
  Target Milestone: ---

ARM-crosscompiled a C++ project using g++ with -fprofile-generate option.
Compiled okay, but got an error when I executed the binary:

symbol lookup error: ...: undefinded symbol: __gcov_indirect_call_callee

There are undefined symbol table entries for __gcov_indirect_call_callee in
both symbol tables:

.dynsym
     4: 00000000     0 TLS     GLOBAL DEFAULT  UND __gcov_indirect_call_call
.symtab
 18165: 00000000     0 TLS     GLOBAL DEFAULT  UND __gcov_indirect_call_call

but I can't find any instruction referencing this symbol.

Reply via email to