[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/21296] New: abidiff reports possibly bogus differences and crashes
https://sourceware.org/bugzilla/show_bug.cgi?id=21296
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=9935&action=edit
testcase
Using GCC 6 and Clang (any version) to compile the attached code into two
shared libs produces libraries that crash abigail:
clang++ -std=c++14 -o libclang.so -shared -fPIC clanggcc.cxx -g
g++ -o libgcc.so -shared -fPIC clanggcc.cxx -g
abidiff libgcc.so libclang.so
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<STR&&> my_forward_as_tuple<STR>(STR&&)' at
clanggcc.cxx:225:1 has some indirect sub-type changes:
return type changed:
type name changed from 'std::tuple<STR&&>' to 'std::tuple<STR &&>'
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&) const:
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.
--
You are receiving this mail because:
You are on the CC list for the bug.