Resolve autoconf issue in binutils
Fixes a configuration regression in binutils for aarch64 targets by updating configure.ac.
Evgeny Karpov submits a patch to resolve a regression in binutils’ configuration process. The fix modifies configure.ac to correctly handle aarch64-*-pe* targets in addition to aarch64-*-mingw*, addressing an issue introduced by a previous commit. Alice Carlotti confirmed the patch has been pushed.
- proposer
Submitted a patch to fix a configuration regression in binutils by modifying `configure.ac`.
“The patch fixes the regression in the configuration in 2c5ab4463fbfa424e6677549ee6086ed532ac714 by making changes in configure.ac.”
- maintainer
Reviewed and merged the patch.
“Pushed”
Technical Tradeoffs
- Ensuring the added condition does not negatively impact other targets.
- Verifying that the fix addresses the root cause of the regression and doesn't introduce new issues.
In Details
This patch addresses a configuration regression in Binutils, specifically affecting the build system's handling of aarch64 targets. A recent commit (2c5ab4463fbfa424e6677549ee6086ed532ac714) introduced a problem where the configure.ac script incorrectly handled aarch64-*-mingw* targets. This patch expands the condition to include aarch64-*-pe* targets as well, ensuring correct configuration for PE (Portable Executable) based Windows targets on aarch64.
- autoconf
- An extensible package of M4 macros that produce shell scripts to automatically adapt software package source code to different operating systems and architectures.
- configure.ac
- The main input file for Autoconf, which describes how to configure the package.
- regression
- In software development, a regression is a bug that appears in a new version of software after it previously worked correctly.
- aarch64
- The 64-bit ARM architecture.
- mingw
- Minimalist GNU for Windows, a development environment for creating Windows applications using the GNU Compiler Collection.
- PE
- Portable Executable, the file format used for executables, object code, and DLLs on 32-bit and 64-bit versions of Windows.