[Bug target/104144] [12 Regression] build fails due to: Error: unknown architecture `armv9-a'

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 12 09:41:53 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104144

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Earnshaw <rearnsha@gcc.gnu.org>:

https://gcc.gnu.org/g:1210fd6e69e51516c935acc49e223fce14a0dd86

commit r12-8106-g1210fd6e69e51516c935acc49e223fce14a0dd86
Author: Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>
Date:   Mon Apr 11 13:14:01 2022 +0100

    arm: remove unnecessary armv9-a multilib variant [PR104144]

    Remove the armv9-a specific multilib variants.  Instead, arrange to
    use either the armv8-a multilibs or the armv7-a versions, depeding on
    the configuration.  This eliminates the need to have a version of gas
    that understands --march=armv9-a when building GCC.  Very little, if
    anything in the standard libraries directly uses Armv9-a features
    anyway.

    Also remove the +crc variant rules for Armv9-a.  CRC is an implicit
    part of Armv9-a, so doesn't have a explicit feature to handle it.

    gcc/ChangeLog:

            PR target/104144
            * config/arm/t-aprofile (MULTI_ARCH_OPTS_A): Remove Armv9-a
options.
            (MULTI_ARCH_DIRS_A): Remove Armv9-a diretories.
            (MULTILIB_REQUIRED): Don't require Armv9-a libraries.
            (MULTILIB_MATCHES): Treat Armv9-a as equivalent to Armv8-a.
            (MULTILIB_REUSE): Remove remap rules for Armv9-a.
            * config/arm/t-multilib (v9_a_nosimd_variants): Delete.
            (MULTILIB_MATCHES): Remove mappings for v9_a_nosimd_variants.

    gcc/testsuite/ChangeLog:

            PR target/104144
            * gcc.target/arm/multilib.exp: Updated tests.


More information about the Gcc-bugs mailing list