public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/95332] New: gcov-tool merge:"not a gcov data file"
@ 2020-05-26 12:27 dongjianqiang2 at huawei dot com
  2020-05-26 13:23 ` [Bug gcov-profile/95332] " marxin at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dongjianqiang2 at huawei dot com @ 2020-05-26 12:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95332
           Summary: gcov-tool merge:"not a gcov data file"
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dongjianqiang2 at huawei dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 48605
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48605&action=edit
a patch for gcov-tool.

when I invoke gcov-tool merge dir1 dir2 where dir1 and dir2 are the directories
containing the .gcda files which I intend to combine, I am confronted with
"./test.gcda:not a gcov data file" errors for each file in dir1. After studying
the libgcov code, I have figured out it's an endianness issue. I'm using a
cross compiler --build=x86_64-suse-linux --host=x86_64-suse-linux
--target=aarch64_be-linux-gnu, gcov-tool cannot merge the coverage data
generated by big endian machine. here is patch to fix it. pls review.

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

end of thread, other threads:[~2020-05-29  9:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 12:27 [Bug gcov-profile/95332] New: gcov-tool merge:"not a gcov data file" dongjianqiang2 at huawei dot com
2020-05-26 13:23 ` [Bug gcov-profile/95332] " marxin at gcc dot gnu.org
2020-05-27  1:47 ` dongjianqiang2 at huawei dot com
2020-05-27  3:24 ` dongjianqiang2 at huawei dot com
2020-05-28  2:11 ` dongjianqiang2 at huawei dot com
2020-05-28  6:18 ` cvs-commit at gcc dot gnu.org
2020-05-28  6:19 ` marxin at gcc dot gnu.org
2020-05-28  6:26 ` dongjianqiang2 at huawei dot com
2020-05-29  9:38 ` cvs-commit at gcc dot gnu.org
2020-05-29  9:39 ` cvs-commit at gcc dot gnu.org
2020-05-29  9:40 ` cvs-commit at gcc dot gnu.org
2020-05-29  9:40 ` marxin at gcc dot gnu.org

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