Canham, Timothy K (316C) wrote:
I get the following message when running gcov 4.3:
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/bcmgr/test/ut/linux-linux-x86-debug-gnu-4.3.2-ut/bcmgr_ut_stubs.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/uth/stubs/linux-linux-x86-debug-gnu-4.3.2-ut/uth_aut.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/uth/stubs/linux-linux-x86-debug-gnu-4.3.2-ut/uth_gbl.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/uth/stubs/linux-linux-x86-debug-gnu-4.3.2-ut/uth_cmd.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/uth/stubs/linux-linux-x86-debug-gnu-4.3.2-ut/uth_health.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/uth/stubs/linux-linux-x86-debug-gnu-4.3.2-ut/uth_osal.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/bcmgr/linux-linux-x86-debug-gnu-4.3.2-ut/bcmgr_ac_ipc_init.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/bcmgr/linux-linux-x86-debug-gnu-4.3.2-ut/bcmgr_ac_dp.gcda:Merge mismatch for summaries
profiling:/proj/msl/fsw/dev/tcanham/mslfsw-pkg-r8-yint-08-01/src/bcmgr/linux-linux-x86-debug-gnu-4.3.2-ut/bcmgr_reu_caller.gcda:Merge mismatch for summaries
I'm not sure how to fix it.
Timothy K. Canham
Jet Propulsion Laboratory
Pasadena, CA
Timothy.Canham@xxxxxxxxxxxx
Het Timothy,
unfortunately I don't know the very details of libgcov to say WHY this
problem occurs, but I found a link in the internet which at least
explains how to get rid of these error message:
http://stackoverflow.com/questions/2590794/gcov-warning-merge-mismatch-for-summaries
This solution should at least solve your problem short-term, but maybe
there's even a much better solution for this problem. But to me it
sounds plausible delete all the *.gcda files if a new executable is
created. :-)
Best regards,
Andi