public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* [Regarding  GCOV].gcda:stamp mismatch with notes file
@ 2024-04-25  6:45 Gejoe Daniel
  2024-04-25  8:54 ` Jonathan Wakely
  2024-04-29 11:46 ` Gejoe Daniel
  0 siblings, 2 replies; 6+ messages in thread
From: Gejoe Daniel @ 2024-04-25  6:45 UTC (permalink / raw)
  To: gcc, gcc-help

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

Hi team,
The following is my query posted but would need more inputs :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751

The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as possible.

Awaiting prompt reply.

Thanks to the GCC team for all the help !

Regards,
Gejoe

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

* Re: [Regarding GCOV].gcda:stamp mismatch with notes file
  2024-04-25  6:45 [Regarding GCOV].gcda:stamp mismatch with notes file Gejoe Daniel
@ 2024-04-25  8:54 ` Jonathan Wakely
  2024-04-25  8:57   ` Jonathan Wakely
  2024-04-29 11:46 ` Gejoe Daniel
  1 sibling, 1 reply; 6+ messages in thread
From: Jonathan Wakely @ 2024-04-25  8:54 UTC (permalink / raw)
  To: Gejoe Daniel; +Cc: gcc, gcc-help

On Thu, 25 Apr 2024 at 07:47, Gejoe Daniel via Gcc <gcc@gcc.gnu.org> wrote:
>
> Hi team,
> The following is my query posted but would need more inputs :
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
>
> The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as possible.
>
> Awaiting prompt reply.
>
> Thanks to the GCC team for all the help !

Please don't cross-post to both gcc and gcc-help lists. You've already
reported it to bugzilla, spamming multiple lists isn't needed.

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

* Re: [Regarding GCOV].gcda:stamp mismatch with notes file
  2024-04-25  8:54 ` Jonathan Wakely
@ 2024-04-25  8:57   ` Jonathan Wakely
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Wakely @ 2024-04-25  8:57 UTC (permalink / raw)
  To: Gejoe Daniel; +Cc: gcc, gcc-help

On Thu, 25 Apr 2024 at 09:54, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>
> On Thu, 25 Apr 2024 at 07:47, Gejoe Daniel via Gcc <gcc@gcc.gnu.org> wrote:
> >
> > Hi team,
> > The following is my query posted but would need more inputs :
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
> >
> > The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as possible.
> >
> > Awaiting prompt reply.
> >
> > Thanks to the GCC team for all the help !
>
> Please don't cross-post to both gcc and gcc-help lists. You've already
> reported it to bugzilla, spamming multiple lists isn't needed.

Just to expand on this, either you're discussing development of GCC,
or asking for help using it, but not both. So posting to both lists
isn't usually appropriate.

If it's a "meta topic" like an announcement to all users of GCC
mailing lists then of course sending to multiple lists makes sense.

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

* Re: [Regarding  GCOV].gcda:stamp mismatch with notes file
  2024-04-25  6:45 [Regarding GCOV].gcda:stamp mismatch with notes file Gejoe Daniel
  2024-04-25  8:54 ` Jonathan Wakely
@ 2024-04-29 11:46 ` Gejoe Daniel
  2024-05-22  5:07   ` Gejoe Daniel
  1 sibling, 1 reply; 6+ messages in thread
From: Gejoe Daniel @ 2024-04-29 11:46 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

Hi all,

Reaching out to the helpers list to know if someone can give any inputs.

Thanks,
Gejoe

From: &quot;Gejoe Daniel&quot;&lt;gejoed@rediffmail.com&gt;
Sent: Thu, 25 Apr 2024 12:15:58
To: &lt;gcc@gcc.gnu.org&gt;,&lt;gcc-help@gcc.gnu.org&gt;
Subject: [Regarding GCOV].gcda:stamp mismatch with notes file

Hi team,
The following is my query posted but would need more inputs :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751

The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as possible.

Awaiting prompt reply.

Thanks to the GCC team for all the help !

Regards,
Gejoe

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

* [Regarding  GCOV].gcda:stamp mismatch with notes file
  2024-04-29 11:46 ` Gejoe Daniel
@ 2024-05-22  5:07   ` Gejoe Daniel
  2024-06-03 13:00     ` Gejoe Daniel
  0 siblings, 1 reply; 6+ messages in thread
From: Gejoe Daniel @ 2024-05-22  5:07 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2253 bytes --]

Hi GCC Gcov experts,

I would like to know if the stamp value (present in gcno files) generated during build can get modified during a compilation /recompilation (when multiple components are involved through Makefiles) or
can the gcda stamp value get modified during the gcda collection ( __gcov_dump() API invocation ) ?
Since with gcc 11.4.0 we see gcda stamps mismatch with gcno stamps , I&#39;m trying to figure out when any of these values can get modified (considering a gcov enabled build and then the testing of the image built). In my project case, not all gcda stamps mismatch with respective gcno stamps. Some of them show coverage % without any stamp mismatch issue.

For eg, for a problematic stamp case (quoting the stamp value from the output of gcov_dump tool for the respective source file.gcda and gcno files):
C-src-filename.gcda:stamp 2912455990&nbsp;

C-src-filename.gcno:stamp 2912494680&nbsp; &nbsp;&nbsp;

If we see here, the gcno stamp value seems higher and how do we try to debug the case here ?
Is gcno stamp getting modified during the build or is gcda stamp getting modified (after testing and during collection of gcda files from device) ?&nbsp;

The context of this query can be understood from email below and a previous bugzilla link.

Awaiting some inputs from gcov experts.

Thanks,
Gejoe&nbsp;
From: &quot;Gejoe Daniel&quot;&lt;gejoed@rediffmail.com&gt;
Sent: Mon, 29 Apr 2024 17:16:23
To: &quot;gcc-help@gcc.gnu.org&quot;&lt;gcc-help@gcc.gnu.org&gt;
Subject: Re: [Regarding GCOV].gcda:stamp mismatch with notes file

Hi all,

Reaching out to the helpers list to know if someone can give any inputs.

Thanks,
Gejoe

From: &quot;Gejoe Daniel&quot;&lt;gejoed@rediffmail.com&gt;
Sent: Thu, 25 Apr 2024 12:15:58
To: &lt;gcc@gcc.gnu.org&gt;,&lt;gcc-help@gcc.gnu.org&gt;
Subject: [Regarding GCOV].gcda:stamp mismatch with notes file

Hi team,
The following is my query posted but would need more inputs :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751

The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as possible.

Awaiting prompt reply.

Thanks to the GCC team for all the help !

Regards,
Gejoe

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

* Re: [Regarding  GCOV].gcda:stamp mismatch with notes file
  2024-05-22  5:07   ` Gejoe Daniel
@ 2024-06-03 13:00     ` Gejoe Daniel
  0 siblings, 0 replies; 6+ messages in thread
From: Gejoe Daniel @ 2024-06-03 13:00 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2597 bytes --]

Ignore this email as I have posted the message in bugzilla page.

Sorry for this email to your inbox.

Thanks,
Gejoe&nbsp;

From: &quot;Gejoe Daniel&quot;&lt;gejoed@rediffmail.com&gt;
Sent: Wed, 22 May 2024 10:37:05
To: &quot;gcc-help@gcc.gnu.org&quot;&lt;gcc-help@gcc.gnu.org&gt;
Subject: [Regarding GCOV].gcda:stamp mismatch with notes file

Hi GCC Gcov experts,

I would like to know if the stamp value (present in gcno files) generated during build can get modified during a compilation /recompilation (when multiple components are involved through Makefiles) or
can the gcda stamp value get modified during the gcda collection ( __gcov_dump() API invocation ) ?
Since with gcc 11.4.0 we see gcda stamps mismatch with gcno stamps , I&#39;m trying to figure out when any of these values can get modified (considering a gcov enabled build and then the testing of the image built). In my project case, not all gcda stamps mismatch with respective gcno stamps. Some of them show coverage % without any stamp mismatch issue.

For eg, for a problematic stamp case (quoting the stamp value from the output of gcov_dump tool for the respective source file.gcda and gcno files):
C-src-filename.gcda:stamp 2912455990&nbsp;

C-src-filename.gcno:stamp 2912494680&nbsp; &nbsp;&nbsp;

If we see here, the gcno stamp value seems higher and how do we try to debug the case here ?
Is gcno stamp getting modified during the build or is gcda stamp getting modified (after testing and during collection of gcda files from device) ?&nbsp;

The context of this query can be understood from email below and a previous bugzilla link.

Awaiting some inputs from gcov experts.

Thanks,
Gejoe&nbsp;
From: &quot;Gejoe Daniel&quot;&lt;gejoed@rediffmail.com&gt;
Sent: Mon, 29 Apr 2024 17:16:23
To: &quot;gcc-help@gcc.gnu.org&quot;&lt;gcc-help@gcc.gnu.org&gt;
Subject: Re: [Regarding GCOV].gcda:stamp mismatch with notes file

Hi all,

Reaching out to the helpers list to know if someone can give any inputs.

Thanks,
Gejoe

From: &quot;Gejoe Daniel&quot;&lt;gejoed@rediffmail.com&gt;
Sent: Thu, 25 Apr 2024 12:15:58
To: &lt;gcc@gcc.gnu.org&gt;,&lt;gcc-help@gcc.gnu.org&gt;
Subject: [Regarding GCOV].gcda:stamp mismatch with notes file

Hi team,
The following is my query posted but would need more inputs :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751

The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as possible.

Awaiting prompt reply.

Thanks to the GCC team for all the help !

Regards,
Gejoe

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

end of thread, other threads:[~2024-06-03 13:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25  6:45 [Regarding GCOV].gcda:stamp mismatch with notes file Gejoe Daniel
2024-04-25  8:54 ` Jonathan Wakely
2024-04-25  8:57   ` Jonathan Wakely
2024-04-29 11:46 ` Gejoe Daniel
2024-05-22  5:07   ` Gejoe Daniel
2024-06-03 13:00     ` Gejoe Daniel

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).