[binutils-gdb] [PowerPC] Consolidate linux vector regset sizes

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

[binutils-gdb] [PowerPC] Consolidate linux vector regset sizes

sergiodj+buildbot-2
*** TEST RESULTS FOR COMMIT d078308a2ed1290e587b4365e2d7382d951a26af ***

Author: Pedro Franco de Carvalho <[hidden email]>
Branch: master
Commit: d078308a2ed1290e587b4365e2d7382d951a26af

[PowerPC] Consolidate linux vector regset sizes

This patch defines constants for the sizes of the two vector
regsets (vector-scalar registers and regular vector registers).

The native, gdbserver and core file targets are changed to use these
constants.

The Linux ptrace calls return (or read) a smaller regset than the one
found in core files for vector registers, because ptrace uses a single
4-byte quantity for vrsave at the end of the regset, while the
core-file regset uses a full 16-byte field for vrsave. For simplicity,
the larger size is used in both cases, and so a buffer with 12 unused
additional bytes is passed to ptrace in the native target.

gdb/ChangeLog:
2018-05-22  Pedro Franco de Carvalho  <[hidden email]>

        * arch/ppc-linux-common.h (PPC_LINUX_SIZEOF_VRREGSET)
        (PPC_LINUX_SIZEOF_VSXREGSET): Define.
        * ppc-linux-nat.c (SIZEOF_VSXREGS, SIZEOF_VRREGS): Remove.
        (gdb_vrregset_t): Change array type size to
        PPC_LINUX_SIZEOF_VRREGSET.
        (gdb_vsxregset_t): Change array type size to
        PPC_LINUX_SIZEOF_VSXREGSET.
        * ppc-linux-tdep.c (ppc_linux_iterate_over_regset_sections):
        Change integer literals to PPC_LINUX_SIZEOF_VRREGSET and
        PPC_LINUX_SIZEOF_VSXREGSET.

gdb/gdbserver/ChangeLog:
2018-05-22  Pedro Franco de Carvalho  <[hidden email]>

        * linux-ppc-low.c (SIZEOF_VSXREGS, SIZEOF_VRREGS): Remove.
        (ppc_arch_setup): Change SIZEOF_VRREGS and SIZEOF_VSXREGS to
        PPC_LINUX_SIZEOF_VRREGSET and PPC_LINUX_SIZEOF_VSXREGSET.
Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-s390x-m64, branch master

sergiodj+buildbot-2
Buildslave:
        marist-fedora-s390x

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

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-s390x-m64/d0/d078308a2ed1290e587b4365e2d7382d951a26af/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: testing if call get_value
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: 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-s390x-m64/xfails/master/xfail?id=b916c04>

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-s390x-m64/xfails/master/xfail.table?id=b916c04>



Reply | Threaded
Open this post in threaded view
|

Failures on RHEL-s390x-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        rhel-7_1-s390x-1

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

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

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

*** 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/RHEL-s390x-m64/xfails/master/xfail?id=6da72a5>

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=6da72a5>



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/5384>

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

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

*** 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=6c960dc>

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=6c960dc>



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-4

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

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

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

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/info-os.exp: continue to breakpoint: Set breakpoint here
PASS -> FAIL: gdb.base/info-os.exp: get shared memory key
PASS -> FAIL: gdb.base/info-os.exp: get shared memory ID
PASS -> FAIL: gdb.base/info-os.exp: get semaphore key
PASS -> FAIL: gdb.base/info-os.exp: get semaphore ID
PASS -> FAIL: gdb.base/info-os.exp: get message queue key
PASS -> FAIL: gdb.base/info-os.exp: get message queue ID
PASS -> FAIL: gdb.base/info-os.exp: get socket port number
PASS -> FAIL: gdb.base/info-os.exp: get process list
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
============================


*** 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=370beeb>

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=370beeb>



Reply | Threaded
Open this post in threaded view
|

*** COMPILATION FAILED *** Failures on Fedora-x86_64-w64-mingw32, branch master *** BREAKAGE ***

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-w64-mingw32/builds/1712>

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-w64-mingw32/d0/d078308a2ed1290e587b4365e2d7382d951a26af/>

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

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

../../binutils-gdb/bfd/archive.c:1685:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_archive_bsd44_construct_extended_name_table':
../../binutils-gdb/bfd/archive.c:1729:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_generic_write_ar_hdr':
../../binutils-gdb/bfd/archive.c:1741:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_bsd44_write_ar_hdr':
../../binutils-gdb/bfd/archive.c:1784:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_noarchive_write_ar_hdr':
../../binutils-gdb/bfd/archive.c:1790:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function 'bfd_generic_stat_arch_elt':
../../binutils-gdb/bfd/archive.c:1963:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function 'bfd_dont_truncate_arname':
../../binutils-gdb/bfd/archive.c:2000:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function 'bfd_bsd_truncate_arname':
../../binutils-gdb/bfd/archive.c:2023:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function 'bfd_gnu_truncate_arname':
../../binutils-gdb/bfd/archive.c:2060:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_noarchive_truncate_arname':
../../binutils-gdb/bfd/archive.c:2067:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_write_archive_contents':
../../binutils-gdb/bfd/archive.c:2226:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_compute_and_write_armap':
../../binutils-gdb/bfd/archive.c:2382:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_bsd_write_armap':
../../binutils-gdb/bfd/archive.c:2538:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_archive_bsd_update_armap_timestamp':
../../binutils-gdb/bfd/archive.c:2593:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_coff_write_armap':
../../binutils-gdb/bfd/archive.c:2746:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_noarchive_write_armap':
../../binutils-gdb/bfd/archive.c:2757:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/archive.c: In function '_bfd_archive_close_and_cleanup':
../../binutils-gdb/bfd/archive.c:2815:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1501: archive.lo] Error 1
../../binutils-gdb/bfd/bfd.c: In function '_bfd_error_handler':
../../binutils-gdb/bfd/bfd.c:1167:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/bfd.c: In function 'bfd_assert':
../../binutils-gdb/bfd/bfd.c:1418:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/bfd.c: In function '_bfd_abort':
../../binutils-gdb/bfd/bfd.c:1438:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/bfd.c: In function '_bfd_get_gp_value':
../../binutils-gdb/bfd/bfd.c:1612:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
../../binutils-gdb/bfd/bfd.c: In function '_bfd_set_gp_value':
../../binutils-gdb/bfd/bfd.c:1628:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
 }
 ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1501: bfd.lo] Error 1
make[4]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/bfd'
make[3]: *** [Makefile:1544: all-recursive] Error 1
make[2]: *** [Makefile:1077: all] Error 2
make[1]: *** [Makefile:2696: all-bfd] Error 2
make: *** [Makefile:857: all] Error 2
make[3]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/bfd'
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build/bfd'
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-3/fedora-x86-64-mingw32/build'
============================



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-1

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

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

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

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
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/Fedora-x86_64-native-extended-gdbserver-m64/xfails/master/xfail?id=d3d9c05>

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=d3d9c05>



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-4

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

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

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

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/info-os.exp: continue to breakpoint: Set breakpoint here
PASS -> FAIL: gdb.base/info-os.exp: get shared memory key
PASS -> FAIL: gdb.base/info-os.exp: get shared memory ID
PASS -> FAIL: gdb.base/info-os.exp: get semaphore key
PASS -> FAIL: gdb.base/info-os.exp: get semaphore ID
PASS -> FAIL: gdb.base/info-os.exp: get message queue key
PASS -> FAIL: gdb.base/info-os.exp: get message queue ID
PASS -> FAIL: gdb.base/info-os.exp: get socket port number
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-native-gdbserver-m64/xfails/master/xfail?id=a5e321e>

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=a5e321e>



Reply | Threaded
Open this post in threaded view
|

Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu-trusty-aarch32-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-AArch32-native-extended-gdbserver-m32/builds/3569>

Commit(s) tested:
        d078308a2ed1290e587b4365e2d7382d951a26af

Author(s) (in the same order as the commits):
        Pedro Franco de Carvalho <[hidden email]>

Subject:
        [PowerPC] Consolidate linux vector regset sizes

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-AArch32-native-extended-gdbserver-m32/d0/d078308a2ed1290e587b4365e2d7382d951a26af/>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=2: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=5: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=7: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=8: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=12: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=18: wait for stops
PASS -> FAIL: gdb.threads/pthreads.exp: check backtrace from thread 1
============================


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

FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST.  PLEASE CONTACT THE BUILDBOT ADMIN.