From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/28642] New: vtable offset position seems wrong
Date: Thu, 02 Dec 2021 00:21:21 +0000 [thread overview]
Message-ID: <bug-28642-9487@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=28642
Bug ID: 28642
Summary: vtable offset position seems wrong
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
the gcc object can be found:
http://ssh.bencoyote.net/~ben/libabigail.so.0.0.0.gcc.bz2 while the clang
object can be found: https://sourceware.org/bugzilla/attachment.cgi?id=13812
There seems to be something wrong with the vtable DWARF parsing or comparison.
it kind of looks like it may be a latent bug in gcc's vtable position numbering
which may not have been detected because it was encoded the same way and
therefore compared as equivalent.
There are many differences reported along like this:
[C] 'method virtual abigail::ini::config::section::~section(int)' at
abg-ini.h:386:1 has some indirect sub-type changes:
the vtable offset of method virtual
abigail::ini::config::section::~section(int) changed from 18446744073709551615
to 0
note that this is an ABI incompatible change to the vtable of class
abigail::ini::config::section
parameter 1 of type 'int' was removed
[C] 'method virtual abigail::ini::config::~config(int)' at abg-ini.h:342:1
has some indirect sub-type changes:
the vtable offset of method virtual abigail::ini::config::~config(int)
changed from 18446744073709551615 to 0
note that this is an ABI incompatible change to the vtable of class
abigail::ini::config
parameter 1 of type 'int' was removed
Note that the vtable offset for GCC is 18446744073709551615 which happens to
be: 0xFFFF FFFF FFFF FFFF so it looks like a decoding error.
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2021-12-02 0:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 0:21 woodard at redhat dot com [this message]
2021-12-02 0:30 ` [Bug default/28642] " woodard at redhat dot com
2021-12-02 0:36 ` woodard at redhat dot com
2021-12-03 22:42 ` woodard at redhat dot com
2021-12-03 23:19 ` woodard at redhat dot com
2021-12-07 0:53 ` woodard at redhat dot com
2021-12-09 0:52 ` woodard at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-28642-9487@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).