public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27635] New: abicompat doesn't handle abixml
@ 2021-03-23 12:24 woodard at redhat dot com
  2021-03-23 13:26 ` [Bug default/27635] " woodard at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-03-23 12:24 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 27635
           Summary: abicompat doesn't handle abixml
           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: ---

abicompat doesn't handle abixml files

So for example say you want to save abixml files of some for some out of distro
proprietary application or an out of tree kernel module and make sure that the
abicompat can verify that a change to a library doesn't impact it. You may want
to do something like:

abidw foo.app > foo.abixml

Then at some later time you take this foo.abixml

abicompat foo.abixlm oldlib.elf newlib.elf

Unfortunately right now because the undefined symbols are not stored in abixml
files produced by abidw this can not be done directly. 

You have to separately extract the undefined symbols and then reassociate them
with the symbols that are are in the abixml to be able to perform the abicompat
test. 

While abicompat has a way to produce the undefined symbols list by using the
abicompat -u option it does not provide a way to reconsume that list and
reassociate the symbols with the app to make reconstitute the interfaces
between the libraries.

In other words you can't do:
abidw foo.app > foo.abixml
abicompat -u foo.app > foo.undefsyms

then at some later point:
abicompat foo.abixml:foo.undefsyms oldlib.elf newlib.elf

This would allow the QA department of a distro company to maintain the abixml
of proprietary apps known to be used by customers and and then verify that
changes to a library will not in fact create a problem for customers using
those libraries without having to keep copies of the application and know how
to run them.

This presents a different way of thinking about the abixml file. Previously the
abixml file was thought of as the exported decls and types which is the top
surface of the ABI presented by the ELF file. This is useful for library files
but it is not sufficient for applications which don't necessarily export that
much but consume quite a lot.

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

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

* [Bug default/27635] abicompat doesn't handle abixml
  2021-03-23 12:24 [Bug default/27635] New: abicompat doesn't handle abixml woodard at redhat dot com
@ 2021-03-23 13:26 ` woodard at redhat dot com
  2021-03-23 13:34 ` woodard at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-03-23 13:26 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |27019


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27019
[Bug 27019] BUILD metabug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/27635] abicompat doesn't handle abixml
  2021-03-23 12:24 [Bug default/27635] New: abicompat doesn't handle abixml woodard at redhat dot com
  2021-03-23 13:26 ` [Bug default/27635] " woodard at redhat dot com
@ 2021-03-23 13:34 ` woodard at redhat dot com
  2021-04-13 20:02 ` woodard at redhat dot com
  2022-06-08 15:45 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-03-23 13:34 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |27514


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27514
[Bug 27514] recursively compare libraries in abicompat
-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/27635] abicompat doesn't handle abixml
  2021-03-23 12:24 [Bug default/27635] New: abicompat doesn't handle abixml woodard at redhat dot com
  2021-03-23 13:26 ` [Bug default/27635] " woodard at redhat dot com
  2021-03-23 13:34 ` woodard at redhat dot com
@ 2021-04-13 20:02 ` woodard at redhat dot com
  2022-06-08 15:45 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-04-13 20:02 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|27514                       |


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27514
[Bug 27514] recursively compare libraries in abicompat
-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/27635] abicompat doesn't handle abixml
  2021-03-23 12:24 [Bug default/27635] New: abicompat doesn't handle abixml woodard at redhat dot com
                   ` (2 preceding siblings ...)
  2021-04-13 20:02 ` woodard at redhat dot com
@ 2022-06-08 15:45 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2022-06-08 15:45 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

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

--- Comment #1 from Ben Woodard <woodard at redhat dot com> ---
This bug is addressed by this commit.
https://sourceware.org/pipermail/libabigail/2022q2/004405.html

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

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

end of thread, other threads:[~2022-06-08 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 12:24 [Bug default/27635] New: abicompat doesn't handle abixml woodard at redhat dot com
2021-03-23 13:26 ` [Bug default/27635] " woodard at redhat dot com
2021-03-23 13:34 ` woodard at redhat dot com
2021-04-13 20:02 ` woodard at redhat dot com
2022-06-08 15:45 ` 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).