https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
--- Comment #9 from Gejoe ---
Hi team,
I'm here to say that the issue is sorted out now for me.
The gcda stamp mismatch would be seen when there is a recompilation of the
source file for any reason. In my project, there was a particular compil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
--- Comment #7 from Gejoe ---
(In reply to Richard Biener from comment #6)
> I have no idea why the values differ but I suspect the copying since we seem
> to use the file modification time at some point. As a workaround I would
> suggest
> to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114820
--- Comment #2 from Gejoe ---
(In reply to Andrew Pinski from comment #1)
> .
>
> *** This bug has been marked as a duplicate of bug 114751 ***
OK, looks like that bug is not being looked at for further replies. Let me know
if any info is soug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
--- Comment #5 from Gejoe ---
(In reply to Gejoe from comment #2)
> For me, it is like this (just keeping the sample filenames as such but the
> values are real ones shown while checking with gcov-dump) :
>
> $gcov-dump ./obj-dir-path/src-file.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114820
Bug ID: 114820
Summary: Gcov 11.4.0 .gcda:stamp mismatch with notes file
Product: gcc
Version: 11.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compone
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735
--- Comment #9 from Gejoe ---
Thank you Andrew.
Meanwhile any idea if the support person is on leave for this query :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 ;
Thanks again.
-Gejoe
From: "pinskia at gcc dot gnu.org"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735
--- Comment #7 from Gejoe ---
Thanks Andrew.
It would be better to document this change post gcc11 apart from a sample
example as generally it is understood that --coverage flag is enough for gcc to
get coverage enabled build done and then gco
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
--- Comment #3 from Gejoe ---
Can I get a reply on what needs to be checked next ?
Thank you for the support team !
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
--- Comment #2 from Gejoe ---
For me, it is like this (just keeping the sample filenames as such but the
values are real ones shown while checking with gcov-dump) :
$gcov-dump ./obj-dir-path/src-file.gcda
./obj-dir-path/src-file.gcda:data:magi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751
Bug ID: 114751
Summary: .gcda:stamp mismatch with notes file
Product: gcc
Version: 11.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-prof
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735
--- Comment #5 from Gejoe ---
my previous message is after seeing this change :
https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=gcc/doc/gcov.texi;h=22e42da2ea66db568e6c563c4f2e619fe2c9ae92;hp=61250c9407e1d0e49a693d0fcc4e4c38d0e6afff;hb=452283bd0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735
--- Comment #4 from Gejoe ---
Thanks Andrew for the info.
So, does this mean that every program which was compiled earlier with one step
(ie. gcc --coverage srcfile.c) of gcc/g++ will have to be split to 2 steps
using -c option first and then
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735
--- Comment #2 from Gejoe ---
May I know where the fix has gone to , meaning the gcc version which will not
have this issue of gcov failure ?
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-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038
--- Comment #3 from Gejoe ---
Not sure of that..Will have to check.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038
--- Comment #1 from Gejoe ---
The document referred was this:
https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html
Kindly respond to my query.
Eagerly awaited. :)
Thank you very much team for the support !
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038
Bug ID: 111038
Summary: The function summary in gcov
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545
--- Comment #3 from Gejoe ---
Any other comment or suggestion here for this case ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545
--- Comment #2 from Gejoe ---
No, they are not using dlopen.
The shared libraries are built and loaded during the program (image) loading.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545
Bug ID: 110545
Summary: gcda files not generated for some shared libs
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685
--- Comment #3 from Gejoe ---
Thank you Richard for your valuable inputs.
That helps !!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685
Bug ID: 104685
Summary: multiple common of `__gcov_var'
Product: gcc
Version: 8.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #24 from Gejoe ---
Thank you Martin for all the info. Kindly bear with me for the delayed
acknowledgement.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #21 from Gejoe ---
(In reply to Martin Liška from comment #20)
> > I'm trying to understand line #22 to #26 specifically of .c.gcov file(as
> > shown in commment #16. Let me know if the steps followed in compilation or
> > execution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #19 from Gejoe ---
Just to add on :
The a.out was run twice and hence the value of 20 against line # 19, 29 of
.c.gcov file(as shown in commment #16). Let me know if anything is not clear.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #18 from Gejoe ---
(In reply to Martin Liška from comment #14)
> (In reply to Gejoe from comment #13)
> > I modified my sample-prog.c file just by adding a line of __gcov_reset
> > before the while loop.
> >
>
> Can you please cr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #17 from Gejoe ---
Created attachment 50882
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50882&action=edit
sample-prog.i file
Preprocessed file contents.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #16 from Gejoe ---
Created attachment 50881
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50881&action=edit
sample-prog.c edited to show __gcov_reset call.
The steps used for compiling and running the attached .c file are as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #13 from Gejoe ---
I modified my sample-prog.c file just by adding a line of __gcov_reset before
the while loop.
However after a.out run , the sample-prog.c.gcov file was still showing the
counters though I didn't give 'g' for __g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #12 from Gejoe ---
Thanks for all the info.
> Btw. why do you need calling __gcov_dump and __gcov_reset manually? How is
> your training run special?
Actually I work for a firm where the program runs on a device continually and
we
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #8 from Gejoe ---
(In reply to Martin Liška from comment #6)
> Yes, __gcov_reset is supposed to be called at the beginning when an
> application wants to start
> profiling. Again, you don't need to call it manually.
But reset comes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #5 from Gejoe ---
Running the program:
./a.out
g
When g is passed, return value is 8
When
is passed, return value is 0
r
When r is passed, return value is 8
When
is passed, return value is 0
<< the program is still running, wait
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #4 from Gejoe ---
(In reply to Martin Liška from comment #3)
> > For the second time and then onwards, __gcov_dump() invocation (by giving
> > 'g' character during the a.out run) doesn't happen.
>
> Yes, one can call __gcov_dump onl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #2 from Gejoe ---
Created attachment 50866
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50866&action=edit
sample-prog.c file that may be useful for gcov usage test
The original sample source file.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
Gejoe changed:
What|Removed |Added
CC||gejoed at rediffmail dot com
--- Comment #1 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
Bug ID: 100751
Summary: __gcov_dump and __gcov_reset usage
Product: gcc
Version: 8.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
36 matches
Mail list logo