From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17255 invoked by alias); 23 Mar 2017 19:38:06 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 17204 invoked by uid 48); 23 Mar 2017 19:38:02 -0000 From: "jwakely.gcc at gmail dot com" To: libabigail@sourceware.org Subject: [Bug default/21296] New: abidiff reports possibly bogus differences and crashes Date: Sun, 01 Jan 2017 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jwakely.gcc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q1/txt/msg00055.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21296 Bug ID: 21296 Summary: abidiff reports possibly bogus differences and crashes Product: libabigail Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: jwakely.gcc at gmail dot com CC: libabigail at sourceware dot org Target Milestone: --- Created attachment 9935 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D9935&action=3Dedit testcase Using GCC 6 and Clang (any version) to compile the attached code into two shared libs produces libraries that crash abigail: clang++ -std=3Dc++14 -o libclang.so -shared -fPIC clanggcc.cxx -g g++ -o libgcc.so -shared -fPIC clanggcc.cxx -g abidiff libgcc.so libclang.so=20=20 Functions changes summary: 0 Removed (1 filtered out), 2 Changed (9 filtered out), 0 Added functions Variables changes summary: 0 Removed, 0 Changed, 0 Added variable 2 functions with some indirect sub-type change: [C]'method STR::~STR(int)' at clanggcc.cxx:6:1 has some indirect sub-type changes: linkage names of method STR::~STR(int) changed from '_ZN3STRD1Ev, _ZN3STRD2Ev' to '_ZN3STRD2Ev' name of symbol changed from _ZN3STRD1Ev to _ZN3STRD2Ev parameter 1 of type 'int' was removed [C]'function std::tuple my_forward_as_tuple(STR&&)' at clanggcc.cxx:225:1 has some indirect sub-type changes: return type changed: type name changed from 'std::tuple' to 'std::tuple' type size hasn't changed 1 base class deletion: struct std::_Tuple_impl<0ul, STR&&> at clanggcc.cxx:119:1 1 base class insertion: struct std::_Tuple_impl<0, STR &&> at clanggcc.cxx:119:1 abidiff: ../../src/abg-comparison.cc:8205: virtual void abigail::comparison::fn_parm_diff::report(std::ostream&, const string&) con= st: Assertion `get_type_diff() && get_type_diff()->to_be_reported()' failed. Aborted (core dumped) If GCC trunk is used instead of GCC 6 then abigail doesn't crash, but still reports the same diferences, which appear to be bogus. --=20 You are receiving this mail because: You are on the CC list for the bug.