https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133
Andrew Roberts <andrewm.roberts at sky dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewm.roberts at sky dot com --- Comment #4 from Andrew Roberts <andrewm.roberts at sky dot com> --- I've built latest snapshot on Arch Linux Arm aarch64 Odroid-C2 system and see the same thing: /usr/local/gcc-6.0.0/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc-6.0.0/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc-6.0.0/libexec/gcc/aarch64-unknown-linux-gnu/6 .0.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: ../gcc-6.0.0/configure --prefix=/usr/local/gcc-6.0.0 --program- suffix= --disable-werror --enable-shared --enable-threads=posix --enable-checkin g=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exception s --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=g nu --enable-plugin --enable-initfini-array --enable-gnu-indirect-function --enab le-lto --with-isl --enable-languages=c,c++,fortran --disable-libgcj --enable-clo cale=gnu --disable-libstdcxx-pch --enable-install-libiberty --disable-multilib - -enable-shared --enable-clocale=gnu --with-arch-directory=aarch64 --enable-multi arch --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --target =aarch64-unknown-linux-gnu --with-arch=armv8-a --disable-bootstrap Thread model: posix gcc version 6.0.0 20160313 (experimental) (GCC) echo "int main(void) { return 0; }" | /usr/local/gcc-6.0.0/bin/gcc -march=native -c -x c - Assembler messages: Error: must specify extensions to add before specifying those to remove Error: unrecognized option -march=armv8-a+fp+simd+nocrypto+crc+nolse Where as: echo "int main(void) { return 0; }" | /usr/local/gcc-6.0.0/bin/gcc -march=armv8- a+simd+crc+nolse -c -x c - works This is with binutils: ld -v GNU ld (GNU Binutils) 2.26.0.20160302 cat /proc/cpuinfo Processor : AArch64 Processor rev 4 (aarch64) processor : 0 processor : 1 processor : 2 processor : 3 Features : fp asimd crc32 CPU implementer : 0x41 CPU architecture: AArch64 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 Hardware : ODROID-C2 Revision : 020b uname -a Linux alarm 3.14.29-10-ARCH #1 SMP PREEMPT Wed Mar 16 20:13:56 MDT 2016 aarch64 GNU/Linux I also saw the same thing with the Linero compiler on Ubuntu, and Arch Linux's gcc 5.3.0. I did try to build gcc 6 snapshot on Ubuntu to report it but it was too flakey, Arch Works better.