From: hypo <hyp...@gm...> - 2008-12-21 12:47:42
|
hi all, I've had to move my buildroot setup (v 1614) to a newer ubuntu installation (8.10). My basic build succeeds, but when i enable gdb support, gdbclient make fails. it seems to be because all warnings are treated as errors. Has anyone seen this before? Any ideas about the best way to work around this? I assume i'll have to turn off the -Werror option in some makefile, but i'd like to leverage any effort people might have already put in to this. Also, i don't want to miss any "genuine" warnings when i do this. configuration: buildroot version 1614 host: ubuntu 8.10 (everything worked under ubuntu 7.1) gumstix: verdex xlp make report: cc1: warnings being treated as errors <<< this is what caught my eye gcc -DHAVE_CONFIG_H -I. -I/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes -I. -D_GNU_SOURCE -I. -I/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes -I../bfd -I/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/../include -I/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/../bfd -I/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/arm-dis.c -o arm-dis.o cc1: warnings being treated as errors /home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/arm-dis.c: In function 'print_insn_thumb16': /home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/arm-dis.c:2155: error: format not a string literal and no format arguments /home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdb-6.4/opcodes/arm-dis.c:2162: error: format not a string literal and no format arguments make[5]: *** [arm-dis.lo] Error 1 make[5]: Leaving directory `/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdbclient-6.4/opcodes' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdbclient-6.4/opcodes' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdbclient-6.4/opcodes' make[2]: *** [all-opcodes] Error 2 make[2]: Leaving directory `/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdbclient-6.4' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdbclient-6.4' make: *** [/home/hypo/gumstix/gumstix-buildroot-1614/toolchain_build_arm_nofpu/gdbclient-6.4/gdb/gdb] Error 2 thanks, hypo -- View this message in context: http://www.nabble.com/make-gdbclient-failure-tp21114770p21114770.html Sent from the Gumstix mailing list archive at Nabble.com. |