public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum
@ 2020-05-19 18:28 gdb-buildbot
  2020-05-19 23:46 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-m64, branch master *** BREAKAGE *** gdb-buildbot
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-05-19 18:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f408d82c7a140268c3b7be35970c96d8385b5902 ***

commit f408d82c7a140268c3b7be35970c96d8385b5902
Author:     Simon Marchi <simon.marchi@efficios.com>
AuthorDate: Tue May 19 14:20:23 2020 -0400
Commit:     Simon Marchi <simon.marchi@efficios.com>
CommitDate: Tue May 19 14:20:23 2020 -0400

    gdb: fix off-by-one error in quirk_rust_enum
    
    Found by inspection, so I don't have a test for it (I don't think it
    would be easy to have this bug cause a failure reliably).
    
    We allocate space for N fields into `new_fields`, then memcpy N fields
    at `new_fields + 1`.  This overflows the allocated buffer by one field.
    
    Fix it by allocating `N + 1` fields.
    
    gdb/ChangeLog:
    
            * dwarf2/read.c (quirk_rust_enum): Allocate enough fields.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f62557da6c..ac0beef5ad 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-05-19  Simon Marchi  <simon.marchi@efficios.com>
+
+	* dwarf2/read.c (quirk_rust_enum): Allocate enough fields.
+
 2020-05-19  Pedro Alves  <palves@redhat.com>
 
 	* NEWS (set exec-file-mismatch): Adjust entry.
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 0c6182bbf3..2ab7c5c331 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -9420,7 +9420,7 @@ quirk_rust_enum (struct type *type, struct objfile *objfile)
       /* Make space for the discriminant field.  */
       struct field *disr_field = &TYPE_FIELD (disr_type, 0);
       field *new_fields
-	= (struct field *) TYPE_ZALLOC (type, (TYPE_NFIELDS (type)
+	= (struct field *) TYPE_ZALLOC (type, ((TYPE_NFIELDS (type) + 1)
 					       * sizeof (struct field)));
       memcpy (new_fields + 1, TYPE_FIELDS (type),
 	      TYPE_NFIELDS (type) * sizeof (struct field));


^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-m64, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
@ 2020-05-19 23:46 ` gdb-buildbot
  2020-05-19 23:49 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-05-19 23:46 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/8/builds/2894

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
  CXX    stack.o
  CXX    stap-probe.o
  CXX    std-regs.o
  CXX    symfile-debug.o
  CXX    symfile-mem.o
  CXX    symfile.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function 'int adi_tag_fd()':
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of 'target_errno' will never be NULL [-Werror=address]
                                           0, &target_errno);
                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function 'int target_fileio_open(inferior*, const char*, int, int, bool, int*)'
In file included from ../../binutils-gdb/gdb/exec.h:23:0,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 extern int target_fileio_open (struct inferior *inf,
            ^~~~~~~~~~~~~~~~~~
  CXX    symmisc.o
cc1plus: all warnings being treated as errors
Makefile:1609: recipe for target 'sparc64-tdep.o' failed
make[2]: *** [sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/work/ubuntu-aarch64-m64/build/gdb'
Makefile:10065: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/work/ubuntu-aarch64-m64/build'
Makefile:853: recipe for target 'all' failed
make: *** [all] Error 2
program finished with exit code 2
elapsedTime=169.147846
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
  2020-05-19 23:46 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-m64, branch master *** BREAKAGE *** gdb-buildbot
@ 2020-05-19 23:49 ` gdb-buildbot
  2020-05-19 23:52 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-05-19 23:49 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-native-extended-gdbserver-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/5/builds/2794

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
  CXX    stack.o
  CXX    stap-probe.o
  CXX    std-regs.o
  CXX    symfile-debug.o
  CXX    symfile-mem.o
  CXX    symfile.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function 'int adi_tag_fd()':
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of 'target_errno' will never be NULL [-Werror=address]
                                           0, &target_errno);
                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function 'int target_fileio_open(inferior*, const char*, int, int, bool, int*)'
In file included from ../../binutils-gdb/gdb/exec.h:23:0,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 extern int target_fileio_open (struct inferior *inf,
            ^~~~~~~~~~~~~~~~~~
  CXX    symmisc.o
cc1plus: all warnings being treated as errors
Makefile:1609: recipe for target 'sparc64-tdep.o' failed
make[2]: *** [sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/work/ubuntu-aarch64-native-extended-gdbserver-m64/build/gdb'
Makefile:10065: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/work/ubuntu-aarch64-native-extended-gdbserver-m64/build'
Makefile:853: recipe for target 'all' failed
make: *** [all] Error 2
program finished with exit code 2
elapsedTime=169.110172
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-gdbserver-m64, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
  2020-05-19 23:46 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-m64, branch master *** BREAKAGE *** gdb-buildbot
  2020-05-19 23:49 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
@ 2020-05-19 23:52 ` gdb-buildbot
  2020-06-14 19:44 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-05-19 23:52 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-native-gdbserver-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/19/builds/2836

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
  CXX    stack.o
  CXX    stap-probe.o
  CXX    std-regs.o
  CXX    symfile-debug.o
  CXX    symfile-mem.o
  CXX    symfile.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function 'int adi_tag_fd()':
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of 'target_errno' will never be NULL [-Werror=address]
                                           0, &target_errno);
                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function 'int target_fileio_open(inferior*, const char*, int, int, bool, int*)'
In file included from ../../binutils-gdb/gdb/exec.h:23:0,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 extern int target_fileio_open (struct inferior *inf,
            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
  CXX    symmisc.o
Makefile:1609: recipe for target 'sparc64-tdep.o' failed
make[2]: *** [sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/work/ubuntu-aarch64-native-gdbserver-m64/build/gdb'
Makefile:10065: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/work/ubuntu-aarch64-native-gdbserver-m64/build'
Makefile:853: recipe for target 'all' failed
make: *** [all] Error 2
program finished with exit code 2
elapsedTime=169.771062
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-cc-with-index, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (2 preceding siblings ...)
  2020-05-19 23:52 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
@ 2020-06-14 19:44 ` gdb-buildbot
  2020-06-14 19:51 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-m32, " gdb-buildbot
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 19:44 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-cc-with-index

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/20/builds/3146

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-cc-with-index/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-cc-with-index/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-cc-with-index/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-cc-with-index/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-cc-with-index/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-cc-with-index/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=384.540685
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-m32, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (3 preceding siblings ...)
  2020-06-14 19:44 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
@ 2020-06-14 19:51 ` gdb-buildbot
  2020-06-14 19:58 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-m64, " gdb-buildbot
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 19:51 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/17/builds/3192

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-m32/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-m32/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=386.424741
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-m64, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (4 preceding siblings ...)
  2020-06-14 19:51 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-m32, " gdb-buildbot
@ 2020-06-14 19:58 ` gdb-buildbot
  2020-06-14 20:03 ` Failures on Fedora-i686, branch master gdb-buildbot
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 19:58 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m64

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/3/builds/3254

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=390.773181
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Failures on Fedora-i686, branch master
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (5 preceding siblings ...)
  2020-06-14 19:58 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-m64, " gdb-buildbot
@ 2020-06-14 20:03 ` gdb-buildbot
  2020-06-14 20:05 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master *** BREAKAGE *** gdb-buildbot
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 20:03 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-i686

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/18/builds/3197

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-i686/f4/f408d82c7a140268c3b7be35970c96d8385b5902/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/f4/f408d82c7a140268c3b7be35970c96d8385b5902//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/f4/f408d82c7a140268c3b7be35970c96d8385b5902//xfail.table.gz>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (6 preceding siblings ...)
  2020-06-14 20:03 ` Failures on Fedora-i686, branch master gdb-buildbot
@ 2020-06-14 20:05 ` gdb-buildbot
  2020-06-14 20:11 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 20:05 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/4/builds/3088

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver-m32/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.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-m32/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-extended-gdbserver-m32/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=394.986449
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (7 preceding siblings ...)
  2020-06-14 20:05 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master *** BREAKAGE *** gdb-buildbot
@ 2020-06-14 20:11 ` gdb-buildbot
  2020-06-14 20:12 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 20:11 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m64

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/2/builds/3089

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-extended-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-extended-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-extended-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-extended-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-extended-gdbserver/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-extended-gdbserver/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=380.874034
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m32, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (8 preceding siblings ...)
  2020-06-14 20:11 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
@ 2020-06-14 20:12 ` gdb-buildbot
  2020-06-14 20:17 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
  2020-06-14 20:18 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-w64-mingw32, " gdb-buildbot
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 20:12 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-gdbserver-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/24/builds/3101

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

checking whether ADDR_NO_RANDOMIZE is declared... /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT m68hc11-opc.lo -MD -MP -MF .deps/m68hc11-opc.Tpo -c -o m68hc11-opc.lo ../../binutils-gdb/opcodes/m68hc11-opc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT m68hc11-opc.lo -MD -MP -MF .deps/m68hc11-opc.Tpo -c ../../binutils-gdb/opcodes/m68hc11-opc.c -o m68hc11-opc.o
yes
mv -f .deps/m68hc11-opc.Tpo .deps/m68hc11-opc.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT m68k-dis.lo -MD -MP -MF .deps/m68k-dis.Tpo -c -o m68k-dis.lo ../../binutils-gdb/opcodes/m68k-dis.c
checking whether strstr is declared... libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT m68k-dis.lo -MD -MP -MF .deps/m68k-dis.Tpo -c ../../binutils-gdb/opcodes/m68k-dis.c -o m68k-dis.o
yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_blksize... yes
checking for library containing kinfo_getfile... mv -f .deps/m68k-dis.Tpo .deps/m68k-dis.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT m68k-opc.lo -MD -MP -MF .deps/m68k-opc.Tpo -c -o m68k-opc.lo ../../binutils-gdb/opcodes/m68k-opc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT m68k-opc.lo -MD -MP -MF .deps/m68k-opc.Tpo -c ../../binutils-gdb/opcodes/m68k-opc.c -o m68k-opc.o
no
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... mv -f .deps/m68k-opc.Tpo .deps/m68k-opc.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT s12z-dis.lo -MD -MP -MF .deps/s12z-dis.Tpo -c -o s12z-dis.lo ../../binutils-gdb/opcodes/s12z-dis.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT s12z-dis.lo -MD -MP -MF .deps/s12z-dis.Tpo -c ../../binutils-gdb/opcodes/s12z-dis.c -o s12z-dis.o
yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... mv -f .deps/s12z-dis.Tpo .deps/s12z-dis.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT s12z-opc.lo -MD -MP -MF .deps/s12z-opc.Tpo -c -o s12z-opc.lo ../../binutils-gdb/opcodes/s12z-opc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT s12z-opc.lo -MD -MP -MF .deps/s12z-opc.Tpo -c ../../binutils-gdb/opcodes/s12z-opc.c -o s12z-opc.o
yes
checking for std::thread... mv -f .deps/s12z-opc.Tpo .deps/s12z-opc.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT mcore-dis.lo -MD -MP -MF .deps/mcore-dis.Tpo -c -o mcore-dis.lo ../../binutils-gdb/opcodes/mcore-dis.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT mcore-dis.lo -MD -MP -MF .deps/mcore-dis.Tpo -c ../../binutils-gdb/opcodes/mcore-dis.c -o mcore-dis.o
mv -f .deps/mcore-dis.Tpo .deps/mcore-dis.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT mep-asm.lo -MD -MP -MF .deps/mep-asm.Tpo -c -o mep-asm.lo ../../binutils-gdb/opcodes/mep-asm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT mep-asm.lo -MD -MP -MF .deps/mep-asm.Tpo -c ../../binutils-gdb/opcodes/mep-asm.c -o mep-asm.o
mv -f .deps/mep-asm.Tpo .deps/mep-asm.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT mep-desc.lo -MD -MP -MF .deps/mep-desc.Tpo -c -o mep-desc.lo ../../binutils-gdb/opcodes/mep-desc.c
yes
checking for pthread_sigmask... libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT mep-desc.lo -MD -MP -MF .deps/mep-desc.Tpo -c ../../binutils-gdb/opcodes/mep-desc.c -o mep-desc.o
yes
checking for pthread_setname_np... yes
checking for sigsetjmp... mv -f .deps/mep-desc.Tpo .deps/mep-desc.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes  -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG  -MT mep-dis.lo -MD -MP -MF .deps/mep-dis.Tpo -c -o mep-dis.lo ../../binutils-gdb/opcodes/mep-dis.c
yes
checking whether to use intel pt... auto
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g -D_GLIBCXX_DEBUG -MT mep-dis.lo -MD -MP -MF .deps/mep-dis.Tpo -c ../../binutils-gdb/opcodes/mep-dis.c -o mep-dis.o
checking for libipt... yes
checking how to link with libipt... -lipt
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-gdbserver-m32/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-native-gdbserver-m32/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=379.285063
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m64, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (9 preceding siblings ...)
  2020-06-14 20:12 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
@ 2020-06-14 20:17 ` gdb-buildbot
  2020-06-14 20:18 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-w64-mingw32, " gdb-buildbot
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 20:17 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-gdbserver-m64

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/22/builds/3099

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    python/py-utils.o
  CXX    python/py-value.o
  CXX    python/py-varobj.o
  CXX    python/py-xmethods.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-gdbserver/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-pipe.o
  CXX    ser-tcp.o
  CXX    ser-uds.o
  CXX    ser-unix.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function int adi_tag_fd():
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of target_errno will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function int target_fileio_open(inferior*, const char*, int, int, bool, int*)
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1609: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-gdbserver/build/gdb'
make[1]: *** [Makefile:10066: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot-2/fedora-x86-64-4/fedora-x86-64-native-gdbserver/build'
make: *** [Makefile:854: all] Error 2
program finished with exit code 2
elapsedTime=381.252988
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

* *** COMPILATION FAILED *** Failures on Fedora-x86_64-w64-mingw32, branch master *** BREAKAGE ***
  2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
                   ` (10 preceding siblings ...)
  2020-06-14 20:17 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
@ 2020-06-14 20:18 ` gdb-buildbot
  11 siblings, 0 replies; 13+ messages in thread
From: gdb-buildbot @ 2020-06-14 20:18 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-w64-mingw32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/23/builds/2958

Author:
        Simon Marchi <simon.marchi@efficios.com>

Commit tested:
        f408d82c7a140268c3b7be35970c96d8385b5902

Subject of commit:
        gdb: fix off-by-one error in quirk_rust_enum

*** FAILED to build GDB -- compile gdb ***
==============================================

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

  CXX    process-stratum-target.o
  CXX    producer.o
  CXX    progspace-and-thread.o
  CXX    progspace.o
  CXX    prologue-value.o
  CXX    psymtab.o
  CXX    python/python.o
  CXX    ravenscar-thread.o
  CXX    record-btrace.o
  CXX    record-full.o
  CXX    record.o
  CXX    regcache-dump.o
  CXX    regcache.o
  CXX    reggroups.o
  CXX    registry.o
  CXX    remote-fileio.o
  CXX    remote-notif.o
  CXX    remote.o
  CXX    reverse.o
  CXX    riscv-fbsd-tdep.o
  CXX    riscv-linux-tdep.o
  CXX    riscv-ravenscar-thread.o
  CXX    riscv-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    run-on-main-thread.o
  YACC   rust-exp.c
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:23.1-12: warning: deprecated directive, use %define api.pure [-Wdeprecated]
   23 | %pure-parser
      | ^~~~~~~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/gdb/../../binutils-gdb/gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
   28 | %expect 1
      | ^~~~~~~
/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/gdb/../../binutils-gdb/gdb/rust-exp.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
  CXX    rust-lang.o
  CXX    rx-tdep.o
  CXX    s12z-tdep.o
  CXX    s390-linux-tdep.o
  CXX    s390-tdep.o
  CXX    score-tdep.o
  CXX    selftest-arch.o
  CXX    sentinel-frame.o
  CXX    ser-base.o
  CXX    ser-event.o
  CXX    ser-mingw.o
  CXX    ser-tcp.o
  CXX    serial.o
  CXX    sh-linux-tdep.o
  CXX    sh-nbsd-tdep.o
  CXX    sh-tdep.o
  CXX    skip.o
  CXX    sol2-tdep.o
  CXX    solib-aix.o
  CXX    solib-darwin.o
  CXX    solib-dsbt.o
  CXX    solib-frv.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.o
  CXX    source-cache.o
  CXX    source.o
  CXX    sparc-linux-tdep.o
  CXX    sparc-nbsd-tdep.o
  CXX    sparc-obsd-tdep.o
  CXX    sparc-ravenscar-thread.o
  CXX    sparc-sol2-tdep.o
  CXX    sparc-tdep.o
  CXX    sparc64-fbsd-tdep.o
  CXX    sparc64-linux-tdep.o
  CXX    sparc64-nbsd-tdep.o
  CXX    sparc64-obsd-tdep.o
  CXX    sparc64-sol2-tdep.o
  CXX    sparc64-tdep.o
  CXX    stabsread.o
../../binutils-gdb/gdb/sparc64-tdep.c: In function 'int adi_tag_fd()':
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: the address of 'target_errno' will never be NULL [-Werror=address]
  290 |                                           0, &target_errno);
      |                                                           ^
../../binutils-gdb/gdb/sparc64-tdep.c:290:59: error: too few arguments to function 'int target_fileio_open(inferior*, const char*, int, int, bool, int*)'
In file included from ../../binutils-gdb/gdb/exec.h:23,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/sparc64-tdep.c:26:
../../binutils-gdb/gdb/target.h:2143:12: note: declared here
 2143 | extern int target_fileio_open (struct inferior *inf,
      |            ^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1605: sparc64-tdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/gdb'
make[1]: *** [Makefile:9758: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build'
make: *** [Makefile:866: all] Error 2
program finished with exit code 2
elapsedTime=393.275391
==============================================



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-06-14 20:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 18:28 [binutils-gdb] gdb: fix off-by-one error in quirk_rust_enum gdb-buildbot
2020-05-19 23:46 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-m64, branch master *** BREAKAGE *** gdb-buildbot
2020-05-19 23:49 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
2020-05-19 23:52 ` *** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
2020-06-14 19:44 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2020-06-14 19:51 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-m32, " gdb-buildbot
2020-06-14 19:58 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-m64, " gdb-buildbot
2020-06-14 20:03 ` Failures on Fedora-i686, branch master gdb-buildbot
2020-06-14 20:05 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master *** BREAKAGE *** gdb-buildbot
2020-06-14 20:11 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2020-06-14 20:12 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
2020-06-14 20:17 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
2020-06-14 20:18 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-w64-mingw32, " gdb-buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).