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

gnat-4.2 FTBFS on powerpc: syntax errors in insn-automata.c



The buildd log below shows syntax errors in one of the GCC back-end
source files, generated earlier in the build process.  I see that
gcc-4.2 has no log on powerpc because Matthias built it manually.
Matthias, is there anything special needed to build on powerpc?

Thanks!

-- 
Ludovic Brenta.

Log excerpt follows:

gcc-4.1 -c   -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute   -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber -I../libdecnumber    insn-automata.c -o insn-automata.o
insn-automata.c:1:1: warning: null character(s) ignored
insn-automata.c:1: error: expected identifier or '(' before numeric constant
insn-automata.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:3610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8054: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8093: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8397: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8646: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:8685: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:11242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:13799: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:13838: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:13867: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:13890: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:13929: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14237: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14317: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14356: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14372: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14388: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14449: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14471: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14510: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14517: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14521: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14560: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14583: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14592: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14631: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14647: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14663: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14702: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14770: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14806: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:14845: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:19497: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:25452: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:25491: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:25903: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26328: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26367: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26375: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26380: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26419: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26493: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26532: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:26571: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:28263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:30915: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:30954: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:32156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:33580: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:33619: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:33693: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ATTRIBUTE_UNUSED'
insn-automata.c:33775: error: expected ';', ',' or ')' before 'ATTRIBUTE_UNUSED'
insn-automata.c:34603: error: expected ';', ',' or ')' before 'ATTRIBUTE_UNUSED'
insn-automata.c: In function 'dfa_insn_code_enlarge':
insn-automata.c:35783: warning: implicit declaration of function 'xrealloc'
insn-automata.c:35784: warning: assignment makes pointer from integer without a cast
insn-automata.c: At top level:
insn-automata.c:35790: error: expected ')' before 'insn'
insn-automata.c:35808: error: expected ')' before 'state'
insn-automata.c:35825: error: expected ')' before 'state'
insn-automata.c:35842: warning: parameter names (without types) in function declaration
insn-automata.c:35842: warning: unused parameter 'ARG_UNUSED'
insn-automata.c:35848: error: expected ')' before 'state'
insn-automata.c:35855: warning: no previous prototype for 'state_size'
insn-automata.c: In function 'internal_reset':
insn-automata.c:35862: warning: implicit declaration of function 'memset'
insn-automata.c:35862: warning: incompatible implicit declaration of built-in function 'memset'
insn-automata.c: At top level:
insn-automata.c:35866: error: expected ')' before 'state'
insn-automata.c:35872: error: expected ')' before 'state'
insn-automata.c:35904: error: expected ';', ',' or ')' before 'ATTRIBUTE_UNUSED'
insn-automata.c:36123: error: expected ')' before 'insn'
insn-automata.c:36150: error: expected ')' before '*' token
insn-automata.c:36566: warning: no previous prototype for 'dfa_clean_insn_cache'
insn-automata.c:36574: error: expected ')' before 'insn'
insn-automata.c:36585: warning: no previous prototype for 'dfa_start'
insn-automata.c: In function 'dfa_start':
insn-automata.c:36586: warning: implicit declaration of function 'get_max_uid'
insn-automata.c:36587: warning: implicit declaration of function 'xmalloc'
insn-automata.c:36587: warning: assignment makes pointer from integer without a cast
insn-automata.c: At top level:
insn-automata.c:36593: warning: no previous prototype for 'dfa_finish'
insn-automata.c: In function 'dfa_finish':
insn-automata.c:36594: warning: implicit declaration of function 'free'
make[7]: *** [insn-automata.o] Error 1
make[7]: Leaving directory `/build/buildd/gnat-4.2-4.2-20070712/build/gcc'
make[6]: *** [extra] Error 2
make[6]: *** Waiting for unfinished jobs....



Reply to: