[Bug default/23696] New: abidiff --drop-private-types doesn't drop a few private things

bochecha at daitauha dot fr sourceware-bugzilla@sourceware.org
Mon Jan 1 00:00:00 GMT 2018


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

            Bug ID: 23696
           Summary: abidiff --drop-private-types doesn't drop a few
                    private things
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: bochecha at daitauha dot fr
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Over at Freedesktop SDK, we're currently building file from its release
tarball.

We wanted to move to building it from Git, which this merge request does (among
other things):
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/544

When we do that, the Autotools files get regenerated with newer versions of
autoconf/automake than what the upstream developer had used when they made
their tarball.

As a result, some symbols (functions and variables) get marked as hidden and
disappear from the ABI:
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/544#note_103183484
(see the rest of the discussion on that page for more details)

abidiff reports those removed functions and variables.

However, upon closer inspection, none of those are in public, installed
headers.

file only installs one header: magic.h

Shouldn't abidiff have ignored those removals, since we use
--drop-private-types?

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


More information about the Libabigail mailing list