From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D2843858D1E; Wed, 20 Mar 2024 05:57:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D2843858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710914247; bh=trgQgmjG/wFV8yYpecjxcIcUfJ/9cHsWX2COBiuSQDM=; h=From:To:Subject:Date:From; b=cYPDWREmTAFl1LcoWvXkA5RRo6YmScarwHXL1WuUBBxDeBC+INdJYMTVQb3X4rTNb RJi6MZBuSjpDgeKQjq4zoYLEh2eTNBkC/i5Nn0hpfJRlFywCrsDEQaIFWwbXnVymjL jVTKsSvebDk/ms752KhBA7P4HZVawB7D7kZaQMD0= From: "quic_ashudas at quicinc dot com" To: libabigail@sourceware.org Subject: [Bug default/31513] New: abidiff differences due to change in compiler version Date: Wed, 20 Mar 2024 05:57:27 +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: quic_ashudas at quicinc 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 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=3D31513 Bug ID: 31513 Summary: abidiff differences due to change in compiler version Product: libabigail Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: quic_ashudas at quicinc dot com CC: libabigail at sourceware dot org Target Milestone: --- We have created a shared library using the below source file, We are observ= ing abi differences as when we run abidiff on the library when compiled with different compiler version GCC 7.5.0 and GCC 11.4.0 Ques 1: Is this behavior expected as we have not made any change in the sou= rce files of the library the highlighted changes are in compiler source files. Ques 2: If yes, can you share a suppression file to ignore all the changes which are not from the elf source file. #include #include #include namespace qiifa{ class class1{ public: class1(); std::string generate_lorem_ipsum(unsigned int lengt= h); int addnums(int x, int y); int subnums(int x, int y); private: std::vector letters; }; } Abidiff log "Functions changes summary: 0 Removed, 1 Changed (3 filtered out), 0 Added functions Variables changes summary: 0 Removed, 0 Changed, 0 Added variable 1 function with some indirect sub-type change: [C] 'method int qiifa::class1::addnums(int, int)' has some indirect sub-= type changes: implicit parameter 0 of type 'qiifa::class1* const' has sub-type chang= es: in unqualified underlying type 'qiifa::class1*': in pointed to type 'class qiifa::class1': type size hasn't changed 1 data member change: type of 'std::vector > letters' changed: type size hasn't changed 1 base class change: 'struct std::_Vector_base >' changed: type size hasn't changed 1 data member change: type of 'std::_Vector_base >::_Vector_impl _M_impl' changed: type size hasn't changed 1 base class insertion: struct std::_Vector_base >::_Vector_impl_data 3 data member deletions: 'std::_Vector_base >::pointer _M_start', at offset 0 (in bits) 'std::_Vector_base >::pointer _M_finish', at offset 64 (in bits) 'std::_Vector_base >::pointer _M_end_of_storage', at offset 128 (in bits) " --=20 You are receiving this mail because: You are on the CC list for the bug.=