This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ia64 build failure against master
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Jason Duerstock <jason dot duerstock at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>, Yao Qi <yao dot qi at linaro dot org>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 8 Mar 2018 16:08:02 +0000
- Subject: Re: ia64 build failure against master
- Authentication-results: sourceware.org; auth=none
- References: <CAP5F8c+oi50ds7iqmbkfRgEuJjwOLfUe_TsackBwso3FwQreBQ@mail.gmail.com>
On Thu, Mar 8, 2018 at 3:08 PM, Jason Duerstock
<jason.duerstock@gmail.com> wrote:
> I was trying to compile the latest source on ia64 and got this error:
>
> ../../gdb/ia64-tdep.c: In function ‘register_status
> ia64_pseudo_register_read(gdbarch*, readable_regcache*, int,
> gdb_byte*)’:
> ../../gdb/ia64-tdep.c:942:64: error: invalid conversion from
> ‘readable_regcache*’ to ‘regcache*’ [-fpermissive]
> || libunwind_get_reg_special (gdbarch, regcache, regnum, buf) != 0)
> ^
> In file included from ../../gdb/ia64-tdep.h:25:0,
> from ../../gdb/ia64-tdep.c:39:
> ../../gdb/ia64-libunwind-tdep.h:73:5: note: initializing argument 2
> of ‘int libunwind_get_reg_special(gdbarch*, regcache*, int, void*)’
> int libunwind_get_reg_special (struct gdbarch *gdbarch,
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> make[2]: *** [Makefile:1605: ia64-tdep.o] Error 1
> make[2]: Leaving directory '/mnt/b/native/binutils-gdb/build/gdb'
> make[1]: *** [Makefile:10421: all-gdb] Error 2
> make[1]: Leaving directory '/mnt/b/native/binutils-gdb/build'
> make: *** [Makefile:850: all] Error 2
>
> It looks related to commit 849d0ba8. My system has libunwind installed.
>
I'll take a look.
--
Yao (齐尧)