[binutils-gdb] gdb/riscv: Improve logic for when h/w float abi should be used

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[binutils-gdb] gdb/riscv: Improve logic for when h/w float abi should be used

sergiodj+buildbot-2
*** TEST RESULTS FOR COMMIT 90af06793e9d391c0aa33994f21bba6971d084f7 ***

Author: Andrew Burgess <[hidden email]>
Branch: master
Commit: 90af06793e9d391c0aa33994f21bba6971d084f7

gdb/riscv: Improve logic for when h/w float abi should be used

Currently, if the target announces that it has floating point
registers in its target description then GDB assumes that the hardware
float ABI should be used.  However, there's nothing stopping a user
compiling a program for the soft-float abi, and then trying to run
this on a target with hardware floating point registers.

This commit adjusts the logic that decides if GDB should use the
hardware float abi.  The primary decision now is based on what the ELF
currently being executed says in its headers.  If the file was
compiled for h/w float abi, then GDB uses h/w float abi, otherwise s/w
float is used.

If the current BFD is not an ELF then we don't currently have a
mechanism for figuring out if the file was compiled for float or not.
In this case we disable the h/w float abi.  This shouldn't be a
problem as, right now, the RISC-V linker can only produce ELFs.

If there is NO current BFD (can this happen?) then we will enable h/w
float abi if the target has floating point hardware, otherwise, s/w
float abi is used.

This commit also adds some sanity checking that the features requested
in the BFD (xlen and flen) match the target description.

For testing I ran the testsuite on a target that returns a target
description containing both integer and floating point registers, but
used a compiler that didn't have floating point support.  Before this
commit I would see failures on may tests that made inferior calls
using floating point arguments, after this commit, all of these issues
are resolved.  One example from the testsuite is
gdb.base/infcall-nested-structs.exp.

gdb/ChangeLog:

        * riscv-tdep.c (riscv_features_from_gdbarch_info): New function.
        (riscv_find_default_target_description): Use new function to
        extract feature from gdbarch_info.
        (riscv_gdbarch_init): Add error checks for xlen and flen between
        target description and bfd headers.  Be smarter about when we
        think the hardware floating point abi should be used.
Reply | Threaded
Open this post in threaded view
|

Failures on RHEL-s390x-m64, branch master

sergiodj+buildbot-2
Buildslave:
        rhel-7_1-s390x-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/RHEL-s390x-m64/builds/8882>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/RHEL-s390x-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

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


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/RHEL-s390x-m64/xfails/master/xfail?id=e8b4bade>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/RHEL-s390x-m64/xfails/master/xfail.table?id=e8b4bade>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-i686, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-4

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-i686/builds/11595>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-i686/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Diff to previous build ***
============================
new FAIL: gdb.base/catch-syscall.exp: multiple targets: insert catch syscall on syscall 1 -- write on i386:x86-64
new FAIL: gdb.python/py-finish-breakpoint2.exp: check FinishBreakpoint in catch
new FAIL: gdb.python/py-finish-breakpoint2.exp: check finish BP removal
new FAIL: gdb.python/py-finish-breakpoint2.exp: continue to second exception
new FAIL: gdb.python/py-finish-breakpoint2.exp: set FinishBP after the exception
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
new KFAIL: gdb.xml/tdesc-arch.exp: set tdesc filename tdesc-arch.xml
============================


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-i686/xfails/master/xfail?id=d9b5a952>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-i686/xfails/master/xfail.table?id=d9b5a952>



Reply | Threaded
Open this post in threaded view
|

Failures on Debian-s390x-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        debian-jessie-s390x-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Debian-s390x-m64/builds/7001>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Debian-s390x-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** 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://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-m64/xfails/master/xfail?id=e26baaf6>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-m64/xfails/master/xfail.table?id=e26baaf6>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-cc-with-index, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-2

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-cc-with-index/builds/11509>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-cc-with-index/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

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


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-cc-with-index/xfails/master/xfail?id=b0ba036e>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-cc-with-index/xfails/master/xfail.table?id=b0ba036e>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-3

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m32/builds/11274>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-extended-gdbserver-m32/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/multi-forks.exp: run to exit 6
PASS -> FAIL: gdb.multi/bkpt-multi-exec.exp: run
PASS -> FAIL: gdb.multi/multi-term-settings.exp: inf1_how=attach: inf2_how=attach: continue
============================


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-extended-gdbserver-m32/xfails/master/xfail?id=d39bf374>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-extended-gdbserver-m32/xfails/master/xfail.table?id=d39bf374>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-gdbserver-m64/builds/11510>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-gdbserver-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Diff to previous build ***
============================
new UNRESOLVED: gdb.mi/mi-break.exp: mi-mode=separate:
============================


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m64/xfails/master/xfail?id=0fc024e7>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m64/xfails/master/xfail.table?id=0fc024e7>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-2

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-m64/builds/11649>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: 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://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-m64/xfails/master/xfail?id=cdf6907c>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-m64/xfails/master/xfail.table?id=cdf6907c>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-4

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m64/builds/11545>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-extended-gdbserver-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Diff to previous build ***
============================
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
============================


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-extended-gdbserver-m64/xfails/master/xfail?id=ed344788>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-extended-gdbserver-m64/xfails/master/xfail.table?id=ed344788>



Reply | Threaded
Open this post in threaded view
|

Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu16-aarch64

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-Aarch64-native-extended-gdbserver-m64/builds/238>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>




Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-m32, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-m32/builds/11347>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-m32/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
============================


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-m32/xfails/master/xfail?id=4e4add6c>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-m32/xfails/master/xfail.table?id=4e4add6c>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-gdbserver-m32, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-3

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-gdbserver-m32/builds/11280>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-gdbserver-m32/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

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


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

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m32/xfails/master/xfail?id=f5591e61>

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

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m32/xfails/master/xfail.table?id=f5591e61>



Reply | Threaded
Open this post in threaded view
|

Failures on Ubuntu-Aarch64-native-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu16-aarch64

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-Aarch64-native-gdbserver-m64/builds/4607>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-Aarch64-native-gdbserver-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>




Reply | Threaded
Open this post in threaded view
|

*** COMPILATION FAILED *** Failures on Ubuntu-Aarch64-m64, branch master *** BREAKAGE ***

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu16-aarch64

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-Aarch64-m64/builds/4675>

Commit(s) tested:
        90af06793e9d391c0aa33994f21bba6971d084f7

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        gdb/riscv: Improve logic for when h/w float abi should be used

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-Aarch64-m64/90/90af06793e9d391c0aa33994f21bba6971d084f7/>

*** Failed to compiled GDB.  ***
============================

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

  CXX    python/py-instruction.o
  CXX    python/py-lazy-string.o
  CXX    python/py-linetable.o
  CXX    python/py-newobjfileevent.o
  CXX    python/py-objfile.o
  CXX    python/py-param.o
  CXX    python/py-prettyprint.o
  CXX    python/py-progspace.o
  CXX    python/py-record-btrace.o
  CXX    python/py-record-full.o
  CXX    python/py-record.o
  CXX    python/py-signalevent.o
  CXX    python/py-stopevent.o
  CXX    python/py-symbol.o
  CXX    python/py-symtab.o
  CXX    python/py-threadevent.o
  CXX    python/py-type.o
  CXX    python/py-unwind.o
  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-tdep.o
  CXX    rl78-tdep.o
  CXX    rs6000-aix-tdep.o
  CXX    rs6000-lynx178-tdep.o
  CXX    rs6000-tdep.o
  CXX    rust-exp.o
  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-spu.o
  CXX    solib-svr4.o
  CXX    solib-target.o
  CXX    solib.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    spu-multiarch.o
  CXX    spu-tdep.o
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Makefile:1632: recipe for target 'sparc64-obsd-tdep.o' failed
make[2]: *** [sparc64-obsd-tdep.o] Error 4
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb_buildbot/ubuntu16-aarch64/ubuntu-aarch64-m64/build/gdb'
Makefile:8792: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/home/gdb_buildbot/ubuntu16-aarch64/ubuntu-aarch64-m64/build'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2
============================