public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/96267] New: gcov-tool merge more coverage data error.
@ 2020-07-21 13:07 dongjianqiang2 at huawei dot com
  2020-07-21 13:21 ` [Bug gcov-profile/96267] " dongjianqiang2 at huawei dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dongjianqiang2 at huawei dot com @ 2020-07-21 13:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96267
           Summary: gcov-tool merge more coverage data error.
           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 48907
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48907&action=edit
gcda files

Hi, I use a cross compiler using a cross compiler (--build=x86_64-suse-linux
--host=x86_64-suse-linux --target=aarch64_be-linux-gnu) gcov-tool to merge tree
profiles generated by big endian machine. 
gcov-tool merge dir1 dir2 -o dir12
gcov-tool merge dir3 dir12 -o dir123

I am confronted with "./main.gcda:incorrect gcov version xxxxxx vs yyyyyyy"
error.

known to fail on all active branches.

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

* [Bug gcov-profile/96267] gcov-tool merge more coverage data error.
  2020-07-21 13:07 [Bug gcov-profile/96267] New: gcov-tool merge more coverage data error dongjianqiang2 at huawei dot com
@ 2020-07-21 13:21 ` dongjianqiang2 at huawei dot com
  2020-07-23  9:11 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dongjianqiang2 at huawei dot com @ 2020-07-21 13:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from John Dong <dongjianqiang2 at huawei dot com> ---
Created attachment 48908
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48908&action=edit
add missing IN_GCOV_TOOL macro

hmmm refer to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95332
Fix missing IN_GCOV_TOOL macro. please review it.

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

* [Bug gcov-profile/96267] gcov-tool merge more coverage data error.
  2020-07-21 13:07 [Bug gcov-profile/96267] New: gcov-tool merge more coverage data error dongjianqiang2 at huawei dot com
  2020-07-21 13:21 ` [Bug gcov-profile/96267] " dongjianqiang2 at huawei dot com
@ 2020-07-23  9:11 ` marxin at gcc dot gnu.org
  2020-07-23 13:04 ` cvs-commit at gcc dot gnu.org
  2020-07-23 13:05 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-23  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-07-23
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org

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

* [Bug gcov-profile/96267] gcov-tool merge more coverage data error.
  2020-07-21 13:07 [Bug gcov-profile/96267] New: gcov-tool merge more coverage data error dongjianqiang2 at huawei dot com
  2020-07-21 13:21 ` [Bug gcov-profile/96267] " dongjianqiang2 at huawei dot com
  2020-07-23  9:11 ` marxin at gcc dot gnu.org
@ 2020-07-23 13:04 ` cvs-commit at gcc dot gnu.org
  2020-07-23 13:05 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-23 13:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:de8bfcc8e45d9c77c48c9f071836698aa6db5ff3

commit r11-2291-gde8bfcc8e45d9c77c48c9f071836698aa6db5ff3
Author: Dong JianQiang <dongjianqiang2@huawei.com>
Date:   Wed Jul 22 01:24:52 2020 +0800

    gcov-tool: Fix merging of different endian coverage data [PR96267]

    2020-07-21  Dong JianQiang  <dongjianqiang2@huawei.com>

    gcc/ChangeLog:

            PR gcov-profile/96267
            * gcov-io.c (gcov_open): enable if IN_GCOV_TOOL.

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

* [Bug gcov-profile/96267] gcov-tool merge more coverage data error.
  2020-07-21 13:07 [Bug gcov-profile/96267] New: gcov-tool merge more coverage data error dongjianqiang2 at huawei dot com
                   ` (2 preceding siblings ...)
  2020-07-23 13:04 ` cvs-commit at gcc dot gnu.org
@ 2020-07-23 13:05 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-23 13:05 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Thank you for the suggested patch, I've just installed it.

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

end of thread, other threads:[~2020-07-23 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 13:07 [Bug gcov-profile/96267] New: gcov-tool merge more coverage data error dongjianqiang2 at huawei dot com
2020-07-21 13:21 ` [Bug gcov-profile/96267] " dongjianqiang2 at huawei dot com
2020-07-23  9:11 ` marxin at gcc dot gnu.org
2020-07-23 13:04 ` cvs-commit at gcc dot gnu.org
2020-07-23 13:05 ` 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).