This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/57841] New: Assembler error on gcc for ARM


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57841

            Bug ID: 57841
           Summary: Assembler error on gcc for ARM
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: a.livenets at gmail dot com

Created attachment 30472
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30472&action=edit
Source file with compilation errors

$ arm-cortex_a8-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-cortex_a8-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/home/chogori/x-tools/arm-cortex_a8-linux-gnueabi/libexec/gcc/arm-cortex_a8-linux-gnueabi/4.7.2/lto-wrapper
Target: arm-cortex_a8-linux-gnueabi
Configured with:
/home/chogori/arm-linux-toolchain/.build/src/gcc-4.7.2/configure
--build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu
--target=arm-cortex_a8-linux-gnueabi
--prefix=/home/chogori/x-tools/arm-cortex_a8-linux-gnueabi
--with-sysroot=/home/chogori/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sysroot
--enable-languages=c,c++ --with-arch=armv7-a --with-cpu=cortex-a8
--with-tune=cortex-a8 --with-fpu=neon --with-float=softfp
--with-pkgversion='crosstool-NG 1.18.0' --disable-sjlj-exceptions
--enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp
--disable-libquadmath --disable-libquadmath-support
--with-gmp=/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools
--with-mpfr=/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools
--with-mpc=/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools
--with-ppl=/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools
--with-cloog=/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools
--with-libelf=/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm
-L/home/chogori/arm-linux-toolchain/.build/arm-cortex_a8-linux-gnueabi/buildtools/lib
-lpwl' --enable-threads=posix --enable-target-optspace --enable-linker-build-id
--with-system-zlib --enable-multilib
--with-local-prefix=/home/chogori/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sysroot
--enable-c99 --enable-long-long
Thread model: posix
gcc version 4.7.2 (crosstool-NG 1.18.0) 

The gcc cross-compiler for ARM fails to compile the attached source file

The error is following:
    Assembler messages:
    Error: ']' expected -- `vst2.32 {d16-d17},[r3:64]'

arm-gcc cross-compilation flags: -c -O3 -march=armv7a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp

When using -O2 flag or uncommenting the string 1, the compilation is
successful.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]