Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 4.07 KB | None | 0 0
  1. g++ -x c++ -std=gnu++11 -g -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1  -I/usr/local/include/python2.7 -I/usr/local/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  -c -o aarch64-linux-hw-point.o -MT aarch64-linux-hw-point.o -MMD -MP -MF ./.deps/aarch64-linux-hw-point.Tpo nat/aarch64-linux-hw-point.c
  2. In file included from nat/aarch64-linux-hw-point.c:26:0:
  3. /usr/local/include/sys/ptrace.h:75:4: error: expected identifier before numeric constant
  4.     PTRACE_GETREGS = 12,
  5.     ^
  6. /usr/local/include/sys/ptrace.h:75:4: error: expected ‘}’ before numeric constant
  7. /usr/local/include/sys/ptrace.h:75:4: error: expected unqualified-id before numeric constant
  8. In file included from /usr/local/include/features.h:368:0,
  9.                  from /usr/local/include/stdio.h:27,
  10.                  from build-gnulib/import/stdio.h:43,
  11.                  from ./common/common-defs.h:52,
  12.                  from nat/aarch64-linux-hw-point.c:19:
  13. /usr/local/include/sys/ptrace.h:225:1: error: expected declaration before ‘}’ token
  14.  __END_DECLS
  15.  ^
  16. make[2]: *** [Makefile:1640: aarch64-linux-hw-point.o] Error 1
  17. make[2]: *** Waiting for unfinished jobs....
  18. In file included from ./common/common-defs.h:79:0,
  19.                  from defs.h:28,
  20.                  from aarch64-linux-nat.c:21:
  21. aarch64-linux-nat.c: In function ‘void fetch_fpregs_from_thread(regcache*):
  22. ./common/gdb_assert.h:25:33: error: static assertion failed:
  23.  #define gdb_static_assert(expr) static_assert (expr, "")
  24.                                  ^
  25. aarch64-linux-nat.c:245:3: note: in expansion of macro ‘gdb_static_assert’
  26.    gdb_static_assert (sizeof regs >= VFP_REGS_SIZE);
  27.    ^
  28. aarch64-linux-nat.c:273:15: error: ‘elf_fpregset_t’ has no member named ‘vregs’
  29.          &regs.vregs[regno - AARCH64_V0_REGNUM]);
  30.                ^
  31. aarch64-linux-nat.c:275:65: error: attempt to take address of bit-field structure member ‘user_fpregs::fpsr’
  32.        regcache_raw_supply (regcache, AARCH64_FPSR_REGNUM, &regs.fpsr);
  33.                                                                  ^
  34. aarch64-linux-nat.c:276:65: error: attempt to take address of bit-field structure member ‘user_fpregs::fpcr’
  35.        regcache_raw_supply (regcache, AARCH64_FPCR_REGNUM, &regs.fpcr);
  36.                                                                  ^
  37. In file included from ./common/common-defs.h:79:0,
  38.                  from defs.h:28,
  39.                  from aarch64-linux-nat.c:21:
  40. aarch64-linux-nat.c: In function ‘void store_fpregs_to_thread(const regcache*):
  41. ./common/gdb_assert.h:25:33: error: static assertion failed:
  42.  #define gdb_static_assert(expr) static_assert (expr, "")
  43.                                  ^
  44. aarch64-linux-nat.c:293:3: note: in expansion of macro ‘gdb_static_assert’
  45.    gdb_static_assert (sizeof regs >= VFP_REGS_SIZE);
  46.    ^
  47. aarch64-linux-nat.c:321:20: error: ‘elf_fpregset_t’ has no member named ‘vregs’
  48.      (char *) &regs.vregs[regno - AARCH64_V0_REGNUM]);
  49.                     ^
  50. aarch64-linux-nat.c:325:25: error: attempt to take address of bit-field structure member ‘user_fpregs::fpsr’
  51.           (char *) &regs.fpsr);
  52.                          ^
  53. aarch64-linux-nat.c:328:25: error: attempt to take address of bit-field structure member ‘user_fpregs::fpcr’
  54.           (char *) &regs.fpcr);
  55.                          ^
  56. make[2]: *** [Makefile:1621: aarch64-linux-nat.o] Error 1
  57. make[2]: Leaving directory '/usr/local/tmp/crew/gdb-8.1.tar.xz.dir/gdb-8.1/gdb'
  58. make[1]: *** [Makefile:9127: all-gdb] Error 2
  59. make[1]: Leaving directory '/usr/local/tmp/crew/gdb-8.1.tar.xz.dir/gdb-8.1'
  60. make: *** [Makefile:850: all] Error 2
  61. gdb failed to install: `make V=0 -j4` exited with 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement