This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Cortex-A17, "genattrtab: unknown value `alu_sreg' for `type' attribute"
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: Abhisit Sangjan <s dot abhisit at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2014 10:00:10 +0000
- Subject: Re: GCC Cortex-A17, "genattrtab: unknown value `alu_sreg' for `type' attribute"
- Authentication-results: sourceware.org; auth=none
- References: <CAMV_pUaefH3fw7r8YgEcqwk2NoZsnwjL+wU=X5dk2abjOTF_yQ at mail dot gmail dot com> <5469CFB8 dot 9040504 at arm dot com> <CAMV_pUb00=4ywvOhxkXBPB=A2VSUL-nbJ87oqJ5Oh6v73p1prQ at mail dot gmail dot com>
CC'ing gcc-help as it is the proper channel for such discussions
On 17/11/14 23:25, Abhisit Sangjan wrote:
Hi Kyrylo Tkachov,
Thank so much for your reply ^_^.
I have one question.
What is best performance on Cortex-A17? "GCC 4.9.2 +
-march=armv7ve -mtune=cortex-a12-mfpu=neon-vfpv4" or "GCC 5.0.0 + your
patch + -march=armv7ve -mtune=cortex-a17-mfpu=neon-vfpv4".
That is not easy to answer. It largely depends on your workloads and
potential improvements or regressions with GCC 5.0 may
be caused by other changes in the compiler that have happened since 4.9.
I remind you that GCC 5 has not been released yet and is in a
relatively unstable state at the moment due to stage1 development
having just closed last Saturday.
Kyrill
Thank you,
Abhisit.
On Mon, Nov 17, 2014 at 5:36 AM, Kyrill Tkachov
<kyrylo.tkachov@arm.com <mailto:kyrylo.tkachov@arm.com>> wrote:
Hi Abhisit,
The patch was made for the gcc trunk, not the 4.9.2 codebase. It's
not expected to apply there.
If accepted this patch will be part of the GCC 5 release.
If you want to try it out I suggest you checkout the current gcc
trunk and apply it there.
Cheers,
Kyrill
On 17/11/14 03:12, Abhisit Sangjan wrote:
Hello Kyrylo Tkachov,
I am sorry, if I make disturb to you.
I create GCC cross compile by GCC 4.9.2 for ARM Cortex-A17, I
added your patch - > http://patchwork.ozlabs.org/patch/410511/.
I got this message "genattrtab: unknown value `alu_sreg' for
`type' attribute".
Please help me, How can I fix it?
make[2]: Entering directory `/opt/toolchain/build/gcc-1st/gcc'
g++ -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -I. -I. -I/opt/toolchain/src/gcc-4.9.2/gcc
-I/opt/toolchain/src/gcc-4.9.2/gcc/.
-I/opt/toolchain/src/gcc-4.9.2/gcc/../include
-I/opt/toolchain/src/gcc-4.9.2/gcc/../libcpp/include
-I/opt/toolchain/build/gcc-1st/./gmp
-I/opt/toolchain/src/gcc-4.9.2/gmp
-I/opt/toolchain/build/gcc-1st/./mpfr
-I/opt/toolchain/src/gcc-4.9.2/mpfr
-I/opt/toolchain/src/gcc-4.9.2/mpc/src
-I/opt/toolchain/src/gcc-4.9.2/gcc/../libdecnumber
-I/opt/toolchain/src/gcc-4.9.2/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/opt/toolchain/src/gcc-4.9.2/gcc/../libbacktrace
-DCLOOG_INT_GMP -I/opt/toolchain/build/gcc-1st/./cloog/include
-I/opt/toolchain/src/gcc-4.9.2/cloog/include
-I/opt/toolchain/src/gcc-4.9.2/cloog/include
-I/opt/toolchain/build/gcc-1st/./isl/include
-I/opt/toolchain/src/gcc-4.9.2/isl/include -o glibc-c.o -MT
glibc-c.o -MMD -MP -MF ./.deps/glibc-c.TPo
/opt/toolchain/src/gcc-4.9.2/gcc/config/glibc-c.c
build/genattrtab
/opt/toolchain/src/gcc-4.9.2/gcc/config/arm/arm.md
<http://arm.md> <http://arm.md> insn-conditions.md
<http://insn-conditions.md> <http://insn-conditions.md> \
-Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
genattrtab: unknown value `alu_sreg' for `type' attribute
make[2]: *** [s-attrtab] Error 1
make[2]: Leaving directory `/opt/toolchain/build/gcc-1st/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/opt/toolchain/build/gcc-1st'
make: *** [all] Error 2
Thank you,
Abhisit.