[PATCH] find-debuginfo: Allow overriding binutils tools

Mark Wielaard mark@klomp.org
Mon Mar 3 16:00:38 GMT 2025


Hi,

On Thu, 2025-02-20 at 16:38 +0100, Mark Wielaard wrote:
> find-debuginfo relies on a couple of binutils tools (readelf, objcopy
> and nm) that might not have been build with cross-arch support. Make
> it possible to configure with specific (target) versions and to
> override the specific binaries by setting READELF, OBJCOPY or NM
> environment variables.
> 
>     * Makefile.am (do_subst): Add OBJCOPY and NM substitutions.
>     * configure.ac: Add OBJCOPY and NM tools override.
>     * scripts/find-debuginfo.in: Allow READELF, OBJCOPY and NM
>     environment overrides.

This was successfully tested in Fedora.
I have pushed it to main now.

Cheers,

Mark


More information about the Debugedit mailing list