Re: [PATCH v2 0/2] Validating UAPI backwards compatibility
From: Mark Wielaard
Date: Wed Mar 01 2023 - 19:28:25 EST
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