public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a
@ 2020-05-29 15:31 ibuclaw at gdcproject dot org
  2020-05-31  5:36 ` [Bug target/95420] " ibuclaw at gdcproject dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-05-29 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95420
           Summary: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu
                    target: armv7-a
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

Possibly caused by r278253.

GCC fails to pass selftests when building with --target=arm-wrs-vxworks7

Configuring with --target=arm-wrs-vxworks7 --with-cpu=arm8 and the selftests
pass.

/build/arm-wrs-vxworks7/./gcc/xgcc -B/build/arm-wrs-vxworks7/./gcc/ -xc
-nostdinc /dev/null -S -o /dev/null
-fself-test=/build/gcc/gcc/testsuite/selftests
xgcc: error: unrecognised -mcpu target: armv7-a
xgcc: note: valid arguments are: arm8 arm810 strongarm strongarm110 fa526 fa626
arm7tdmi arm7tdmi-s arm710t arm720t arm740t arm9 arm9tdmi arm920t arm920
arm922t arm940t ep9312 arm10tdmi arm1020t arm9e arm946e-s arm966e-s arm968e-s
arm10e arm1020e arm1022e xscale iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te
arm926ej-s arm1026ej-s arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s
mpcorenovfp mpcore arm1156t2-s arm1156t2f-s cortex-m1 cortex-m0 cortex-m0plus
cortex-m1.small-multiply cortex-m0.small-multiply cortex-m0plus.small-multiply
generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-a12 cortex-a15
cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7
cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 cortex-a17.cortex-a7
cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 exynos-m1
xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35
cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77
neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 cortex-m23 cortex-m33
cortex-m35p cortex-m55 cortex-r52
xgcc: error: missing argument to ‘-march=’
compilation terminated.
make[1]: *** [/build/gcc/gcc/c/Make-lang.in:124: s-selftest-c] Error 1

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

* [Bug target/95420] arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a
  2020-05-29 15:31 [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a ibuclaw at gdcproject dot org
@ 2020-05-31  5:36 ` ibuclaw at gdcproject dot org
  2020-05-31 20:07 ` ibuclaw at gdcproject dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-05-31  5:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Iain Buclaw from comment #0)
> Configuring with --target=arm-wrs-vxworks7 --with-cpu=arm8 and the selftests
> pass.
> 

I was going to ignore that you need to set VSB_DIR in order for the selftests
to pass, however I've stumbled across this comment in gcc/Makefile.in, which
seems to suggest that perhaps it should "just work" without.

# GCC's selftests.
# Specify a dummy input file to placate the driver.
# Specify -nostdinc to work around missing WIND_BASE environment variable
# required for *-wrs-vxworks-* targets.

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

* [Bug target/95420] arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a
  2020-05-29 15:31 [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a ibuclaw at gdcproject dot org
  2020-05-31  5:36 ` [Bug target/95420] " ibuclaw at gdcproject dot org
@ 2020-05-31 20:07 ` ibuclaw at gdcproject dot org
  2020-06-02  8:37 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-05-31 20:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
With some confidence, I'm going to say that the intended cpu that should have
been set is "generic-armv7-a", and not "armv7-a".

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

* [Bug target/95420] arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a
  2020-05-29 15:31 [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a ibuclaw at gdcproject dot org
  2020-05-31  5:36 ` [Bug target/95420] " ibuclaw at gdcproject dot org
  2020-05-31 20:07 ` ibuclaw at gdcproject dot org
@ 2020-06-02  8:37 ` cvs-commit at gcc dot gnu.org
  2020-06-02  8:38 ` cvs-commit at gcc dot gnu.org
  2020-07-02 23:21 ` ibuclaw at gdcproject dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-02  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:86b14bb1a93d8ef01678d132013a2006a4f00deb

commit r11-786-g86b14bb1a93d8ef01678d132013a2006a4f00deb
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Mon Jun 1 00:18:44 2020 +0200

    Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7

    In the removal of arm-wrs-vxworks, the default cpu was updated from arm8
    to armv7-a, but this is not recognized as a valid -mcpu target.  There
    is however generic-armv7-a, which was likely the intended cpu that
    should have been used instead.

    gcc/ChangeLog:

            PR target/95420
            * config.gcc (arm-wrs-vxworks7*): Set default cpu to
generic-armv7-a.

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

* [Bug target/95420] arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a
  2020-05-29 15:31 [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a ibuclaw at gdcproject dot org
                   ` (2 preceding siblings ...)
  2020-06-02  8:37 ` cvs-commit at gcc dot gnu.org
@ 2020-06-02  8:38 ` cvs-commit at gcc dot gnu.org
  2020-07-02 23:21 ` ibuclaw at gdcproject dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-02  8:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:89b625be0aab128b2316a937881147cd4a2e354a

commit r10-8221-g89b625be0aab128b2316a937881147cd4a2e354a
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Mon Jun 1 00:18:44 2020 +0200

    Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7

    In the removal of arm-wrs-vxworks, the default cpu was updated from arm8
    to armv7-a, but this is not recognized as a valid -mcpu target.  There
    is however generic-armv7-a, which was likely the intended cpu that
    should have been used instead.

    gcc/ChangeLog:

            PR target/95420
            * config.gcc (arm-wrs-vxworks7*): Set default cpu to
generic-armv7-a.

    (cherry picked from commit 86b14bb1a93d8ef01678d132013a2006a4f00deb)

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

* [Bug target/95420] arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a
  2020-05-29 15:31 [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a ibuclaw at gdcproject dot org
                   ` (3 preceding siblings ...)
  2020-06-02  8:38 ` cvs-commit at gcc dot gnu.org
@ 2020-07-02 23:21 ` ibuclaw at gdcproject dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-07-02 23:21 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Done.

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

end of thread, other threads:[~2020-07-02 23:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 15:31 [Bug target/95420] New: arm-wrs-vxworks7: xgcc: error: unrecognised -mcpu target: armv7-a ibuclaw at gdcproject dot org
2020-05-31  5:36 ` [Bug target/95420] " ibuclaw at gdcproject dot org
2020-05-31 20:07 ` ibuclaw at gdcproject dot org
2020-06-02  8:37 ` cvs-commit at gcc dot gnu.org
2020-06-02  8:38 ` cvs-commit at gcc dot gnu.org
2020-07-02 23:21 ` ibuclaw at gdcproject dot org

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