[Bug build/25182] New: [9.1 Regression] gdb trunk fails to build on arm-linux-gnueabihf

doko at debian dot org sourceware-bugzilla@sourceware.org
Sun Nov 10 13:08:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=25182

            Bug ID: 25182
           Summary: [9.1 Regression] gdb trunk fails to build on
                    arm-linux-gnueabihf
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
  Target Milestone: ---

trunk 20191110 fails to build on arm-linux-gnueabihf:

arm-linux-gnueabihf-g++ -x c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security   -I.
-I/<<PKGBUILDDIR>>/gdb -I/<<PKGBUILDDIR>>/gdb/config
-DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H
-I/<<PKGBUILDDIR>>/gdb/../include/opcode   -I../bfd
-I/<<PKGBUILDDIR>>/gdb/../bfd -I/<<PKGBUILDDIR>>/gdb/../include
-I../libdecnumber -I/<<PKGBUILDDIR>>/gdb/../libdecnumber 
-I/<<PKGBUILDDIR>>/gdb/../gnulib/import -I../gnulib/import  -DTUI=1 
-Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/python3.7m
-I/usr/include/python3.7m  -I/<<PKGBUILDDIR>>/gdb/.. -Wall -Wpointer-arith
-Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch
-Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter
-Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized
-Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local
-Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wformat
-Wformat-nonliteral  -c -o gdb.o -MT gdb.o -MMD -MP -MF ./.deps/gdb.Tpo
/<<PKGBUILDDIR>>/gdb/gdb.c
In file included from /<<PKGBUILDDIR>>/gdb/gdbsupport/gdb_string_view.h:49,
                 from /<<PKGBUILDDIR>>/gdb/gdbsupport/common-utils.h:46,
                 from /<<PKGBUILDDIR>>/gdb/gdbsupport/common-defs.h:122,
                 from /<<PKGBUILDDIR>>/gdb/defs.h:28,
                 from /<<PKGBUILDDIR>>/gdb/xml-tdesc.c:22:
/<<PKGBUILDDIR>>/gdb/symtab.h:453:6: error: static assertion failed
  452 | gdb_static_assert ((sizeof (void *) == 8 && sizeof
(general_symbol_info) == 32)
      |                   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |      || (sizeof (void *) == 4
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
  454 |          && sizeof (general_symbol_info) == 20));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gdb/gdbsupport/gdb_assert.h:27:48: note: in definition of
macro ‘gdb_static_assert’
   27 | #define gdb_static_assert(expr) static_assert (expr, "")
      |                                                ^~~~
/<<PKGBUILDDIR>>/gdb/symtab.h:1201:6: error: static assertion failed
 1200 | gdb_static_assert ((sizeof (void *) == 8 && sizeof (symbol) == 72)
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1201 |      || (sizeof (void *) == 4 && sizeof (symbol) == 40));
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gdb/gdbsupport/gdb_assert.h:27:48: note: in definition of
macro ‘gdb_static_assert’
   27 | #define gdb_static_assert(expr) static_assert (expr, "")
      |                                                ^~~~
In file included from /<<PKGBUILDDIR>>/gdb/gdbsupport/gdb_string_view.h:49,
                 from /<<PKGBUILDDIR>>/gdb/gdbsupport/common-utils.h:46,
                 from /<<PKGBUILDDIR>>/gdb/gdbsupport/common-defs.h:122,
                 from /<<PKGBUILDDIR>>/gdb/defs.h:28,
                 from /<<PKGBUILDDIR>>/gdb/xml-syscall.c:21:
/<<PKGBUILDDIR>>/gdb/symtab.h:453:6: error: static assertion failed
  452 | gdb_static_assert ((sizeof (void *) == 8 && sizeof
(general_symbol_info) == 32)
      |                   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  453 |      || (sizeof (void *) == 4
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
  454 |          && sizeof (general_symbol_info) == 20));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gdb/gdbsupport/gdb_assert.h:27:48: note: in definition of
macro ‘gdb_static_assert’
   27 | #define gdb_static_assert(expr) static_assert (expr, "")
      |                                                ^~~~
/<<PKGBUILDDIR>>/gdb/symtab.h:1201:6: error: static assertion failed
 1200 | gdb_static_assert ((sizeof (void *) == 8 && sizeof (symbol) == 72)
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1201 |      || (sizeof (void *) == 4 && sizeof (symbol) == 40));
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gdb/gdbsupport/gdb_assert.h:27:48: note: in definition of
macro ‘gdb_static_assert’
   27 | #define gdb_static_assert(expr) static_assert (expr, "")
      |                                                ^~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list