When ebuilding GDB 5.1.1 and above (I have not tried any earlier versions) I get the following error message (it is the same for both versions): -- Snip Error -- gcc -c -O2 -pipe -mmultiple -mstring -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized utils.c In file included from /usr/include/curses.h:111, from utils.c:30: /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.3/include/stdbool.h:9: conflicting types for `false' ../bfd/bfd.h:102: previous declaration of `false' /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.3/include/stdbool.h:11: conflicting types for `true' ../bfd/bfd.h:102: previous declaration of `true' make[1]: *** [utils.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdb-5.1.1/work/gdb-5.1.1/gdb' make: *** [all-gdb] Error 2 -- End Error -- I have not looked into the error other then to note that this does not happen when building against gdb-5.2.cvs20020401 obtained from debian.
fixed in gdb-5.1.1-r2