On 10.01.15 01:00, Joel Sherrill wrote:
FWIW fixing the semicolon only let's the build get to an ICE. :(

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64551

Applied the proposal and was able to build a cross-compiler.

Andreas


On January 9, 2015 4:00:38 PM CST, Jan-Benedict Glaw <jbg...@lug-owl.de>
wrote:

    On Fri, 2015-01-09 15:05:52 -0600, Joel Sherrill 
<joel.sherr...@oarcorp.com> wrote:

        Hi

        Does anyone else see this? There is a semi-colon at the end of
        gcc/config/arm/arm.h:771 which I don't think should be there.

        g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions
        -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
        -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
        -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
        -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I.
        -I/users/joel/test-gcc/gcc/gcc -I/users/joel/test-gcc/gcc/gcc/.
        -I/users/joel/test-gcc/gcc/gcc/../include
        -I/users/joel/test-gcc/gcc/gcc/../libcpp/include
        -I/users/joel/test-gcc/gcc/gcc/../libdecnumber
        -I/users/joel/test-gcc/gcc/gcc/../libdecnumber/dpd -I../libdecnumber
        -I/users/joel/test-gcc/gcc/gcc/../libbacktrace -o arm.o -MT
        arm.o -MMD
        -MP -MF ./.deps/arm.TPo
        /users/joel/test-gcc/gcc/gcc/config/arm/arm.c
        In file included from ./tm.h:26:0,
        from /users/joel/test-gcc/gcc/gcc/config/arm/arm.c:27:
        /users/joel/test-gcc/gcc/gcc/config/arm/arm.c: In function ‘void
        arm_init_libfuncs()’:
        /users/joel/test-gcc/gcc/gcc/config/arm/arm.h:771:51: error:
        expected
        ‘)’ before ‘;’ token
        #define MAX_SYNC_LIBFUNC_SIZE (2 * UNITS_PER_WORD);
        ^
        /users/joel/test-gcc/gcc/gcc/config/arm/arm.c:2163:25: note: in
        expansion of macro ‘MAX_SYNC_LIBFUNC_SIZE’
        init_sync_libfuncs (MAX_SYNC_LIBFUNC_SIZE);
        ^
        /users/joel/test-gcc/gcc/gcc/config/arm/arm.c:2163:46: error:
        expected
        primary-expression before ‘)’ token
        init_sync_libfuncs (MAX_SYNC_LIBFUNC_SIZE);
        ^
        make[2]: *** [arm.o] Error 1
        make[2]: Leaving directory `/home2/joel/build/b-arm-gcc/gcc'
        make[1]: *** [all-gcc] Error 2
        make[1]: Leaving directory `/home2/joel/build/b-arm-gcc'
        make: *** [all] Error 2


    Sure, my build robot found it as well; it's probably just a typo. Easy
    to fix.

    MfG, JBG


--joel

Reply via email to