From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 331433858D1E; Thu, 10 Feb 2022 17:36:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 331433858D1E From: "dodji at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/26646] unexpected declaration-only types Date: Thu, 10 Feb 2022 17:36:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: dodji at redhat dot com X-Bugzilla-Status: ASSIGNED 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: Message-ID: In-Reply-To: References: 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-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2022 17:36:42 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26646 --- Comment #19 from dodji at redhat dot com --- (In reply to gprocida from comment #15) > Hi Dodji. >=20 > I collected shortest paths from symbols to struct udp_table in the ABI for > vmlinux4 and I've traced one by hand through the DWARF DIEs (readelf > --debug-dump) for vmlinux3: >=20 > function symbol dev_get_by_name (in ksymtab) has a parameter of type stru= ct > net *=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > struct net has member rtln of type struct sock *=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >=20 > struct sock has member sk_prot_creator of type struct proto *=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 >=20 > struct proto has member h of an anonymous union type=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >=20 > the anonymous union type has member udp_table of type struct udp_table *= =20=20=20=20 >=20 > struct udp_table is fully defined >=20 > If you can see why this path is not being considered by the DWARF reader,= I > think the fix will address more than just this one instance. >=20 > Regards, > Giuliano. Thanks a lot for this analysis, it's super useful. I came up with this patch https://sourceware.org/bugzilla/attachment.cgi?id=3D13970. Would it move t= he needle a bit more? --=20 You are receiving this mail because: You are on the CC list for the bug.=