Build regression on 32-bit hosts [Re: [PATCH] fix PR symtab/15597]

Jan Kratochvil
2013-10-09T14:54:11Z

On Wed, 09 Oct 2013 16:08:56 +0200, Tom Tromey wrote:
> Here's the fix I am checking in.

commit 1677499f5afa31d6f07f0caca3eaca3855e70348
Author: Tom Tromey <tromey@redhat.com>
Date: Wed Oct 9 14:26:26 2013 +0000
bfd
* bfd-in2.h: Rebuild.
* opncls.c (bfd_get_alt_debug_link_info): Change type of
buildid_len to bfd_size_type.
gdb
* dwarf2read.c (dwarf2_get_dwz_file): Update for type change in
bfd_get_alt_debug_link_info.

opncls.c: In function ‘get_alt_debug_link_info_shim’:
opncls.c:1485:3: error: passing argument 2 of ‘bfd_get_alt_debug_link_info’ from incompatible pointer type [-Werror]
opncls.c:1211:1: note: expected ‘bfd_size_type *’ but argument is of type ‘size_t *’

Jan