public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/25855] New: runtestabidiffexit test fails when configuring with --prefix
Date: Sun, 19 Apr 2020 21:15:56 +0000	[thread overview]
Message-ID: <bug-25855-9487@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 25855
           Summary: runtestabidiffexit test fails when configuring with
                    --prefix
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: mark at klomp dot org
                CC: libabigail at sourceware dot org
  Target Milestone: ---

A srcdir != builddir configured using --prefix=/opt/local/install/libabigail
fails make check for runtestabidiffexit.

Specifically:

cmd: /home/mark/build/libabigail-obj/tools/abidiff --leaf-changes-only
/home/mar
k/src/libabigail/tests/data/test-abidiff-exit/test-leaf-cxx-members-v0.o
/home/m
ark/src/libabigail/tests/data/test-abidiff-exit/test-leaf-cxx-members-v1.o >
/ho
me/mark/build/libabigail-obj/tests/output/test-abidiff-exit/test-leaf-cxx-member
s-report.txt

---
/home/mark/src/libabigail/tests/data/test-abidiff-exit/test-leaf-cxx-members-report.txt
    2020-04-15 16:24:29.434514030 +0200
+++
/home/mark/build/libabigail-obj/tests/output/test-abidiff-exit/test-leaf-cxx-members-report.txt
    2020-04-19 22:58:30.295407454 +0200
@@ -1,6 +1,6 @@
-Leaf changes summary: 4 artifacts changed
+Leaf changes summary: 3 artifacts changed (1 filtered out)
 Changed leaf types summary: 1 leaf type changed
-Removed/Changed/Added functions summary: 1 Removed, 1 Changed, 1 Added
function
+Removed/Changed/Added functions summary: 1 Removed, 0 Changed (1 filtered
out), 1 Added function
 Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added
variable

 1 Removed function:
@@ -13,13 +13,6 @@
   [A] 'method virtual long int ops::added_fn()'    {_ZN3ops8added_fnEv}
     note that this adds a new entry to the vtable of struct ops

-1 function with some sub-type change:
-
-  [C] 'method virtual int ops::changed_fn()' at
test-leaf-cxx-members-v1.cc:5:1 has some sub-type changes:
-    return type changed:
-      type name changed from 'int' to 'long int'
-      type size changed from 32 to 64 (in bits)
-
 'struct ops at test-leaf-cxx-members-v0.cc:2:1' changed:
   type size changed from 128 to 192 (in bits)
   1 member function deletion:
@@ -27,10 +20,6 @@
   1 member function insertion:
     'method virtual long int ops::added_fn()' at
test-leaf-cxx-members-v1.cc:11:1, virtual at voffset 1/1   
{_ZN3ops8added_fnEv}
   there are member function changes:
-    'method virtual int ops::changed_fn()' has some changes:
-      return type changed:
-        type name changed from 'int' to 'long int'
-        type size changed from 32 to 64 (in bits)
   1 data member deletion:
     'int ops::deleted_var', at offset 96 (in bits) at
test-leaf-cxx-members-v0.cc:5:1
   1 data member insertion:

configuring using just --enable-maintainer-mode and without any --prefix makes
the test PASS.

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

             reply	other threads:[~2020-04-19 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 21:15 mark at klomp dot org [this message]
2020-04-19 21:21 ` [Bug default/25855] " mark at klomp dot org

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-25855-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).