David got me past my first problem.
AIX 6.1 TL07 SP03, gcc 4.5.2 git repository on "master". Last pull was
> commit 43780738cd22a2fbea5fd7d8260a76e0c3121f43
> Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
> Date: Sat Oct 20 14:19:12 2012 +0000
Here is the new error:
> /gsa/ausgsa/projects/r/ruby/bin/bash /usr/work/src/gcc.git/gcc/mkconfig.sh
> bconfig.h
> /usr/work/build/gcc.git/./prev-gcc/g++ -B/usr/work/build/gcc.git/./prev-gcc/
> -B/gsa/ausgsa/projects/r/ruby/powerpc-ibm-aix6.1.0.0/bin/ -nostdinc++
> -B/usr/work/build/gcc.git/prev-powerpc-ibm-aix6.1.0.0/libstdc++-v3/src/.libs
> -B/usr/work/build/gcc.git/prev-powerpc-ibm-aix6.1.0.0/libstdc++-v3/libsupc++/.libs
>
> -I/usr/work/build/gcc.git/prev-powerpc-ibm-aix6.1.0.0/libstdc++-v3/include/powerpc-ibm-aix6.1.0.0
> -I/usr/work/build/gcc.git/prev-powerpc-ibm-aix6.1.0.0/libstdc++-v3/include
> -I/usr/work/src/gcc.git/libstdc++-v3/libsupc++
> -L/usr/work/build/gcc.git/prev-powerpc-ibm-aix6.1.0.0/libstdc++-v3/src/.libs
> -L/usr/work/build/gcc.git/prev-powerpc-ibm-aix6.1.0.0/libstdc++-v3/libsupc++/.libs
> -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
> -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
> -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/usr/work/src/gcc.git/gcc
> -I/usr/work/src/gcc.git/gcc/build -I/usr/work/src/gcc.git/gcc/../include
> -I/usr/work/src/gcc.git/gcc/../libcpp/include
> -I/usr/work/src/gcc.git/gcc/../libdecnumber
> -I/usr/work/src/gcc.git/gcc/../libdecnumber/dpd -I../libdecnumber
> -I/usr/work/src/gcc.git/gcc/../libbacktrace \
> -o build/genconstants.o /usr/work/src/gcc.git/gcc/genconstants.c
> In file included from /usr/work/src/gcc.git/gcc/system.h:639:0,
> from /usr/work/src/gcc.git/gcc/genconstants.c:29:
> /usr/work/src/gcc.git/gcc/genconstants.c: In function 'int
> print_enum_type(void**, void*)':
> /usr/work/src/gcc.git/gcc/genconstants.c:68:60: error: missing sentinel in
> function call [-Werror=format]
> value_name = ACONCAT (("num_", def->name, "_values", NULL));
> ^
> /usr/work/src/gcc.git/gcc/../include/libiberty.h:658:37: note: in definition
> of macro 'alloca'
> # define alloca(x) __builtin_alloca(x)
> ^
> /usr/work/src/gcc.git/gcc/genconstants.c:68:16: note: in expansion of macro
> 'ACONCAT'
> value_name = ACONCAT (("num_", def->name, "_values", NULL));
> ^
> /usr/work/src/gcc.git/gcc/genconstants.c:68:60: error: missing sentinel in
> function call [-Werror=format]
> value_name = ACONCAT (("num_", def->name, "_values", NULL));
> ^
> /usr/work/src/gcc.git/gcc/../include/libiberty.h:183:17: note: in definition
> of macro 'ACONCAT'
> concat_copy2 ACONCAT_PARAMS)
> ^
> cc1plus: all warnings being treated as errors