http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
Andrew Pinski changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
, May 02, 2013 9:35 AM
To: MUNIRAJU Netravathi - Contractor
Subject: [Bug gcov-profile/57121] undefined reference to gcov_merge_init and
gcov_merge_add
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #5 from Andrew Pinski 2013-05-02
01:35:16 UTC --- Simple work around is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #9 from Netra
2013-05-03 00:58:00 UTC ---
(In reply to comment #5)
> Simple work around is to use -fprofile-generate instead of -lgcov and GCC
> knows
> what it should be linking against then.
Andrew ,
It would be great
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #8 from Netra
2013-05-02 02:20:37 UTC ---
I have a question,
are both the flags -fprofile-arcs -ftest-coverage required for the code
coverage?
or is this -ftest-coverage flag enough for code coverage?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #7 from Netra
2013-05-02 01:54:04 UTC ---
Created attachment 29992
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29992
Makefile
Andrew,
I am still getting those errors after modifying the makefile. Please find the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #6 from Netra
2013-05-02 01:40:13 UTC ---
If I understand ur previous comments, instead of -lgcov i need to use
-fprofile-generate in the following lines :
LDFLAGS = $(DEBUGOPT) $(GCOV_CFLAGS) -fprofile-generate -fPIC -m32 -
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #5 from Andrew Pinski 2013-05-02
01:35:16 UTC ---
Simple work around is to use -fprofile-generate instead of -lgcov and GCC knows
what it should be linking against then.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #4 from Andrew Pinski 2013-05-02
01:33:50 UTC ---
(In reply to comment #3)
> Created attachment 29991 [details]
This tells me nothing about the link command.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #3 from Netra
2013-05-02 01:31:56 UTC ---
Created attachment 29991
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29991
Makefile
Andew,
Please find the makefile atttached.
Thanks.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
--- Comment #1 from Netra
2013-04-30 08:35:07 UTC ---
adding on to my previous comment,
running on RHEL 5.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57121
Netra changed:
What|Removed |Added
Keywords||link-failure
Severity|normal
12 matches
Mail list logo