public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25
@ 2017-01-01  0:00 dodji at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] " dodji at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 21627
           Summary: [kabidiff branch] fedabipkgdiff fails on gnupg package
                    for fc25
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: dodji at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

On the dodji/kabidiff branch the command below fails:

$ time fedabipkgdiff --self-compare --from fc25 gnupg
Comparing the ABI of binaries between gnupg-1.4.21-1.fc25.armv7hl.rpm and
gnupg-1.4.21-1.fc25.armv7hl.rpm:

abipkgdiff:
/home/dodji/git/libabigail/kabidiff-with-fixes/src/abg-corpus.cc:547: void
abigail::ir::corpus::add(abigail::ir::translation_unit_sptr): Assertion `i ==
priv_->path_tu_map.end()' failed.

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

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

* [Bug default/21627] [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25
  2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
                   ` (2 preceding siblings ...)
  2017-01-01  0:00 ` [Bug default/21627] Libabigail doesn't take translation unit compile dir into account dodji at redhat dot com
@ 2017-01-01  0:00 ` woodard at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] [kabidiff branch] Libabigail doesn't take translation unit compile dir into account dodji at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] " dodji at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: woodard at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

--- Comment #2 from Ben Woodard <woodard at redhat dot com> ---
Just a FYI in my test data set there are 37 cases of this out of 797 packages
tested.

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

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

* [Bug default/21627] [kabidiff branch] Libabigail doesn't take translation unit compile dir into account
  2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
                   ` (3 preceding siblings ...)
  2017-01-01  0:00 ` [Bug default/21627] [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 woodard at redhat dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] " dodji at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[kabidiff branch]           |[kabidiff branch]
                   |fedabipkgdiff fails on      |Libabigail doesn't take
                   |gnupg package for fc25      |translation unit compile
                   |                            |dir into account

--- Comment #3 from dodji at redhat dot com ---
The problem here is due to the fact that the path of a translation unit is
relative to the directory where that translation unit was compiled.

So there can be several different translation units (in the same binary) that
have the same (relative) paths.  To tell them apart, one needs to consider the
compile directory of those translation units.

But then Libabigail ignores the compilation directory of translation units.  It
just considers their (relative) path.  That leads to different translation
units having the same path.  Oops.

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

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

* [Bug default/21627] Libabigail doesn't take translation unit compile dir into account
  2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
                   ` (4 preceding siblings ...)
  2017-01-01  0:00 ` [Bug default/21627] [kabidiff branch] Libabigail doesn't take translation unit compile dir into account dodji at redhat dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

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

--- Comment #4 from dodji at redhat dot com ---
This problem should now be fixed in the dodji/kabidiff  branch by commit
https://sourceware.org/git/gitweb.cgi?p=libabigail.git;a=commit;h=2f070edf6c6039f87b8510918062ff5b63cf38c4.

I am thus closing this issue.

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

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

* [Bug default/21627] Libabigail doesn't take translation unit compile dir into account
  2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] " dodji at redhat dot com
  2017-01-01  0:00 ` woodard at redhat dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 woodard at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[kabidiff branch]           |Libabigail doesn't take
                   |Libabigail doesn't take     |translation unit compile
                   |translation unit compile    |dir into account
                   |dir into account            |

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

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

* [Bug default/21627] [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25
  2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  2017-01-01  0:00 ` woodard at redhat dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |21628


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=21628
[Bug 21628] Fix libabigail bugs on dodji/kabidiff branch when running
fedabipkgdiff --self-compare
-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug default/21627] [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25
  2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] " dodji at redhat dot com
@ 2017-01-01  0:00 ` woodard at redhat dot com
  2017-01-01  0:00 ` [Bug default/21627] Libabigail doesn't take translation unit compile dir into account dodji at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: woodard at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |woodard at redhat dot com

--- Comment #1 from Ben Woodard <woodard at redhat dot com> ---
*** Bug 21642 has been marked as a duplicate of this bug. ***

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

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

end of thread, other threads:[~2017-06-22 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-01  0:00 [Bug default/21627] New: [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 dodji at redhat dot com
2017-01-01  0:00 ` [Bug default/21627] " dodji at redhat dot com
2017-01-01  0:00 ` woodard at redhat dot com
2017-01-01  0:00 ` [Bug default/21627] Libabigail doesn't take translation unit compile dir into account dodji at redhat dot com
2017-01-01  0:00 ` [Bug default/21627] [kabidiff branch] fedabipkgdiff fails on gnupg package for fc25 woodard at redhat dot com
2017-01-01  0:00 ` [Bug default/21627] [kabidiff branch] Libabigail doesn't take translation unit compile dir into account dodji at redhat dot com
2017-01-01  0:00 ` [Bug default/21627] " dodji 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).