This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

ia64 build failure against master


I was trying to compile the latest source on ia64 and got this error:

make[3]: Leaving directory '/mnt/b/native/binutils-gdb/build/gdb'
g++ -x c++  -g -O2   -I. -I../../gdb -I../../gdb/common
-I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../gdb/../include/opcode
-I../../gdb/../opcodes/.. -I../../gdb/../readline/..
-I../../gdb/../zlib -I../bfd -I../../gdb/../bfd -I../../gdb/../include
-I../libdecnumber -I../../gdb/../libdecnumber
-I../../gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1   -pthread
-I/usr/include/guile/2.0 -I/usr/include/python2.7
-I/usr/include/python2.7 -Wall -Wpointer-arith -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
-Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized
-Werror -c -o gdb.o -MT gdb.o -MMD -MP -MF ./.deps/gdb.Tpo
../../gdb/gdb.c
g++ -x c++  -g -O2   -I. -I../../gdb -I../../gdb/common
-I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../gdb/../include/opcode
-I../../gdb/../opcodes/.. -I../../gdb/../readline/..
-I../../gdb/../zlib -I../bfd -I../../gdb/../bfd -I../../gdb/../include
-I../libdecnumber -I../../gdb/../libdecnumber
-I../../gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1   -pthread
-I/usr/include/guile/2.0 -I/usr/include/python2.7
-I/usr/include/python2.7 -Wall -Wpointer-arith -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
-Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized
-Werror -c -o ia64-tdep.o -MT ia64-tdep.o -MMD -MP -MF
./.deps/ia64-tdep.Tpo ../../gdb/ia64-tdep.c
../../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.

Jason


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