[PATCH] AMDGCN: Disable subdirectory configuration for unsupported GAS and LD
Jan Beulich
jbeulich@suse.com
Fri Feb 13 13:03:53 GMT 2026
On 13.02.2026 12:45, Maciej W. Rozycki wrote:
> The `amdgcn' target is not supported by GAS or LD, so disable building
> in the respective subdirectories, removing configuration errors such as:
>
> This target is no longer supported in gas
> make[1]: *** [Makefile:5473: configure-gas] Error 1
>
> and:
>
> *** ld does not support target amdgcn-unknown-none
> *** see ld/configure.tgt for supported targets
> make[1]: *** [Makefile:6968: configure-ld] Error 1
>
> in builds where no explicit `--disable-gas' and `--disable-ld' options
> have been used with the top-level `configure' script. Users must not
> have to disable features selected by default to get a working
> configuration.
>
> /
> * configure.ac <amdgcn-*-*> (noconfigdirs): Add `ld' and `gas'.
> * configure: Regenerate.
> ---
> Hi,
>
> This is following my observation at
> <https://inbox.sourceware.org/binutils/alpine.DEB.2.21.2511111503360.25436@angie.orcam.me.uk/>,
> and I guess fallout from changes around binutils commit 978602e83f03
> ("bfd: add AMDGCN architecture") having not updated the script.
>
> OK to apply? Obviously correct probably.
Probably, but it wants to go to gcc first. binutils syncs from there, if
recurring entries in the history of configure.ac are to be trusted.
Jan
More information about the Binutils
mailing list