When trying to specify a directory that contains a "." for gcov to look in for output files, gcov does not act as expected.
Example: /home/test$ gcc-4.3 main.c -fprofile-arcs -ftest-coverage /home/test$ ./a.out /home/test$ gcov-4.3 -o/home/test/ main <expected output> /home/test$ mkdir 1.1; cp main.c 1.1; cd 1.1 /home/test/1.1$ gcc-4.3 main.c -fprofile-arcs -ftest-coverage /home/test/1.1$ ./a.out /home/test/1.1$ gcov-4.3 -o/home/test/1.1/ main /home/test/1.gcno:cannot open graph file I'm guessing that gcov is mistaking the DIR argument for the FILE argument to the -o flag. gcov-4.3 --help -o, --object-directory DIR|FILE Search for object files in DIR or called FILE -- Summary: gcov chokes when "." is present in DIR argument to -o flag Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ajshower at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44728