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

[Bug build/22102] New: 32-bit gdb build fails with undefined reference to amd64_create_target_description


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

            Bug ID: 22102
           Summary: 32-bit gdb build fails with undefined reference to
                    amd64_create_target_description
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: sven.c.dack at sky dot com
  Target Milestone: ---

Current binutils fails to build gdb on 32-bit (i686-pc-linux-gnu) with
undefined reference to amd64_create_target_description. The same source builds
just fine on 64-bit however.

The BFD_VERSION_DATE is 20170907.

The last working version of gdb for 32-bit that I have is 8.0.50.20170831-git.
The failure seems to have been introduced only recently.


g++  -pipe -O3 -march=native -fomit-frame-pointer -fno-checking -flto
-ffat-lto-objects -flto-partition=balanced   -static-libstdc++ -static-libgcc
-Wl,-O1,--hash-style=gnu,--enable-new-dtags,-z,combreloc,-z,noexecstack,-z,relro,-z,now
-fno-checking -pipe -O3 -march=native -fomit-frame-pointer -fno-checking -flto
-ffat-lto-objects -flto-partition=balanced   \
        -o gdb gdb.o amd64-tdep.o amd64-linux-tdep.o i386-tdep.o i386.o
i386-linux-tdep.o glibc-tdep.o i387-tdep.o solib-svr4.o symfile-mem.o
linux-tdep.o linux-record.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o
inf-ptrace.o fork-child.o fork-inferior.o proc-service.o linux-thread-db.o
linux-nat.o linux-osdata.o linux-fork.o linux-procfs.o linux-ptrace.o
linux-waitpid.o linux-personality.o linux-namespaces.o x86-nat.o x86-dregs.o   
          i386-linux-nat.o x86-linux-nat.o linux-btrace.o                
x86-linux.o x86-linux-dregs.o ax-gdb.o ax-general.o ctf.o dcache.o remote.o
remote-fileio.o remote-notif.o tracefile.o tracefile-tfile.o tracepoint.o 
cli-cmds.o cli-decode.o cli-dump.o cli-interp.o cli-logging.o cli-script.o
cli-setshow.o cli-utils.o mi-cmd-break.o mi-cmd-catch.o mi-cmd-disas.o
mi-cmd-env.o mi-cmd-file.o mi-cmd-info.o mi-cmd-stack.o mi-cmd-target.o
mi-cmd-var.o mi-cmds.o mi-console.o mi-getopt.o mi-interp.o mi-main.o mi-out.o
mi-parse.o mi-symbol-cmds.o tui.o tui-command.o tui-data.o tui-disasm.o
tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o
tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o
tui-winsource.o py-arch.o py-auto-load.o py-block.o py-bpevent.o
py-breakpoint.o py-cmd.o py-continueevent.o py-event.o py-evtregistry.o
py-evts.o py-exitedevent.o py-finishbreakpoint.o py-frame.o py-framefilter.o
py-function.o py-gdb-readline.o py-inferior.o py-infevents.o py-infthread.o
py-instruction.o py-lazy-string.o py-linetable.o py-newobjfileevent.o
py-objfile.o py-param.o py-prettyprint.o py-progspace.o py-record.o
py-record-btrace.o py-record-full.o py-signalevent.o py-stopevent.o py-symbol.o
py-symtab.o py-threadevent.o py-type.o py-unwind.o py-utils.o py-value.o
py-varobj.o py-xmethods.o python.o guile.o scm-arch.o scm-auto-load.o
scm-block.o scm-breakpoint.o scm-cmd.o scm-disasm.o scm-exception.o scm-frame.o
scm-gsmob.o scm-iterator.o scm-lazy-string.o scm-math.o scm-objfile.o
scm-param.o scm-ports.o scm-pretty-print.o scm-progspace.o scm-safe-call.o
scm-string.o scm-symbol.o scm-symtab.o scm-type.o scm-utils.o scm-value.o
elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o
array-view-selftests.o environ-selftests.o function-view-selftests.o
offset-type-selftests.o optional-selftests.o ptid-selftests.o
scoped_restore-selftests.o ada-exp.o c-exp.o cp-name-parser.o d-exp.o f-exp.o
go-exp.o m2-exp.o p-exp.o rust-exp.o ada-lang.o ada-tasks.o ada-typeprint.o
ada-valprint.o ada-varobj.o addrmap.o agent.o annotate.o arch-utils.o
auto-load.o auxv.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o
break-catch-syscall.o break-catch-throw.o breakpoint.o btrace.o btrace-common.o
buffer.o build-id.o buildsym.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o
charset.o cleanups.o cli-out.o coff-pe-read.o coffread.o common-agent.o
common-debug.o common-exceptions.o job-control.o common-regcache.o
common-utils.o complaints.o completer.o continuations.o copying.o corefile.o
corelow.o cp-abi.o cp-namespace.o cp-support.o cp-valprint.o d-lang.o
d-namespace.o d-valprint.o dbxread.o debug.o demangle.o dfp.o dictionary.o
disasm.o disasm-selftests.o doublest.o dummy-frame.o dwarf2-frame.o
dwarf2-frame-tailcall.o dwarf2expr.o dwarf2loc.o dwarf2read.o environ.o
errors.o eval.o event-loop.o event-top.o exceptions.o exec.o expprint.o
extension.o f-lang.o f-typeprint.o f-valprint.o fileio.o filename-seen-cache.o
filestuff.o filesystem.o findcmd.o findvar.o format.o frame.o frame-base.o
frame-unwind.o gcore.o gdb_bfd.o gdb-dlfcn.o gdb_obstack.o gdb_regex.o
gdb_usleep.o gdb_vecs.o gdbarch.o gdbarch-selftests.o gdbtypes.o gnu-v2-abi.o
gnu-v3-abi.o go-lang.o go-typeprint.o go-valprint.o inf-child.o inf-loop.o
infcall.o infcmd.o inferior.o infrun.o inline-frame.o interps.o jit.o
language.o linespec.o location.o m2-lang.o m2-typeprint.o m2-valprint.o
macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint.o mdebugread.o
mem-break.o memattr.o memory-map.o memrange.o mi-common.o minidebug.o minsyms.o
mipsread.o namespace.o new-op.o objc-lang.o objfiles.o observer.o opencl-lang.o
osabi.o osdata.o p-lang.o p-typeprint.o p-valprint.o parse.o print-utils.o
printcmd.o probe.o progspace.o progspace-and-thread.o prologue-value.o
psymtab.o ptid.o record.o record-btrace.o record-full.o regcache.o reggroups.o
registry.o reverse.o rsp-low.o run-time-clock.o rust-lang.o selftest.o
selftest-arch.o sentinel-frame.o ser-event.o serial.o signals.o
signals-state-save-restore.o skip.o solib.o solib-target.o source.o stabsread.o
stack.o std-regs.o symfile.o symfile-debug.o symmisc.o symtab.o target.o
target-dcache.o target-descriptions.o target-memory.o thread.o thread-fsm.o
tid-parse.o top.o trad-frame.o tramp-frame.o typeprint.o ui-file.o ui-out.o
user-regs.o utils.o utils-selftests.o valarith.o valops.o valprint.o value.o
varobj.o vec.o version.o waitstatus.o xml-builtin.o xml-support.o xml-syscall.o
xml-tdesc.o xml-utils.o compile.o compile-c-support.o compile-c-symbols.o
compile-c-types.o compile-loc2c.o compile-object-load.o compile-object-run.o
inflow.o    init.o \
           ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
-L./../zlib -lz  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   
-ldl -ldl -lncurses -lm -ldl  -L/home/sven/gnu32/lib -lguile-2.0 -lgc -lpthread
-ldl -lutil -lm -lpython2.7 -lexpat /home/sven/gnu32/lib/liblzma.so -Wl,-rpath
-Wl,/home/sven/gnu32/lib   ../libiberty/libiberty.a 
build-gnulib/import/libgnu.a /home/sven/gnu32/lib/libiconv.so -Wl,-rpath
-Wl,/home/sven/gnu32/lib -ldl
-Wl,--dynamic-list=/dev/shm/build-pkg-18379/src/binutils-master/gdb/proc-service.list
/dev/shm/build-pkg-18379/src/binutils-master/gold/gdb-index.cc: In member
function 'visit_children':
/dev/shm/build-pkg-18379/src/binutils-master/gold/gdb-index.cc:404:1: warning:
stack usage might be unbounded [-Wstack-usage=]
 Gdb_index_info_reader::visit_children(Dwarf_die* parent, Dwarf_die* context)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/libiberty/cp-demangle.c: In
function 'd_demangle':
/dev/shm/build-pkg-18379/src/binutils-master/libiberty/cp-demangle.c:6274:1:
warning: stack usage might be unbounded [-Wstack-usage=]
 d_demangle (const char *mangled, int options, size_t *palc)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/layout.cc: In member function
'make_output_section':
/dev/shm/build-pkg-18379/src/binutils-master/gold/output.h:4758:18: warning:
'addr' may be used uninitialized in this function [-Wmaybe-uninitialized]
     this->paddr_ = paddr;
                  ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/layout.cc:1952:12: note:
'addr' was declared here
   uint64_t addr;
            ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/gdb-index.cc: In member
function 'visit_children':
/dev/shm/build-pkg-18379/src/binutils-master/gold/gdb-index.cc:404:1: warning:
stack usage might be unbounded [-Wstack-usage=]
 Gdb_index_info_reader::visit_children(Dwarf_die* parent, Dwarf_die* context)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/gold.cc: In member function
'run':
/dev/shm/build-pkg-18379/src/binutils-master/gold/output.h:4758:18: warning:
'addr' may be used uninitialized in this function [-Wmaybe-uninitialized]
     this->paddr_ = paddr;
                  ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/layout.cc:1952:12: note:
'addr' was declared here
   uint64_t addr;
            ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/layout.cc: In member function
'make_output_section':
/dev/shm/build-pkg-18379/src/binutils-master/gold/output.h:4758:18: warning:
'addr' may be used uninitialized in this function [-Wmaybe-uninitialized]
     this->paddr_ = paddr;
                  ^
/dev/shm/build-pkg-18379/src/binutils-master/gold/layout.cc:1952:12: note:
'addr' was declared here
   uint64_t addr;
            ^
/dev/shm/build-pkg-18379/src/binutils-master/libiberty/cp-demangle.c: In
function 'is_ctor_or_dtor':
/dev/shm/build-pkg-18379/src/binutils-master/libiberty/cp-demangle.c:6480:1:
warning: stack usage might be unbounded [-Wstack-usage=]
 is_ctor_or_dtor (const char *mangled,
 ^
/dev/shm/build-pkg-18379/src/binutils-master/libiberty/cp-demangle.c: In
function 'd_demangle':
/dev/shm/build-pkg-18379/src/binutils-master/libiberty/cp-demangle.c:6274:1:
warning: stack usage might be unbounded [-Wstack-usage=]
 d_demangle (const char *mangled, int options, size_t *palc)
 ^
make[4]: Leaving directory
'/dev/shm/build-pkg-18379/build/binutils-master/gold'
make[3]: Leaving directory
'/dev/shm/build-pkg-18379/build/binutils-master/gold'
make[2]: Leaving directory
'/dev/shm/build-pkg-18379/build/binutils-master/gold'
/dev/shm/build-pkg-18379/src/binutils-master/gdb/nat/linux-btrace.h:85:8:
warning: type 'struct btrace_target_info' violates the C++ One Definition Rule
[-Wodr]
 struct btrace_target_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/remote.c:13103:8: note: a
different type is defined in another translation unit
 struct btrace_target_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/nat/linux-btrace.h:102:5:
note: the first difference of corresponding definitions is field 'variant'
   } variant;
     ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/remote.c:13103:8: note: a type
with different number of fields is defined in another translation unit
 struct btrace_target_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/linux-thread-db.c:254:8:
warning: type 'struct private_thread_info' violates the C++ One Definition Rule
[-Wodr]
 struct private_thread_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/remote.c:450:8: note: a
different type is defined in another translation unit
 struct private_thread_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/linux-thread-db.c:257:22:
note: the first difference of corresponding definitions is field 'dying'
   unsigned int dying:1;
                      ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/remote.c:452:9: note: a field
with different name is defined in another translation unit
   char *extra;
         ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/linux-thread-db.c:1166:8:
warning: type 'struct callback_data' violates the C++ One Definition Rule
[-Wodr]
 struct callback_data
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/cli/cli-dump.c:391:8: note: a
different type is defined in another translation unit
 struct callback_data {
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/linux-thread-db.c:1168:26:
note: the first difference of corresponding definitions is field 'info'
   struct thread_db_info *info;
                          ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/cli/cli-dump.c:392:13: note: a
field with different name is defined in another translation unit
   CORE_ADDR load_offset;
             ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/python/py-prettyprint.c:32:6:
warning: type 'string_repr_result' violates the C++ One Definition Rule [-Wodr]
 enum string_repr_result
      ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/guile/scm-pretty-print.c:34:6:
note: an enum with different value name is defined in another translation unit
 enum string_repr_result
      ^
ada-exp.c:283:7: warning: type 'union YYSTYPE' violates the C++ One Definition
Rule [-Wodr]
 union YYSTYPE
       ^
c-exp.c:273:7: note: a different type is defined in another translation unit
 union YYSTYPE
       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/ada-exp.y:129:7: note: the
first difference of corresponding definitions is field 'typed_val'
     } typed_val;
       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/c-exp.y:89:7: note: a field
with different name is defined in another translation unit
     } typed_val_int;
       ^
ada-exp.c:502:7: warning: type 'union yyalloc' violates the C++ One Definition
Rule [-Wodr]
 union yyalloc
       ^
c-exp.c:521:7: note: a different type is defined in another translation unit
 union yyalloc
       ^
ada-exp.c:505:11: note: the first difference of corresponding definitions is
field 'yyvs_alloc'
   YYSTYPE yyvs_alloc;
           ^
c-exp.c:524:11: note: a field of same name but different type is defined in
another translation unit
   YYSTYPE yyvs_alloc;
           ^
ada-exp.c:305:23: note: type 'union YYSTYPE' should match type 'union YYSTYPE'
 typedef union YYSTYPE YYSTYPE;
                       ^
c-exp.c:310:23: note: the incompatible type is defined here
 typedef union YYSTYPE YYSTYPE;
                       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/c-exp.y:2862:3: warning: type
'struct token_and_value' violates the C++ One Definition Rule [-Wodr]
 } token_and_value;
   ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/d-exp.y:1332:3: note: a
different type is defined in another translation unit
 } token_and_value;
   ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/c-exp.y:2861:11: note: the
first difference of corresponding definitions is field 'value'
   YYSTYPE value;
           ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/d-exp.y:1331:11: note: a field
of same name but different type is defined in another translation unit
   YYSTYPE value;
           ^
c-exp.c:310:23: note: type 'union YYSTYPE' should match type 'union YYSTYPE'
 typedef union YYSTYPE YYSTYPE;
                       ^
d-exp.c:265:23: note: the incompatible type is defined here
 typedef union YYSTYPE YYSTYPE;
                       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/c-exp.y:2284:8: warning: type
'struct token' violates the C++ One Definition Rule [-Wodr]
 struct token
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/d-exp.y:958:8: note: a
different type is defined in another translation unit
 struct token
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/c-exp.y:2289:15: note: the
first difference of corresponding definitions is field 'flags'
   token_flags flags;
               ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/d-exp.y:958:8: note: a type
with different number of fields is defined in another translation unit
 struct token
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/dbxread.c:70:8: warning: type
'struct symloc' violates the C++ One Definition Rule [-Wodr]
 struct symloc
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/mdebugread.c:89:8: note: a
different type is defined in another translation unit
 struct symloc
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/dbxread.c:75:9: note: the
first difference of corresponding definitions is field 'ldsymoff'
     int ldsymoff;
         ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/mdebugread.c:92:9: note: a
field with different name is defined in another translation unit
     int fdr_idx;
         ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/dwarf2read.c:1444:8: warning:
type 'struct nextfield' violates the C++ One Definition Rule [-Wodr]
 struct nextfield
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/stabsread.c:57:8: note: a
different type is defined in another translation unit
 struct nextfield
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/dwarf2read.c:1447:7: note: the
first difference of corresponding definitions is field 'accessibility'
   int accessibility;
       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/stabsread.c:64:7: note: a
field with different name is defined in another translation unit
   int visibility;
       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/dwarf2read.c:1474:8: warning:
type 'struct field_info' violates the C++ One Definition Rule [-Wodr]
 struct field_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/stabsread.c:81:8: note: a
different type is defined in another translation unit
 struct field_info
        ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/dwarf2read.c:1477:23: note:
the first difference of corresponding definitions is field 'fields'
     struct nextfield *fields, *baseclasses;
                       ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/stabsread.c:83:23: note: a
field with different name is defined in another translation unit
     struct nextfield *list;
                       ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal32.c:53:13:
warning: type of 'decDigitsFromDPD' does not match original declaration
[-Wlto-type-mismatch]
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal128.c:52:13:
warning: type of 'decDigitsFromDPD' does not match original declaration
[-Wlto-type-mismatch]
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal64.c:741:6:
note: 'decDigitsFromDPD' was previously declared here
 void decDigitsFromDPD(decNumber *dn, const uInt *sour, Int declets) {
      ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal64.c:741:6:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal32.c:52:13:
warning: type of 'decDigitsToDPD' does not match original declaration
[-Wlto-type-mismatch]
 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal128.c:53:13:
warning: type of 'decDigitsToDPD' does not match original declaration
[-Wlto-type-mismatch]
 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal64.c:615:6:
note: 'decDigitsToDPD' was previously declared here
 void decDigitsToDPD(const decNumber *dn, uInt *targ, Int shift) {
      ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/dpd/decimal64.c:615:6:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:179:16:
warning: type of 'decNumberZero' does not match original declaration
[-Wlto-type-mismatch]
   decNumber  * decNumberZero(decNumber *);
                ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:179:16:
warning: type of 'decNumberZero' does not match original declaration
[-Wlto-type-mismatch]
   decNumber  * decNumberZero(decNumber *);
                ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:179:16:
warning: type of 'decNumberZero' does not match original declaration
[-Wlto-type-mismatch]
   decNumber  * decNumberZero(decNumber *);
                ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:3582:13:
note: 'decNumberZero' was previously declared here
 decNumber * decNumberZero(decNumber *dn) {
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:3582:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:150:15:
warning: type of 'decNumberPlus' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberPlus(decNumber *, const decNumber *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:150:15:
warning: type of 'decNumberPlus' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberPlus(decNumber *, const decNumber *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:150:15:
warning: type of 'decNumberPlus' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberPlus(decNumber *, const decNumber *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:1875:13:
note: 'decNumberPlus' was previously declared here
 decNumber * decNumberPlus(decNumber *res, const decNumber *rhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:1875:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:118:15:
warning: type of 'decNumberFromString' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberFromString(decNumber *, const char *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:118:15:
warning: type of 'decNumberFromString' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberFromString(decNumber *, const char *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:118:15:
warning: type of 'decNumberFromString' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberFromString(decNumber *, const char *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:489:13:
note: 'decNumberFromString' was previously declared here
 decNumber * decNumberFromString(decNumber *dn, const char chars[],
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:489:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:120:14:
warning: type of 'decNumberToEngString' does not match original declaration
[-Wlto-type-mismatch]
   char     * decNumberToEngString(const decNumber *, char *);
              ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:120:14:
warning: type of 'decNumberToEngString' does not match original declaration
[-Wlto-type-mismatch]
   char     * decNumberToEngString(const decNumber *, char *);
              ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:120:14:
warning: type of 'decNumberToEngString' does not match original declaration
[-Wlto-type-mismatch]
   char     * decNumberToEngString(const decNumber *, char *);
              ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:464:8:
note: 'decNumberToEngString' was previously declared here
 char * decNumberToEngString(const decNumber *dn, char *string){
        ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:464:8:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:119:14:
warning: type of 'decNumberToString' does not match original declaration
[-Wlto-type-mismatch]
   char     * decNumberToString(const decNumber *, char *);
              ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:119:14:
warning: type of 'decNumberToString' does not match original declaration
[-Wlto-type-mismatch]
   char     * decNumberToString(const decNumber *, char *);
              ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.h:119:14:
warning: type of 'decNumberToString' does not match original declaration
[-Wlto-type-mismatch]
   char     * decNumberToString(const decNumber *, char *);
              ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:459:8:
note: 'decNumberToString' was previously declared here
 char * decNumberToString(const decNumber *dn, char *string){
        ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:459:8:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/readline/rlprivate.h:278:12:
warning: type of '_rl_isearch_callback' does not match original declaration
[-Wlto-type-mismatch]
 extern int _rl_isearch_callback PARAMS((_rl_search_cxt *));
            ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/isearch.c:686:1: note:
'_rl_isearch_callback' was previously declared here
 _rl_isearch_callback (cxt)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/isearch.c:686:1: note:
code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/readline/rlprivate.h:433:24:
warning: type of '_rl_iscxt' does not match original declaration
[-Wlto-type-mismatch]
 extern _rl_search_cxt *_rl_iscxt;
                        ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/rlprivate.h:99:3: note:
type 'struct _rl_search_cxt' should match type 'struct _rl_search_cxt'
 } _rl_search_cxt;
   ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/isearch.c:60:17: note:
'_rl_iscxt' was previously declared here
 _rl_search_cxt *_rl_iscxt = 0;
                 ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/isearch.c:60:17: note:
code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/readline/rlprivate.h:321:12:
warning: type of '_rl_nsearch_callback' does not match original declaration
[-Wlto-type-mismatch]
 extern int _rl_nsearch_callback PARAMS((_rl_search_cxt *));
            ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/search.c:435:1: note:
'_rl_nsearch_callback' was previously declared here
 _rl_nsearch_callback (cxt)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/search.c:435:1: note:
code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/readline/rlprivate.h:466:24:
warning: type of '_rl_nscxt' does not match original declaration
[-Wlto-type-mismatch]
 extern _rl_search_cxt *_rl_nscxt;
                        ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/rlprivate.h:99:3: note:
type 'struct _rl_search_cxt' should match type 'struct _rl_search_cxt'
 } _rl_search_cxt;
   ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/search.c:55:17: note:
'_rl_nscxt' was previously declared here
 _rl_search_cxt *_rl_nscxt = 0;
                 ^
/dev/shm/build-pkg-18379/src/binutils-master/readline/search.c:55:17: note:
code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:130:15:
warning: type of 'decNumberCompare' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberCompare(decNumber *, const decNumber *, const decNumber
*, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:864:13:
note: 'decNumberCompare' was previously declared here
 decNumber * decNumberCompare(decNumber *res, const decNumber *lhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:864:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:128:15:
warning: type of 'decNumberAdd' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberAdd(decNumber *, const decNumber *, const decNumber *,
decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:770:13:
note: 'decNumberAdd' was previously declared here
 decNumber * decNumberAdd(decNumber *res, const decNumber *lhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:770:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:162:15:
warning: type of 'decNumberSubtract' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberSubtract(decNumber *, const decNumber *, const
decNumber *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:3139:13:
note: 'decNumberSubtract' was previously declared here
 decNumber * decNumberSubtract(decNumber *res, const decNumber *lhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:3139:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:147:15:
warning: type of 'decNumberMultiply' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberMultiply(decNumber *, const decNumber *, const
decNumber *, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:1905:13:
note: 'decNumberMultiply' was previously declared here
 decNumber * decNumberMultiply(decNumber *res, const decNumber *lhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:1905:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:134:15:
warning: type of 'decNumberDivide' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberDivide(decNumber *, const decNumber *, const decNumber
*, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:991:13:
note: 'decNumberDivide' was previously declared here
 decNumber * decNumberDivide(decNumber *res, const decNumber *lhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:991:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:151:15:
warning: type of 'decNumberPower' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberPower(decNumber *, const decNumber *, const decNumber
*, decContext *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:1942:13:
note: 'decNumberPower' was previously declared here
 decNumber * decNumberPower(decNumber *res, const decNumber *lhs,
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:1942:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:117:15:
warning: type of 'decNumberFromUInt32' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberFromUInt32(decNumber *, uint32_t);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:358:13:
note: 'decNumberFromUInt32' was previously declared here
 decNumber * decNumberFromUInt32(decNumber *dn, uInt uin) {
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:358:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/decNumber.h:116:15:
warning: type of 'decNumberFromInt32' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decNumberFromInt32(decNumber *, int32_t);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:345:13:
note: 'decNumberFromInt32' was previously declared here
 decNumber * decNumberFromInt32(decNumber *dn, Int in) {
             ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/decNumber.c:345:13:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/dpd/decimal32.h:92:15:
warning: type of 'decimal32ToNumber' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decimal32ToNumber(const decimal32 *, decNumber *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal32.c:87:1:
note: 'decimal32ToNumber' was previously declared here
 decimal32ToNumber (const decimal32 *bid32, decNumber *dn)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal32.c:87:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/dpd/decimal64.h:94:15:
warning: type of 'decimal64ToNumber' does not match original declaration
[-Wlto-type-mismatch]
   decNumber * decimal64ToNumber(const decimal64 *, decNumber *);
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal64.c:87:1:
note: 'decimal64ToNumber' was previously declared here
 decimal64ToNumber (const decimal64 *bid64, decNumber *dn)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal64.c:87:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/dpd/decimal32.h:90:15:
warning: type of 'decimal32FromNumber' does not match original declaration
[-Wlto-type-mismatch]
   decimal32 * decimal32FromNumber(decimal32 *, const decNumber *,
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal32.c:58:1:
note: 'decimal32FromNumber' was previously declared here
 decimal32FromNumber (decimal32 *d32, const decNumber *dn,
 ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal32.c:58:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/../libdecnumber/dpd/decimal64.h:92:15:
warning: type of 'decimal64FromNumber' does not match original declaration
[-Wlto-type-mismatch]
   decimal64 * decimal64FromNumber(decimal64 *, const decNumber *,
               ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal64.c:58:1:
note: 'decimal64FromNumber' was previously declared here
 decimal64FromNumber (decimal64 *d64, const decNumber *dn,
 ^
/dev/shm/build-pkg-18379/src/binutils-master/libdecnumber/bid/decimal64.c:58:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
/dev/shm/build-pkg-18379/src/binutils-master/gdb/maint.c:704:12: warning: type
of 'main' does not match original declaration [-Wlto-type-mismatch]
 extern int main ();
            ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/gdb.c:24:1: note: type
mismatch in parameter 1
 main (int argc, char **argv)
 ^
/dev/shm/build-pkg-18379/src/binutils-master/gdb/gdb.c:24:1: note: type 'int'
should match type 'void'
/dev/shm/build-pkg-18379/src/binutils-master/gdb/gdb.c:24:1: note: 'main' was
previously declared here
In function 'tui_set_locator_fullname',
    inlined from 'tui_show_disassem_and_update_source' at
/dev/shm/build-pkg-18379/src/binutils-master/gdb/tui/tui-stack.c:346:28,
    inlined from '_Z35tui_update_source_windows_with_addrP7gdbarchy.part.1' at
/dev/shm/build-pkg-18379/src/binutils-master/gdb/tui/tui-winsource.c:149:40,
    inlined from 'tui_update_source_windows_with_addr':
/dev/shm/build-pkg-18379/src/binutils-master/gdb/tui/tui.c:570:10: warning:
'strncat': specified bound between 2147487746 and 4294967295  exceeds maximum
object size 2147483647 [-Wstringop-overflow=]
  strncat (buf, item_to_add, (buflen - strlen (buf)));
          ^
/tmp/ccUhQauM.ltrans0.ltrans.o: In function
`amd64_x32_linux_init_abi(gdbarch_info, gdbarch*) [clone .lto_priv.3305]':
<artificial>:(.text+0x290c9): undefined reference to
`amd64_create_target_description(unsigned long long, bool, bool)'
/tmp/ccUhQauM.ltrans0.ltrans.o: In function `amd64_linux_init_abi(gdbarch_info,
gdbarch*) [clone .lto_priv.3304]':
<artificial>:(.text+0x29999): undefined reference to
`amd64_create_target_description(unsigned long long, bool, bool)'
/tmp/ccUhQauM.ltrans0.ltrans.o: In function
`amd64_linux_core_read_description(gdbarch*, target_ops*, bfd*)':
<artificial>:(.text+0x29c98): undefined reference to
`amd64_create_target_description(unsigned long long, bool, bool)'
/tmp/ccUhQauM.ltrans20.ltrans.o: In function `initialize_all_files()':
<artificial>:(.text+0x13ff0): undefined reference to
`amd64_create_target_description(unsigned long long, bool, bool)'
<artificial>:(.text+0x1728e): undefined reference to
`amd64_create_target_description(unsigned long long, bool, bool)'
/tmp/ccUhQauM.ltrans20.ltrans.o:<artificial>:(.text+0x172d4): more undefined
references to `amd64_create_target_description(unsigned long long, bool, bool)'
follow
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2248: gdb] Error 1
make[2]: Leaving directory '/dev/shm/build-pkg-18379/build/binutils-master/gdb'
make[1]: *** [Makefile:10741: all-gdb] Error 2
make[1]: Leaving directory '/dev/shm/build-pkg-18379/build/binutils-master'
make: *** [Makefile:850: all] Error 2

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

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