[Bug gcov/profile/27738] New: error: coverage mismatch
mathieu dot lacage at sophia dot inria dot fr
gcc-bugzilla@gcc.gnu.org
Tue May 23 08:42:00 GMT 2006
I work on a small c++ project named yans (http://yans.inria.fr). Whenever I try
to perform a profile-directed optimized build, I get the following errors with
the FC5-provided compiler:
src/ipv4/ipv4-end-point.cc: In function
Âvoid<unnamed>::invoke_now(yans::Callback<void, yans::Ipv4EndPoint*,
yans::empty, yans::empty, yans::empty>, yans::Ipv4EndPoint*)Â:
src/ipv4/ipv4-end-point.cc:92: error: coverage mismatch for function
Â_ZN55_GLOBAL__N_src_ipv4_ipv4_end_point.cc_00000000_D34075F610invoke_nowEN4yans8CallbackIvPNS0_12Ipv4EndPointENS0_5emptyES4_S4_EES3_Â
while reading counter ÂarcsÂ
src/ipv4/ipv4-end-point.cc:92: error: checksum is 1b860dda instead of 69a79691
This obviously happens during the profile-directed optimized rebuild following
a single run of my benchmarking application.
To reproduce:
1) download the code
hg clone http://yans.inria.fr/code/yans yans-buggy
cd yans-buggy
hg revert -r a0534ece96ea
2) build the code
make opti-arc
This code relies on gnu make 0.80 at least and mercurial (to download the right
version of the code) 0.8.x.
I have no idea on how I could reduce this test case.
--
Summary: error: coverage mismatch
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov/profile
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mathieu dot lacage at sophia dot inria dot fr
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27738
More information about the Gcc-bugs
mailing list