Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Current master fails to build on i686-pc-linux-gnu
@ 2019-12-24 20:44 Ruslan Kabatsayev
  2019-12-24 21:51 ` Simon Marchi
  0 siblings, 1 reply; 5+ messages in thread
From: Ruslan Kabatsayev @ 2019-12-24 20:44 UTC (permalink / raw)
  To: GDB Patches, tankut.baris.aktemur

Hello,

Building current master of binutils-gdb (commit ebd1c6d1d30; git-blame
points to commits e35000a7f8be and d0922fcf02c6) results in some
-Werror=format= errors on i686-pc-linux-gnu:

In file included from dwarf2read.c:47:0:
dwarf2read.c: In function ‘bool is_valid_DW_AT_defaulted(ULONGEST)’:
complaints.h:38:40: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 2 has type ‘ULONGEST {aka long long
unsigned int}’ [-Werror=format=]
  complaint_internal (FMT, ##__VA_ARGS__);  \
                                        ^
dwarf2read.c:15490:3: note: in expansion of macro ‘complaint’
   complaint (_("unrecognized DW_AT_defaulted value (%lu)"), value);
   ^~~~~~~~~
dwarf2read.c: In function ‘bool
is_valid_DW_AT_calling_convention_for_type(ULONGEST)’:
complaints.h:38:40: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 2 has type ‘ULONGEST {aka long long
unsigned int}’ [-Werror=format=]
  complaint_internal (FMT, ##__VA_ARGS__);  \
                                        ^
dwarf2read.c:15869:7: note: in expansion of macro ‘complaint’
       complaint (_("unrecognized DW_AT_calling_convention value "
       ^~~~~~~~~
dwarf2read.c: In function ‘bool
is_valid_DW_AT_calling_convention_for_subroutine(ULONGEST)’:
complaints.h:38:40: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 2 has type ‘ULONGEST {aka long long
unsigned int}’ [-Werror=format=]
  complaint_internal (FMT, ##__VA_ARGS__);  \
                                        ^
dwarf2read.c:15895:7: note: in expansion of macro ‘complaint’
       complaint (_("unrecognized DW_AT_calling_convention value "
       ^~~~~~~~~

Regards,
Ruslan


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-27 17:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-24 20:44 Current master fails to build on i686-pc-linux-gnu Ruslan Kabatsayev
2019-12-24 21:51 ` Simon Marchi
2019-12-25 21:16   ` Ruslan Kabatsayev
2019-12-26 15:40     ` Simon Marchi
2019-12-27 17:23     ` Aktemur, Tankut Baris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox