i just checked out the recent version (2458) of the psptoolchain and it seems to have slight problems compiling gdb-6.8 successfully. last few compile lines:
Code: Select all
gcc -c -g -O2 -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/pspdev/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror ../../gdb/value.c
gcc -c -g -O2 -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/pspdev/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror ../../gdb/eval.c
cc1: warnings being treated as errors
../../gdb/eval.c: In function ?evaluate_subexp_standard?:
../../gdb/eval.c:1705: error: ?subscript_array? may be used uninitialized in this function
make[2]: *** [eval.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/home/nem/psptoolchain/build/gdb-6.8/build-psp/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory
`/home/nem/psptoolchain/build/gdb-6.8/build-psp'
make: *** [all] Error 2
../scripts/007-gdb-6.8.sh: Failed.
this is on a freshly installed archlinux.
and here's just something that i'm interested in. this warning's filling the screen during quite a major part of the toolchaincompilation:
Code: Select all
warning: invoking macro VEC_TA_GTY argument 4: empty macro arguments are undefined in ISO C90 and ISO C++98
thanks.