On Mon, Jan 05, 2026 at 06:53:35PM +0100, Chris Hofstaedtler wrote: > the following packages differ between the last good and first bad timestamp: > binutils 2.45-8 -> 2.45.50.20251125-1
bisecting binutils master points to this commit: 5e83077d552ed6f81dbc092eb3ccf827a43de42c is the first bad commit commit 5e83077d552ed6f81dbc092eb3ccf827a43de42c Author: Alan Modra <[email protected]> AuthorDate: Mon Aug 18 18:33:54 2025 +0930 Commit: Alan Modra <[email protected]> CommitDate: Mon Aug 18 23:05:43 2025 +0930 Don't choose plugin target in binutils/ Instead make bfd_check_format try the plugin target first when the user hasn't supplied a target. bfd/ * format.c (bfd_check_format_matches): Try for a plugin target match first. * targets.c (bfd_find_target): Don't specially treat "plugin". binutils/ * ar.c (plugin_target): Delete. (open_inarch): Don't set target of archive elements. (replace_members): Use target rather than plugin_target when opening replacement or additional files. * arsup.c (plugin_target): Delete. Replace all uses with NULL. (ar_open): Don't set element target. * bucomm.h (set_plugin_target): Delete. * nm.c (plugin_target): Delete. (display_archive): Don't set element target. (display_file): Alway use target when opening file. * objcopy.c (copy_archive): Don't use plugin target for output elements. * NEWS: Mention stricter target checking. bfd/format.c | 40 +++++++++++++++++++++++++++++++--------- bfd/targets.c | 6 +----- binutils/NEWS | 7 +++++++ binutils/ar.c | 24 +++--------------------- binutils/arsup.c | 19 +++---------------- binutils/bucomm.h | 15 --------------- binutils/nm.c | 17 +---------------- binutils/objcopy.c | 10 ++-------- 8 files changed, 48 insertions(+), 90 deletions(-) bisect found first bad commit git bisect run ~/Debian/nmu/bisect-binutils 519.97s user 27.25s system 238% cpu 3:49.91 total The mentioned NEWS entry says: * Internal changes to plugin support, and stricter target checking may result in some errors being exposed in user options passed to the various binutils. For example objcopy --target=TARGET now will only work if the input file is for TARGET whereas prior versions of objcopy accepted other target input files and produced a TARGET output. If you do in fact want the old behaviour the correct usage is objcopy --output-target=TARGET. So maybe what is seen in efibootguard is indeed intentional. Chris

