Thank you! I can reproduce it with options:
neon4.i -S -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fstack-protector -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -marm -D__LINUX_ARM_ARCH__=6 -march=armv6k -mtune=arm1136j-s -msoft-float -Uarm -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -ffreestanding -mfloat-abi=softfp -mfpu=neon -g
Please report a bug again linaro toolchain with the test case and cmd line options at https://bugs.launchpad.net/gcc-linaro
If this blocks your work, please remove "-g' option to workaround it.
Thanks! -Zhenqiang
On 14 January 2014 15:09, Koen Kooi koen.kooi@linaro.org wrote:
On 01/14/2014 02:39 AM, Zhenqiang Chen wrote:
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?
make V=1 reports:
arm-angstrom-linux-gnueabi-gcc -Wp,-MD,lib/raid6/.neon4.o.d -nostdinc -isystem /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/x86_64-linux/usr/lib/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.8.3/include -I/build/Projects/kernel/linux-linaro-tracking/arch/arm/include -Iarch/arm/include/generated -Iinclude -I/build/Projects/kernel/linux-linaro-tracking/arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I/build/Projects/kernel/linux-linaro-tracking/include/uapi -Iinclude/generated/uapi -include /build/Projects/kernel/linux-linaro-tracking/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fstack-protector -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -marm -D__LINUX_ARM_ARCH__=6 -march=armv6k -mtune=arm1136j-s -msoft-float -Uarm -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -ffreestanding -mfloat-abi=softfp -mfpu=neon -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(neon4)" -D"KBUILD_MODNAME=KBUILD_STR(raid6_pq)" -c -o lib/raid6/.tmp_neon4.o lib/raid6/neon4.c
regards,
Koen
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
-- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs