public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/114735] New: Gcov not working with gcc version 11.4.0
@ 2024-04-16  6:36 gejoed at rediffmail dot com
  2024-04-16  6:41 ` [Bug gcov-profile/114735] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gejoed at rediffmail dot com @ 2024-04-16  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114735
           Summary: Gcov not working with gcc version 11.4.0
           Product: gcc
           Version: 11.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gejoed at rediffmail dot com
  Target Milestone: ---

Created attachment 57955
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57955&action=edit
Gcov runs on a sample program

When I try to run a sample program with gcov of version 11.4.0 it fails as
shown in the attached file. The same program runs fine with the default gcc
version of 8.5. I download and installed gcc version 11.4.0 yesterday locally
in my system.

Snippet from the attached file:
$ls
a.out  a-sample-prog.gcda  a-sample-prog.gcno  sample-prog.c
$
$
$/workspace/tools/GCC/gcc-11.4.0-bld/bin/gcov sample-prog.c 
sample-prog.gcno:cannot open notes file
sample-prog.gcda:cannot open data file, assuming not executed
No executable lines

---------------------------------------------------------

I could see the gcno and gcda files having prefix of 'a-' and probably the
reason of the gcov failure(?). However this was not seen with version 8.5 of
gcc.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-19  5:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16  6:36 [Bug gcov-profile/114735] New: Gcov not working with gcc version 11.4.0 gejoed at rediffmail dot com
2024-04-16  6:41 ` [Bug gcov-profile/114735] " pinskia at gcc dot gnu.org
2024-04-16 11:49 ` gejoed at rediffmail dot com
2024-04-16 12:36 ` pinskia at gcc dot gnu.org
2024-04-17  5:04 ` gejoed at rediffmail dot com
2024-04-17  5:06 ` gejoed at rediffmail dot com
2024-04-17  5:06 ` pinskia at gcc dot gnu.org
2024-04-19  4:21 ` gejoed at rediffmail dot com
2024-04-19  4:25 ` pinskia at gcc dot gnu.org
2024-04-19  5:17 ` gejoed at rediffmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).