public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/28641] New: unspecified indirect subtype changes.
@ 2021-12-01 23:44 woodard at redhat dot com
  2021-12-01 23:46 ` [Bug default/28641] " woodard at redhat dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: woodard at redhat dot com @ 2021-12-01 23:44 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 28641
           Summary: unspecified indirect subtype changes.
           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: ---

Build libabigail with both gcc and clang then compare the resulting library
with abidiff

$ abidiff g5/lib/libabigail.so.0.0.0 l5/lib/libabigail.so.0.0.0 | wc -l
5080

The output is quite long however, there appear to be some low hanging fruit
which can easily be resolved. They appear similar to other errors when doing
abidw --abidiff and I expect they have a similar proximate cause.

A bunch of functions have completely unspecified subtype changes. This make
tracking down the root cause of the problem exceedingly difficult and usually
when their are unspecified subtype changes, it means that something in the
comparison is different but it doesn't end up actually being an ABI artifact
that matters.

Here are some examples:
  [C] 'method abigail::ir::class_decl::base_spec_sptr
abigail::comparison::base_diff::first_base() const' at abg-comparison.h:1801:1
has some indirect sub-type changes:

  [C] 'method const abigail::comparison::class_diff_sptr
abigail::comparison::base_diff::get_underlying_class_diff() const' at
abg-comparison.h:1807:1 has some indirect sub-type changes:

  [C] 'method virtual bool abigail::comparison::base_diff::has_changes() const'
at abg-comparison.h:1816:1 has some indirect sub-type changes:

  [C] 'method virtual abigail::ir::change_kind
abigail::comparison::base_diff::has_local_changes() const' at
abg-comparison.h:1819:1 has some indirect sub-type changes:

  [C] 'method virtual void
abigail::comparison::base_diff::report(std::ostream&, const std::string&)
const' at abg-comparison.h:1822:1 has some indirect sub-type changes:

  [C] 'method abigail::ir::class_decl::base_spec_sptr
abigail::comparison::base_diff::second_base() const' at abg-comparison.h:1804:1
has some indirect sub-type changes:

This is was done with the latest libabigail trunk.

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

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

end of thread, other threads:[~2021-12-09 11:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 23:44 [Bug default/28641] New: unspecified indirect subtype changes woodard at redhat dot com
2021-12-01 23:46 ` [Bug default/28641] " woodard at redhat dot com
2021-12-01 23:51 ` woodard at redhat dot com
2021-12-02  0:01 ` woodard at redhat dot com
2021-12-06 18:59 ` woodard at redhat dot com
2021-12-07  0:54 ` woodard at redhat dot com
2021-12-08 18:52 ` jwakely.gcc at gmail dot com
2021-12-08 18:54 ` woodard at redhat dot com
2021-12-08 19:36 ` woodard at redhat dot com
2021-12-08 20:27 ` woodard at redhat dot com
2021-12-08 23:38 ` gprocida at google dot com
2021-12-08 23:56 ` [Bug default/28641] const'ness of member functions is not detected in clang++ binaries woodard at redhat dot com
2021-12-09 11:18 ` gprocida at google dot com
2021-12-09 11:25 ` jwakely.gcc at gmail dot com
2021-12-09 11:32 ` jwakely.gcc at gmail 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).