public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/104144] [12 Regression] build fails due to: Error: unknown architecture `armv9-a'
Date: Thu, 20 Jan 2022 13:38:51 +0000	[thread overview]
Message-ID: <bug-104144-4-99RwwUDflH@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-104144-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
This sort of problem is going to keep occurring while we continue to have
separate distributions of GCC and binutils.  There's no way around the fact
that support for a new architecture in GCC needs an assembler that understands
the new architecture.  This is true for all architectures, not just Arm.

If a users asks for all the architectural libraries to be built, then I don't
see it as unreasonable to require an assembler that can support this as well,
so the issue becomes one of documentation, where we might as well just say that
the minimum requirements may be increased if you try to use anything beyond the
default configuration of the compiler.  Anything more is going to result in a
completely unwieldy mess of impenetrable dependencies.

I don't think there's a way to make the current multilib infrastructure ignore
specific sub-architectures.  t-multilib is already extremely complex due to the
need to reduce the number of variants to something just about tractable for the
build system; adding yet more complexity to it would make it almost impossible
to manage.

I guess it might be possible to make the multilib configure machinery rip out
variants that fail during configure, but you'd still need to deal with the
mappings and decide what to do if the compiler needed an unbuilt library
version.  Dropping back to the default multilib would often be completely wrong
as it might be an ABI change.

  parent reply	other threads:[~2022-01-20 13:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 12:26 [Bug web/104144] New: [12 Regression] --enable-version-specific-runtime-libs " marxin at gcc dot gnu.org
2022-01-20 12:26 ` [Bug web/104144] " marxin at gcc dot gnu.org
2022-01-20 12:31 ` [Bug target/104144] " rguenth at gcc dot gnu.org
2022-01-20 12:35 ` clyon at gcc dot gnu.org
2022-01-20 12:48 ` [Bug target/104144] [12 Regression] build " rguenth at gcc dot gnu.org
2022-01-20 13:38 ` rearnsha at gcc dot gnu.org [this message]
2022-01-20 14:10 ` rguenth at gcc dot gnu.org
2022-01-20 14:12 ` wirkus at gcc dot gnu.org
2022-02-25 13:06 ` marxin at gcc dot gnu.org
2022-02-25 14:58 ` przemyslaw.wirkus at arm dot com
2022-04-12  9:41 ` cvs-commit at gcc dot gnu.org
2022-04-12  9:46 ` rearnsha at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-104144-4-99RwwUDflH@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).