public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: Maxim Ostapenko <m.ostapenko@partner.samsung.com>
To: Dodji Seketeli <dodji@redhat.com>
Cc: libabigail@sourceware.org, Yury Gribov <y.gribov@samsung.com>,
	Pavel Kopyl <p.kopyl@samsung.com>
Subject: Re: Abidiff caveats questions.
Date: Thu, 01 Jan 2015 00:00:00 -0000	[thread overview]
Message-ID: <5512F619.2090704@partner.samsung.com> (raw)
In-Reply-To: <86y4mlpbq4.fsf@redhat.com>


>> but is there any way abidiff could resolve this issue (perhaps resolve
>> versioned symbol somehow)?
> Not at this point, no.  But I guess one could imagine to perform some
> tweaks.
>
> For instance, you could save the ABI representation of libtirpc into the
> XML format of libabigail by using the abidw tool:
>
>      abidw libtirpc.so > libtirpc.so.abi
>
> Then you can edit the libtirpc.so.abi file as you wish (it's an XML
> file), by changing the symbol version there (for instance, by saying
> that it has a GLIBC_2.2.5 version, for instance).  Then when you are
> done, you can compare that modified libtirpc.so.abi with libc-2.20.so by
> doing:
>
>      abidiff libtirpc.so.abi libc-2.20.so
>
> I believe that should work.  If not, then there is a bug in there that
> should be fixed.
>
Dodji, thank you for your suggestion. Unfortunately this doesn't work 
for me, I've ran to the such issue:

$ abidw libtirpc.so > libtirpc.so.abi
$ abidiff libtirpc.so.abi libc-2.20.so

  abidiff: /home/max/src/libabigail/src/abg-reader.cc:203: void 
abigail::xml_reader::read_context::map_id_and_node(const string&, 
xmlNodePtr): Assertion `is_ok' failed.

Quick analysis showed, that abidiff deals with 'enum-decl' here, I'm 
going to file a bug to bugzilla soon.

Thank you,
Maxim

  reply	other threads:[~2015-03-25 17:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01  0:00 Maxim Ostapenko
2015-01-01  0:00 ` Dodji Seketeli
2015-01-01  0:00   ` Maxim Ostapenko [this message]
2015-01-01  0:00     ` Dodji Seketeli

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=5512F619.2090704@partner.samsung.com \
    --to=m.ostapenko@partner.samsung.com \
    --cc=dodji@redhat.com \
    --cc=libabigail@sourceware.org \
    --cc=p.kopyl@samsung.com \
    --cc=y.gribov@samsung.com \
    /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).