public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gejoed at rediffmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/114735] New: Gcov not working with gcc version 11.4.0
Date: Tue, 16 Apr 2024 06:36:59 +0000	[thread overview]
Message-ID: <bug-114735-4@http.gcc.gnu.org/bugzilla/> (raw)

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.

             reply	other threads:[~2024-04-16  6:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16  6:36 gejoed at rediffmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-114735-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).