public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/102755] New: Built gcc cross compiler always tries to use "as" instead of  cross assembler
@ 2021-10-14 23:22 dr.duncan.p.simpson at gmx dot com
  2021-10-14 23:30 ` [Bug driver/102755] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dr.duncan.p.simpson at gmx dot com @ 2021-10-14 23:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102755
           Summary: Built gcc cross compiler always tries to use "as"
                    instead of  cross assembler
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dr.duncan.p.simpson at gmx dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: aarch64-linux-gnu

Created attachment 51604
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51604&action=edit
Proposed minimal fix

In gcc.c the assembler name is hard coded as "as" and the --with-as option does
not change this. When building an aarch64-linxu-gnu cross compiler the build
process used aarc64-linux-gnu-as but the built cross compiler attempted to use
"as", which does not work. While I could override the spec file that is a
suboptimal solution.

This affects at least the gcc-12 tip version and probably most other versions
too. The proposed fix has been tested without --with-as and with
--with-as=/usr/local/bin/aarch64-linux-gnu-as.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-17  7:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 23:22 [Bug c/102755] New: Built gcc cross compiler always tries to use "as" instead of cross assembler dr.duncan.p.simpson at gmx dot com
2021-10-14 23:30 ` [Bug driver/102755] " pinskia at gcc dot gnu.org
2021-10-14 23:32 ` pinskia at gcc dot gnu.org
2021-10-15 11:45 ` dr.duncan.p.simpson at gmx dot com
2021-10-16  0:01 ` pinskia at gcc dot gnu.org
2021-10-17  7:54 ` dr.duncan.p.simpson at gmx dot com

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).