gdb 7.7.1-2014.06 doesn't build

Bug #1328775 reported by koen on 2014-06-11
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GDB
Fix Released
Undecided
Will Newton

Bug Description

build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: In function 'aarch64_fill_gregset':
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:273:62: error: dereferencing pointer to incomplete type
     collect_register (regcache, AARCH64_X0_REGNO + i, &regset->regs[i]);
                                                              ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:274:56: error: dereferencing pointer to incomplete type
   collect_register (regcache, AARCH64_SP_REGNO, &regset->sp);
                                                        ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:275:56: error: dereferencing pointer to incomplete type
   collect_register (regcache, AARCH64_PC_REGNO, &regset->pc);
                                                        ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:276:58: error: dereferencing pointer to incomplete type
   collect_register (regcache, AARCH64_CPSR_REGNO, &regset->pstate);
                                                          ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: In function 'aarch64_store_gregset':
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:286:61: error: dereferencing pointer to incomplete type
     supply_register (regcache, AARCH64_X0_REGNO + i, &regset->regs[i]);
                                                             ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:287:55: error: dereferencing pointer to incomplete type
   supply_register (regcache, AARCH64_SP_REGNO, &regset->sp);
                                                       ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:288:55: error: dereferencing pointer to incomplete type
   supply_register (regcache, AARCH64_PC_REGNO, &regset->pc);
                                                       ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:289:57: error: dereferencing pointer to incomplete type
   supply_register (regcache, AARCH64_CPSR_REGNO, &regset->pstate);
                                                         ^
aarch64-oe-linux-gcc --sysroot=/build/linaro/build/build/tmp-eglibc/sysroots/genericarmv8 -O2 -pipe -g -feliminate-unused-debug-types -I. -I/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver -I/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/../common -I/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/../regformats -I/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/.. -I/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/../../include -I/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-char-subscripts -Wempty-body -DGDBSERVER -c -o proc-service.o -MT proc-service.o -MMD -MP -MF .deps/proc-service.Tpo /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/proc-service.c
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: In function 'aarch64_fill_fpregset':
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:299:62: error: dereferencing pointer to incomplete type
     collect_register (regcache, AARCH64_V0_REGNO + i, &regset->vregs[i]);
                                                              ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: In function 'aarch64_store_fpregset':
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:309:61: error: dereferencing pointer to incomplete type
     supply_register (regcache, AARCH64_V0_REGNO + i, &regset->vregs[i]);
                                                             ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: In function 'aarch64_linux_set_debug_regs':
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:599:29: error: storage size of 'regs' isn't known
   struct user_hwdebug_state regs;
                             ^
In file included from /build/linaro/build/build/tmp-eglibc/sysroots/genericarmv8/usr/include/signal.h:342:0,
                 from /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-low.h:20,
                 from /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:23:
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:610:35: error: invalid use of undefined type 'struct user_hwdebug_state'
   iov.iov_len = (offsetof (struct user_hwdebug_state, dbg_regs[count - 1])
                                   ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:599:29: warning: unused variable 'regs' [-Wunused-variable]
   struct user_hwdebug_state regs;
                             ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: In function 'aarch64_arch_setup':
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:1194:29: error: storage size of 'dreg_state' isn't known
   struct user_hwdebug_state dreg_state;
                             ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:1194:29: warning: unused variable 'dreg_state' [-Wunused-variable]
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c: At top level:
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:1246:13: error: invalid application of 'sizeof' to incomplete type 'struct user_pt_regs'
     sizeof (struct user_pt_regs), GENERAL_REGS,
             ^
/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/gdb-linaro-7.7.1-2014.06/gdb/gdbserver/linux-aarch64-low.c:1249:13: error: invalid application of 'sizeof' to incomplete type 'struct user_fpsimd_state'
     sizeof (struct user_fpsimd_state), FP_REGS,
             ^
make[4]: *** [linux-aarch64-low.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/build-aarch64-oe-linux/gdb/gdbserver'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/build-aarch64-oe-linux/gdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/build-aarch64-oe-linux/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/build-aarch64-oe-linux'
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/temp/run.do_compile.29033:1 exit 1 from
  exit 1
ERROR: Function failed: do_compile (log file is located at /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/gdb/linaro-7.7.1-r2014.06/temp/log.do_compile.29033)

Fathi Boudra (fboudra) on 2014-06-11
Changed in gdb-linaro:
assignee: nobody → Will Newton (will-newton)
Will Newton (will-newton) wrote :

This was fixed in Linaro gdb 7.7.1 2014.06-1.

Changed in gdb-linaro:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers