binutils Newspaper
NOVEMBER 30, 2026
aarch64 — Proposed

aarch64: Expect failures for some tests

Marks specific aarch64 PE tests as expected failures because dlltool is not built for that target.

This patch addresses a regression in the test configuration for aarch64--pe targets. It marks certain tests that rely on dlltool as expected failures because dlltool is not built for these specific targets. This prevents the test suite from failing due to missing tools rather than actual code defects.

In the Thread 1 participant
  1. Evgeny Karpov <evgeny.karpov@arm.com> proposer

    Submits a patch to mark specific aarch64 PE tests as expected failures due to the unavailability of `dlltool`.

    “Fix the regression in the test configuration for aarch64-*-pe* in 0bb9902441e417fd43836b0b0fe9466080bb7c43. dlltool is not built for that target, and failures are expected for some tests.”

In Details

This patch modifies ld/testsuite/ld-pe/pe.exp to introduce XFAIL conditions for aarch64-*-pe* targets. This is in response to a regression introduced by commit 0bb9902441e417fd43836b0b0fe9466080bb7c43. The dlltool utility, which is used in some PE test cases, is not available for the aarch64-*-pe* cross-compilation targets, hence the need to mark these specific tests as expected failures.

For Context
aarch64
A 64-bit ARM architecture, a widely used processor architecture.
PE
Portable Executable, a file format used for executables and object files on Windows systems. Binutils supports building PE targets for cross-compilation.
dlltool
A utility that creates import libraries for Windows DLLs, used by the linker.
test configuration
The setup and parameters used to run automated tests, ensuring they execute correctly in different environments.
regression
A bug that appears in a new version of software that was not present in previous versions.
Filed Under: aarch64linkertestingcross-compilation