public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29300] New: btrfs-progs fails self-compare only on ppc64le
@ 2022-06-29 19:22 woodard at redhat dot com
  2022-06-29 19:23 ` [Bug default/29300] " woodard at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2022-06-29 19:22 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=29300

            Bug ID: 29300
           Summary: btrfs-progs fails self-compare only on ppc64le
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

This only happens on ppc64le, the check passes on x86_64.

Comparing the ABI of binaries between btrfs-progs-5.18-1.fc36.ppc64le.rpm and
btrfs-progs-5.18-1.fc36.ppc64le.rpm:

======== comparing'btrfs' to itself wrongly yielded result: ===========
  Functions changes summary: 0 Removed, 0 Changed (53 filtered out), 0 Added
functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

===SELF CHECK FAILED for 'btrfs'
==== SELF CHECK SUCCEEDED for 'btrfs-convert' ====
==== SELF CHECK SUCCEEDED for 'mkfs.btrfs' ====
======== comparing'btrfs-image' to itself wrongly yielded result: ===========
  Functions changes summary: 0 Removed, 0 Changed (53 filtered out), 0 Added
functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

===SELF CHECK FAILED for 'btrfs-image'
==== SELF CHECK SUCCEEDED for 'btrfs-find-root' ====
======== comparing'btrfstune' to itself wrongly yielded result: ===========
  Functions changes summary: 0 Removed, 0 Changed (53 filtered out), 0 Added
functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

===SELF CHECK FAILED for 'btrfstune'
======== comparing'btrfs-map-logical' to itself wrongly yielded result:
===========
  Functions changes summary: 0 Removed, 0 Changed (53 filtered out), 0 Added
functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

===SELF CHECK FAILED for 'btrfs-map-logical'
======== comparing'btrfs-select-super' to itself wrongly yielded result:
===========
  Functions changes summary: 0 Removed, 0 Changed (53 filtered out), 0 Added
functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

This is what I did to reproduce it:
$ wget
https://kojipkgs.fedoraproject.org//packages/btrfs-progs/5.18/1.fc36/ppc64le/btrfs-progs-5.18-1.fc36.ppc64le.rpm
$ rpm2cpio btrfs-progs-5.18-1.fc36.ppc64le.rpm | cpio -icumdv
$ abidw --abidiff usr/sbin/btrfs

The crux of the issue is, everything else is a duplicate of this change:

Functions changes summary: 0 Removed, 53 Changed, 0 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

53 functions with some indirect sub-type change:

  [C] 'function int __btrfs_map_block(btrfs_fs_info*, int, u64, u64*, u64*,
btrfs_multi_bio**, int, u64**)' at volumes.c:1798:1 has some indirect sub-type
changes:
    parameter 1 of type 'btrfs_fs_info*' has sub-type changes:
      in pointed to type 'struct btrfs_fs_info' at ctree.h:1199:1:
        type size hasn't changed
        1 data member change:
          type of 'btrfs_trans_handle* running_transaction' changed:
            in pointed to type 'struct btrfs_trans_handle' at
transaction.h:27:1:
              type size hasn't changed
              1 data member change:
                type of 'btrfs_fs_info* fs_info' changed:
                  pointed to type 'struct btrfs_fs_info' changed, as being
reported
    parameter 6 of type 'btrfs_multi_bio**' has sub-type changes:
      in pointed to type 'btrfs_multi_bio*':
        in pointed to type 'struct btrfs_multi_bio' at volumes.h:107:1:
          type size hasn't changed
          1 data member change:
            type of 'btrfs_bio_stripe stripes[]' changed:
              array element type 'struct btrfs_bio_stripe' changed:
                type size hasn't changed
                1 data member change:
                  type of 'btrfs_device* dev' changed:
                    in pointed to type 'struct btrfs_device' at volumes.h:28:1:
                      type size hasn't changed
                      1 data member change:
                        type of 'btrfs_fs_info* fs_info' changed:
                          pointed to type 'struct btrfs_fs_info' changed at
ctree.h:1199:1, as reported earlier
              type size hasn't changed

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2022-07-26 19:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 19:22 [Bug default/29300] New: btrfs-progs fails self-compare only on ppc64le woodard at redhat dot com
2022-06-29 19:23 ` [Bug default/29300] " woodard at redhat dot com
2022-06-29 21:05 ` woodard at redhat dot com
2022-06-29 21:12 ` woodard at redhat dot com
2022-07-04 12:55 ` dodji at redhat dot com
2022-07-26 19:47 ` woodard at redhat dot com

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