This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70133] New: AArch64 -mtune=native generates improperly formatted -march parameters
- From: "davidwillmore at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Mar 2016 02:00:53 +0000
- Subject: [Bug c/70133] New: AArch64 -mtune=native generates improperly formatted -march parameters
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133
Bug ID: 70133
Summary: AArch64 -mtune=native generates improperly formatted
-march parameters
Product: gcc
Version: 5.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: davidwillmore at gmail dot com
Target Milestone: ---
Created attachment 37893
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37893&action=edit
compiler build info and execution host info
On an ODROID C2 board (Amlogic S905 processor) which has Cortex-A53 cores with
the following CPU Features (found in /proc/cpuinfo) "fp asimd crc32",
-mtune=native expands to -march=armv8-a+fp+simd+nocrypto+crc+nolse which causes
gcc to emit the error:
Assembler messages:
Error: must specify extensions to add before specifying those to remove
Error: unrecognized option -march=armv8-a+fp+simd+nocrypto+crc+nolse
If the same build is attempted with "-mtune=native" replaced by
"-march=armv8-a+fp+simd+crc+nocrypto+nolse" the compile succeeds as expected.