[PATCH] ld/testsuite: enable build-id for ELF platforms

Jan Beulich jbeulich@suse.com
Tue Jun 2 08:43:35 GMT 2026


On 29.05.2026 15:45, Clément Chigot wrote:
> On Fri, May 29, 2026 at 3:33 PM Clément Chigot <chigot@adacore.com> wrote:
>>
>> --build-id is defined within elf.em and thus should be available for
>> all platforms matching "is_elf_format".
> 
> @Alan Modra I've tested a couple of ELF platforms internally. But I
> don't know if there is a way to trigger this test for all ELF
> emulations ? `--enable-targets=all` doesn't seem to be enough.

While that's enough to make the linker capable of linking for such targets,
it indeed isn't sufficient to have those cases covered by the testsuite. The
way the testsuite presently is written, you won't get around testing a build
for every one such target.

Jan


More information about the Binutils mailing list