ia64 build failure against master

Yao Qi qiyaoltc@gmail.com
Thu Mar 8 16:08:00 GMT 2018


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 (齐尧)



More information about the Gdb-patches mailing list