From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 081843856965; Mon, 31 Oct 2022 08:41:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 081843856965 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667205693; bh=fLS+zONlsAslOH4ptF/jbqPgiAJTqmEyqh85JpPAnWI=; h=From:To:Subject:Date:From; b=Li/AdWGLSSdy5xddeOkJoF/aLivpVeKb38zK/Vru+ow5/62NhCC7Y2/aohYnzZGrC UH6hOHUas3UtzPzmn29g9qp2elVfq7thFtMQCta3mn7cFnyDdZSZEVdKIo7k3jl/zz KuxTtZ9PIbgzsqOIN5HgBeBJm2MxCFsa4q+oaooY= From: "dermojo at gmail dot com" To: libabigail@sourceware.org Subject: [Bug default/29733] New: Comparing 2.0 dump to 2.1 dump: parameter 1 of type 'int' was added to destructor Date: Mon, 31 Oct 2022 08:41:31 +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: dermojo 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29733 Bug ID: 29733 Summary: Comparing 2.0 dump to 2.1 dump: parameter 1 of type 'int' was added to destructor Product: libabigail Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: dermojo at gmail dot com CC: libabigail at sourceware dot org Target Milestone: --- Created attachment 14423 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14423&action=3Ded= it sample library code Hi, I'm storing ABI dumps together with my shared library (C++) to check for ABI breaks when rebuilding. I found an incompatibility when upgrading libabigail and its tools from 2.0 to 2.1: The exact same code yields different ABI dumps between both versions, and abidiff reports incompatible changes, For example, the attached sample shows this (compiled with "g++ -shared -o libsample.so sample.cpp -Wall -std=3Dc+= +11 -g -ggdb"): > $ ~/git/libabigail-2.1/build/tools/abidiff abi-2.0.dump abi-2.1.dump > Functions changes summary: 0 Removed, 1 Changed, 0 Added function > Variables changes summary: 0 Removed, 0 Changed, 0 Added variable >=20 > 1 function with some indirect sub-type change: >=20 > [C] 'method Sample::~Sample()' at sample.cpp:2:1 has some indirect sub-= type changes: > parameter 1 of type 'int' was added >=20 > (exit code: 4) Comparing the ABI dumps between version 2.0 and 2.1, I can see that the 2.0 dump only contains 1 destructor as member function (_ZN6SampleD2Ev), while = the 2. dump contains an additional _ZN6SampleD4Ev and both have the additional "int" parameter. The library symbol table doesn't contain _ZN6SampleD4Ev, only the debug info does, and AFAIS only the D4 destructor has the additional int parameter. Any help to resolve this is highly appreitated. --=20 You are receiving this mail because: You are on the CC list for the bug.=