Re: GCC Cortex-A17, "genattrtab: unknown value `alu_sreg' for `type' attribute"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx <mailto:kyrylo.tkachov@xxxxxxx>> 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.











[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux