Trying to build GDB 7.2 on AIX 5.3: [...] gmake[2]: Entering directory `/tmp/gdb-build/sim' gmake[3]: Entering directory `/tmp/gdb-build/sim/ppc' tg-gcc -c -pedantic -pipe -fno-common -W -Wall -Wcast-align -Wformat=2 -Wpointer-arith -Wundef -Waggregate-return -Wcast-qual -Wmissing-declarations -Wnested-externs -Wstrict-prototypes -maix64 -mminimal-toc -O3 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS -DWITH_HOST_BYTE_ORDER=BIG_ENDIAN -DWITH_SMP=5 -DHAVE_TERMIO_STRUCTURE -DHAVE_TERMIO_CLINE -DHAVE_DEVZERO -I. -I/tmp/gdb-7.2/sim/ppc -I/tmp/gdb-7.2/sim/ppc/../../include -I../../bfd -I/tmp/gdb-7.2/sim/ppc/../../bfd -I../../gdb -I/tmp/gdb-7.2/sim/ppc/../../gdb -I/tmp/gdb-7.2/sim/ppc/../../gdb/config -DHAVE_COMMON_FPU -I../common -I/tmp/gdb-7.2/sim/ppc/../common icache.c In file included from /tmp/gdb-7.2/sim/ppc/cpu.h:25:0, from icache.c:28: /tmp/gdb-7.2/sim/ppc/basics.h:58:15: warning: comma at end of enumerator list /tmp/gdb-7.2/sim/ppc/basics.h:73:18: warning: comma at end of enumerator list [...] /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:28: error: 'MODEL_ppc601' undeclared (first use in this function) /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:28: note: each undeclared identifier is reported only once for each function it appears in /tmp/gdb-7.2/sim/ppc/ppc-instructions:4757:7: warning: line number out of range icache.c:34532:7: warning: line number out of range /tmp/gdb-7.2/sim/ppc/ppc-instructions: In function 'icache_Floating_Select_FRC0_Rc1': /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range icache.c:34595:27: warning: ISO C forbids assignment between function pointer and 'void *' /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range /tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:28: error: 'MODEL_ppc601' undeclared (first use in this function) /tmp/gdb-7.2/sim/ppc/ppc-instructions:4757:7: warning: line number out of range [...] gmake[3]: *** [icache.o] Error 1 gmake[3]: Leaving directory `/tmp/gdb-build/sim/ppc' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/tmp/gdb-build/sim' gmake[1]: *** [all-sim] Error 2 gmake[1]: Leaving directory `/tmp/gdb-build' gmake: *** [all] Error 2 There were a total of 64 errors relating to 'MODEL_ppc601' in this file.
please post the full build log as an attachment. i'm afraid you trimmed a lot of useful outputs. building on linux for your aix target works for me.
.