I tries Linaro standard build. And I can not reproduce it with the options: -O2 -g -mfpu=neon -O3 -g -mfpu=neon
What's your option to compile the file?
Thanks! -Zhenqiang
On 13 January 2014 18:11, Koen Kooi koen.kooi@linaro.org wrote:
On 01/13/2014 10:25 AM, Will Newton wrote:
On 13 January 2014 09:19, Zhenqiang Chen zhenqiang.chen@linaro.org wrote:
Can you attach the preprocessed C file? Add option --save-temps to compile neon4 source file. Then you will get a temp file neon4.i
Thanks! -Zhenqiang
On 13 January 2014 14:56, Koen Kooi koen.kooi@linaro.org wrote:
Hi,
I've been playing with linux-linaro-tracking and the 2013.12 (and 2013.10, 2013.11) toolchain release and when turning on the NEON in kernel option I get:
CC lib/raid6/neon4.o lib/raid6/neon4.c: In function 'raid6_neon4_gen_syndrome_real': lib/raid6/neon4.c:113:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1078 } ^
Use the attached .txt as .config and do 'make zImage' to replicate the problem. You will probably need to attached patch as well since some of the linaro patches break namespace support :(
I believe the kernel build system can get you the pre-processed source with, e.g.:
# make lib/raid6/neon4.i
The kernel does support that, which makes this a lot easier. Neon4.i is attached. I forgot to mention, this is with gcc 4.8:
[koen@macbook linux-linaro-tracking]$ !arm arm-angstrom-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=arm-angstrom-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/libexec/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.8.3/lto-wrapper Target: arm-angstrom-linux-gnueabi Configured with: /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/configure --build=x86_64-linux --host=x86_64-linux --target=arm-angstrom-linux-gnueabi --prefix=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr --exec_prefix=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr --bindir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi --sbindir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi --libexecdir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/libexec/armv7ahf-vfp-neon-angstrom-linux-gnueabi --datadir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/share --sysconfdir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/etc --sharedstatedir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/com --localstatedir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/var --libdir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/lib/armv7ahf-vfp-neon-angstrom-linux-gnueabi --includedir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include --oldincludedir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/include --infodir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/share/info --mandir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux --enable-clocale=generic --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --without-local-prefix --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --with-float=hard --with-gxx-include-dir=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/beaglebone/usr/include/c++ --with-sysroot=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/beaglebone --with-build-sysroot=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/beaglebone --enable-poison-system-directories --disable-libunwind-exceptions --with-mpfr=/build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr --with-system-zlib --disable-nls Thread model: posix gcc version 4.8.3 20131202 (prerelease) (Linaro GCC 4.8-2013.12)
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain