Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A245CC7EE23 for ; Thu, 2 Mar 2023 00:28:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbjCBA2Y (ORCPT ); Wed, 1 Mar 2023 19:28:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjCBA2V (ORCPT ); Wed, 1 Mar 2023 19:28:21 -0500 X-Greylist: delayed 1199 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 01 Mar 2023 16:28:06 PST Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D11EE32E66; Wed, 1 Mar 2023 16:28:05 -0800 (PST) Received: by gnu.wildebeest.org (Postfix, from userid 1000) id 221EF30067B2; Thu, 2 Mar 2023 00:52:33 +0100 (CET) Date: Thu, 2 Mar 2023 00:52:33 +0100 From: Mark Wielaard To: John Moon Cc: Nick Desaulniers , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Greg Kroah-Hartman , Randy Dunlap , Arnd Bergmann , Bjorn Andersson , Todd Kjos , Matthias Maennich , Giuliano Procida , kernel-team@android.com, libabigail@sourceware.org, Jordan Crouse , Trilok Soni , Satya Durga Srinivasu Prabhala , Elliot Berman Subject: Re: [PATCH v2 0/2] Validating UAPI backwards compatibility Message-ID: <20230301235233.GJ12496@gnu.wildebeest.org> References: <20230301075402.4578-1-quic_johmoo@quicinc.com> <41d287fa-3a0a-cac6-4595-ad47ef873d79@quicinc.com> <0c92e7b8-e415-8ad5-14e7-d94f18c3fa25@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John, On Wed, Mar 01, 2023 at 02:33:00PM -0800, John Moon via Libabigail wrote: > With some additional help from Nick offline, we determined that the > issue isn't with clang, but with libdw (from elfutils). You need at > least libdw version 0.171 for the abidiff tool to work correctly > with clang (in this particular case). Ubuntu 18.04 ships with > version 0.170. I don't remember any specific fixes for clang in libdw for elfutils 0.171. But elfutils 0.171 was the first release that supported most of DWARF5 (including GNU DebugFission and split dwarf). > If there's any interest, it'd be fairly easy to add a check for this > condition under the check_deps() function in the script. Please do add this check. elfutils 0.170 is almost 6 years old now, there have been many, many bug fixes since then (current release is 0.188 from Nov 2022). Thanks, Mark