This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/30258] [4.1.0] undefined reference to `__gcov_one_value_profiler'
- From: "marion dot deveaud at siemens dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2007 10:38:17 -0000
- Subject: [Bug gcov-profile/30258] [4.1.0] undefined reference to `__gcov_one_value_profiler'
- References: <bug-30258-13778@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from marion dot deveaud at siemens dot com 2007-01-19 10:38 -------
I finally found out that the "inhibit_libc" flag was set during the gcc
compilation because I'm building a cross-compiler without sysroot and headers.
As a consequence _gcov_* functions aren't defined in libgcov.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30258