This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Oh dear. I regret to inform you that commit 'PR22048, Incorrect .eh_frame section in libc.so' might be unfortunate
- From: Alan Modra <amodra at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 31 Aug 2017 14:09:54 +0930
- Subject: Re: Oh dear. I regret to inform you that commit 'PR22048, Incorrect .eh_frame section in libc.so' might be unfortunate
- Authentication-results: sourceware.org; auth=none
- References: <E1dnGqz-0004v0-Sf@kwanyin.sergiodj.net>
On Thu, Aug 31, 2017 at 12:13:17AM -0400, gdb-buildbot@sergiodj.net wrote:
> My lords, ladies, gentlemen, members of the public.
>
> It is a matter of great regret and sadness to inform you that commit:
Why don't these messages appear on the gdb-patches mailing list to
annoy gdb contributors into fixing the real problem?
> ../../binutils-gdb/gdb/sparc64-tdep.c: In function bool adi_available():
> ../../binutils-gdb/gdb/sparc64-tdep.c:226:46: error: cannot convert long unsigned int* to CORE_ADDR* {aka long long unsigned int*} for argument 3 to int target_auxv_search(target_ops*, CORE_ADDR, CORE_ADDR*)
> &proc->stat.blksize) <= 0)
> ^
> ../../binutils-gdb/gdb/sparc64-tdep.c:228:71: error: cannot convert long unsigned int* to CORE_ADDR* {aka long long unsigned int*} for argument 3 to int target_auxv_search(target_ops*, CORE_ADDR, CORE_ADDR*)
> target_auxv_search (¤t_target, AT_ADI_NBITS, &proc->stat.nbits);
> ^
> ../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_read_versions(CORE_ADDR, size_t, unsigned char*):
> ../../binutils-gdb/gdb/sparc64-tdep.c:349:72: error: format %lx expects argument of type long unsigned int, but argument 2 has type CORE_ADDR {aka long long unsigned int} [-Werror=format=]
> error(_("Address at 0x%lx is not in ADI maps"), vaddr*ast.blksize);
> ^
> ../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_write_versions(CORE_ADDR, size_t, unsigned char*):
> ../../binutils-gdb/gdb/sparc64-tdep.c:369:72: error: format %lx expects argument of type long unsigned int, but argument 2 has type CORE_ADDR {aka long long unsigned int} [-Werror=format=]
> error(_("Address at 0x%lx is not in ADI maps"), vaddr*ast.blksize);
> ^
> ../../binutils-gdb/gdb/sparc64-tdep.c: In function void adi_print_versions(CORE_ADDR, size_t, unsigned char*):
> ../../binutils-gdb/gdb/sparc64-tdep.c:390:63: error: format %lx expects argument of type long unsigned int, but argument 2 has type CORE_ADDR {aka long long unsigned int} [-Werror=format=]
> printf_filtered ("0x%016lx:\t", vaddr * adi_stat.blksize);
> ^
> ../../binutils-gdb/gdb/sparc64-tdep.c: In function void do_examine(CORE_ADDR, int):
> ../../binutils-gdb/gdb/sparc64-tdep.c:421:50: error: format %lx expects argument of type long unsigned int, but argument 2 has type CORE_ADDR {aka long long unsigned int} [-Werror=format=]
> error(_("No ADI information at 0x%lx"), vaddr);
> ^
> ../../binutils-gdb/gdb/sparc64-tdep.c: In function void do_assign(CORE_ADDR, size_t, int):
> ../../binutils-gdb/gdb/sparc64-tdep.c:441:50: error: format %lx expects argument of type long unsigned int, but argument 2 has type CORE_ADDR {aka long long unsigned int} [-Werror=format=]
> error(_("No ADI information at 0x%lx"), vaddr);
> ^
> arm-linux-gnueabihf-g++-4.8 -x c++ -std=gnu++11 -g -O2 -I. -I../../binutils-gdb/gdb -I../../binutils-gdb/gdb/common -I../../binutils-gdb/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../binutils-gdb/gdb/../include/opcode -I../../binutils-gdb/gdb/../opcodes/.. -I../../binutils-gdb/gdb/../readline/.. -I../../binutils-gdb/gdb/../zlib -I../bfd -I../../binutils-gdb/gdb/../bfd -I../../binutils-gdb/gdb/../include -I../libdecnumber -I../../binutils-gdb/gdb/../libdecnumber -I../../binutils-gdb/gdb/gnulib/import -Ibuild-gnulib/import -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wformat-nonliteral -Werror -c -o ser-tcp.o -MT ser-tcp.o -MMD -MP -MF .deps/ser-tcp.Tpo ../../binutils-gdb/gdb/ser-tcp.c
> cc1plus: all warnings being treated as errors
> make[2]: *** [sparc64-tdep.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/qiyao/buildbot/ubuntu-aarch32-native-extended-gdbserver-m32/build/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory `/home/qiyao/buildbot/ubuntu-aarch32-native-extended-gdbserver-m32/build'
> make: *** [all] Error 2
> ============================
>
--
Alan Modra
Australia Development Lab, IBM