[Bug default/26646] New: unexpectedly declaration-only types

gprocida+abigail at google dot com sourceware-bugzilla@sourceware.org
Tue Sep 22 11:35:01 GMT 2020


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

            Bug ID: 26646
           Summary: unexpectedly declaration-only types
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: gprocida+abigail at google dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

We've noticed for some time that we get a mix of declarations and definitions
appearing in kernel ABI XML for the same types.

In some cases, only a declaration appears despite there being a full definition
in the DWARF. Often, this declaration has a "size" despite the size information
being associated with the full DWARF definition, not the declaration.

I've sent in a patch which illustrates this bug (by changing the order in which
definitions and declarations are canonicalised). If need be, I can send over a
vmlinux.

Patch: https://sourceware.org/pipermail/libabigail/2020q3/002679.html

The patch serves as workaround for around 160 kernel types which appear
incomplete in the ABI.

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


More information about the Libabigail mailing list