This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ARM not building on head?
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Fri, 09 Jan 2015 22:52:31 +0100
- Subject: Re: ARM not building on head?
- Authentication-results: sourceware.org; auth=none
- References: <54B042B0 dot 4030102 at oarcorp dot com>
Appologies,
this is mine. But I couldn't bootstrap arm so far.
On 09.01.15 22:05, Joel Sherrill wrote:
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);
Committed as obvious.
Again, sorry for the troubles.
Andreas
2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
* config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
Index: arm.h
===================================================================
--- arm.h (revision 219411)
+++ arm.h (working copy)
@@ -768,7 +768,7 @@
/* The maximum size of the sync library functions supported. */
#ifndef MAX_SYNC_LIBFUNC_SIZE
-#define MAX_SYNC_LIBFUNC_SIZE (2 * UNITS_PER_WORD);
+#define MAX_SYNC_LIBFUNC_SIZE (2 * UNITS_PER_WORD)
#endif