From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7694B389440D; Thu, 4 Mar 2021 18:02:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7694B389440D From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/27514] New: recursively compare libraries in abicompat Date: Thu, 04 Mar 2021 18:02:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: woodard at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 18:02:20 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27514 Bug ID: 27514 Summary: recursively compare libraries in abicompat 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 is similar and kind of related to 27208 but goes a bit deeper. abicompat currently only compares one library at a time when evaluating lib= rary compatibility. For example: abicompat app libfoo-v1 libfoo-v2=20 The app is also likely to have other dependencies which require ABI artifac= ts out of libfoo that the app itself may not use.=20 app requires libfoo.so and libbar.so app only uses foo_init() libbar uses additional functions out of libfoo.so Currently abicompat would say that app is compatible with libfoo so long as foo_init() didn't change. However, if libfoo-v2 had changes that impacted libbar.so which is needed by the app then libfoo-v2 is not compatible with = the app. Therefore the comparison currently done by abicompat where it simply looks = at the undefined symbols in the app is not sufficient to guarantee that libfoo= -v1 and libfoo-v2 are in fact compatible with the application. It must also loo= k at the dependencies needed by app and include any symbols provided by them. To be able to address this problem while not breaking current behavior a new mode of operation is needed for abicompat one that loads the corpora not ju= st for the app but also for all its dependencies and then does the abi compari= son. --=20 You are receiving this mail because: You are on the CC list for the bug.=