This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB AIX build broken


[fixed Tom's address]

On 10/24/2016 11:40 PM, David Edelsohn wrote:
> GDB build on AIX is broken due to a recent commit.
> 

Which commit?  Maybe the gnulib update?  Is this a clean
build from scratch?

> /home/dje/src/binutils-gdb/gdb/common/buffer.c
> /home/dje/src/binutils-gdb/gdb/common/buffer.c: In function 'void
> buffer_xml_printf(buffer*, const char*, ...)':
> /home/dje/src/binutils-gdb/gdb/common/buffer.c:133:27: error: expected
> ')' before 'PRId64'
>          sprintf (str, "%" PRId64,
>                            ^~~~~~

> Errors with PRIxxx macros normally mean a problem with header file
> inclusion.  for example, gdb/btrace.c, which also uses PRIxxx macros,
> builds without error.

Sounds like what you'd get if PRId64 is not defined in that
compilation unit, somehow.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]