Breakage on builder Fedora-x86_64-native-extended-gdbserver-m64, revision 39f34d7b64ee76e07b82a3e57800905d249d8005

gdb-buildbot@sergiodj.net gdb-buildbot@sergiodj.net
Fri Dec 13 08:34:00 GMT 2019


Unfortunately it seems that there is a breakage on GDB.

Commit title: 'Fix unused function error'
Revision: 39f34d7b64ee76e07b82a3e57800905d249d8005

You can find more details below:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


+++ The full log is too big to be posted here.
+++ These are the last 100 lines of it.

  CXX    dicos-tdep.o
  CXX    dictionary.o
  CXX    disasm-selftests.o
  CXX    disasm.o
  CXX    dtrace-probe.o
  CXX    dummy-frame.o
  CXX    dwarf-index-cache.o
  CXX    dwarf-index-common.o
  CXX    dwarf-index-write.o
  CXX    dwarf2-frame-tailcall.o
  CXX    dwarf2-frame.o
  CXX    dwarf2expr.o
  CXX    dwarf2loc.o
  CXX    dwarf2read.o
  CXX    elfread.o
  CXX    eval.o
  CXX    event-loop.o
  CXX    event-top.o
  CXX    exceptions.o
  CXX    exec.o
  CXX    expprint.o
  CXX    extension.o
  YACC   f-exp.c
  CXX    f-lang.o
  CXX    f-typeprint.o
  CXX    f-valprint.o
  CXX    fbsd-tdep.o
  CXX    filename-seen-cache.o
  CXX    filesystem.o
  CXX    findcmd.o
  CXX    findvar.o
  CXX    fork-child.o
  CXX    frame-base.o
  CXX    frame-unwind.o
  CXX    frame.o
  CXX    frv-linux-tdep.o
  CXX    frv-tdep.o
  CXX    ft32-tdep.o
  CXX    gcore.o
  CXX    gdb-demangle.o
  CXX    gdb_bfd.o
  CXX    gdb_obstack.o
  CXX    gdb_regex.o
  CXX    gdbarch-selftests.o
  CXX    gdbarch.o
  CXX    gdbsupport/agent.o
  CXX    gdbsupport/btrace-common.o
  CXX    gdbsupport/buffer.o
  CXX    gdbsupport/cleanups.o
  CXX    gdbsupport/common-debug.o
  CXX    gdbsupport/common-exceptions.o
  CXX    gdbsupport/common-inferior.o
  CXX    gdbsupport/common-regcache.o
  CXX    gdbsupport/common-utils.o
  CXX    gdbsupport/environ.o
  CXX    gdbsupport/errors.o
  CXX    gdbsupport/fileio.o
  CXX    gdbsupport/filestuff.o
  CXX    gdbsupport/format.o
  CXX    gdbsupport/gdb-dlfcn.o
  CXX    gdbsupport/gdb_tilde_expand.o
  CXX    gdbsupport/gdb_vecs.o
  CXX    gdbsupport/job-control.o
  CXX    gdbsupport/netstuff.o
  CXX    gdbsupport/new-op.o
  CXX    gdbsupport/pathstuff.o
  CXX    gdbsupport/print-utils.o
  CXX    gdbsupport/ptid.o
  CXX    gdbsupport/rsp-low.o
  CXX    gdbsupport/run-time-clock.o
  CXX    gdbsupport/safe-strerror.o
  CXX    gdbsupport/scoped_mmap.o
  CXX    gdbsupport/selftest.o
  CXX    gdbsupport/signals-state-save-restore.o
  CXX    gdbsupport/signals.o
  CXX    gdbsupport/tdesc.o
  CXX    gdbsupport/thread-pool.o
../../binutils-gdb/gdb/gdbsupport/thread-pool.c:44:1: error: DIAGNOSTIC_IGNORE_UNUSED_FUNCTION does not name a type; did you mean DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION?
   44 | DIAGNOSTIC_IGNORE_UNUSED_FUNCTION
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION
../../binutils-gdb/gdb/gdbsupport/thread-pool.c: In member function void gdb::thread_pool::thread_function():
../../binutils-gdb/gdb/gdbsupport/thread-pool.c:142:20: error: invalid conversion from int (*)(pthread_t, const char*) throw () {aka int (*)(long unsigned int, const char*)} to void (*)(const char*) [-fpermissive]
  142 |   set_thread_name (pthread_setname_np, "gdb worker");
      |                    ^~~~~~~~~~~~~~~~~~
      |                    |
      |                    int (*)(pthread_t, const char*) throw () {aka int (*)(long unsigned int, const char*)}
../../binutils-gdb/gdb/gdbsupport/thread-pool.c:57:25: note:   initializing argument 1 of void set_thread_name(void (*)(const char*), const char*)
   57 | set_thread_name (void (*set_name) (const char *), const char *name)
      |                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  CXX    gdbsupport/xml-utils.o
make[2]: *** [Makefile:1660: gdbsupport/thread-pool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver/build/gdb'
make[1]: *** [Makefile:9230: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver/build'
make: *** [Makefile:852: all] Error 2
program finished with exit code 2
elapsedTime=192.148210



More information about the Gdb-patches mailing list