- Patches added:
* gdb-build-fix-gdbserver-linux-aarch64-low.cc-build.patch * powerpc-fix-test-gdb.ada-finish-large.exp.patch * gdb-testsuite-fix-timeout-in-gdb.tui-resize-2.exp.patch - Maintenance script qa.sh: * Remove PR26761 kfail. * Add PR31061, PR31823, PR31825, PR31826, PR31827 and PR31564 kfail. * Remove PKRU-related kfails. * Improve report format for known clean configs. * Add more configs as known clean. * Expand scope of PR29253 kfail. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=387
This commit is contained in:
parent
8c12ed3178
commit
31dbebe14a
41
gdb-build-fix-gdbserver-linux-aarch64-low.cc-build.patch
Normal file
41
gdb-build-fix-gdbserver-linux-aarch64-low.cc-build.patch
Normal file
@ -0,0 +1,41 @@
|
||||
From 0397481ff25b76d43b123f3d51828982ceb92834 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Wielaard <mark@klomp.org>
|
||||
Date: Fri, 3 May 2024 15:17:42 +0200
|
||||
Subject: [PATCH] [gdb/build] Fix gdbserver/linux-aarch64-low.cc build
|
||||
|
||||
Commit 0ee25f97d21e ("Fix regression on aarch64-linux gdbserver")
|
||||
removed the last use of i in gdbserver/linux-aarch64-low.cc
|
||||
(aarch64_target::low_stopped_data_address). Breaking the build on
|
||||
aarch64 with:
|
||||
|
||||
gdbserver/linux-aarch64-low.cc: In member function ?virtual CORE_ADDR aarch64_target::low_stopped_data_address()?:
|
||||
gdbserver/linux-aarch64-low.cc:557:12: error: unused variable ?i? [-Werror=unused-variable]
|
||||
557 | int pid, i;
|
||||
| ^
|
||||
cc1plus: all warnings being treated as errors
|
||||
|
||||
Fix this by removing the variable i completely.
|
||||
|
||||
Fixes: 0ee25f97d21e ("Fix regression on aarch64-linux gdbserver")
|
||||
---
|
||||
gdbserver/linux-aarch64-low.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc
|
||||
index 14346b89822..ce0029b885f 100644
|
||||
--- a/gdbserver/linux-aarch64-low.cc
|
||||
+++ b/gdbserver/linux-aarch64-low.cc
|
||||
@@ -555,7 +555,7 @@ CORE_ADDR
|
||||
aarch64_target::low_stopped_data_address ()
|
||||
{
|
||||
siginfo_t siginfo;
|
||||
- int pid, i;
|
||||
+ int pid;
|
||||
struct aarch64_debug_reg_state *state;
|
||||
|
||||
pid = lwpid_of (current_thread);
|
||||
|
||||
base-commit: b33811a85ff53af77cdad995ad8cb50431c8c362
|
||||
--
|
||||
2.35.3
|
||||
|
76
gdb-testsuite-fix-timeout-in-gdb.tui-resize-2.exp.patch
Normal file
76
gdb-testsuite-fix-timeout-in-gdb.tui-resize-2.exp.patch
Normal file
@ -0,0 +1,76 @@
|
||||
From 56ab56c61f7cba5ed919dfae49c4c8671be8e6b5 Mon Sep 17 00:00:00 2001
|
||||
From: Tom de Vries <tdevries@suse.de>
|
||||
Date: Fri, 31 May 2024 10:19:35 +0200
|
||||
Subject: [PATCH] [gdb/testsuite] Fix timeout in gdb.tui/resize-2.exp
|
||||
|
||||
When running test-case gdb.tui/resize-2.exp with taskset -c 0, I sometimes run
|
||||
into:
|
||||
...
|
||||
tui disable^[[40;1H^M(gdb) PASS: $exp: tui disable
|
||||
^M^[[K(gdb) FAIL: $exp: two prompt redisplays after resize (timeout)
|
||||
...
|
||||
|
||||
The test-case does "Term::resize 24 80 0" while having the settings of an
|
||||
earlier "Term::resize 40 90", so both dimensions change.
|
||||
|
||||
When TUI is enabled, we call Term::resize with wait_for_msg == 1, and the proc:
|
||||
- calls stty to change one dimension,
|
||||
- waits for the message (enabled by "maint set tui-resize-message on")
|
||||
confirming the resize has happened,
|
||||
- calls stty to change the other dimension, and again
|
||||
- waits for the message confirming the resize has happened.
|
||||
|
||||
Since TUI is disabled, we call Term::resize with wait_for_msg == 0 because the
|
||||
message is not printed, so stty is called twice, and afterwards we check for
|
||||
the results of the two resizes, which is the test that is failing.
|
||||
|
||||
The problem is that not waiting for a response after each stty call opens up
|
||||
the possibility of the responses being merged.
|
||||
|
||||
Fix this by calling Term::resize twice, changing one dimension at a time, and
|
||||
waiting for a single prompt redisplay after each one.
|
||||
|
||||
Tested on x86_64-linux.
|
||||
|
||||
PR testsuite/31822
|
||||
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31822
|
||||
---
|
||||
gdb/testsuite/gdb.tui/resize-2.exp | 18 +++++++++++++++---
|
||||
1 file changed, 15 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/gdb/testsuite/gdb.tui/resize-2.exp b/gdb/testsuite/gdb.tui/resize-2.exp
|
||||
index 0f1f0b9eb1e..729e1ee23f9 100644
|
||||
--- a/gdb/testsuite/gdb.tui/resize-2.exp
|
||||
+++ b/gdb/testsuite/gdb.tui/resize-2.exp
|
||||
@@ -59,11 +59,23 @@ gdb_test_multiple "tui disable" "" {
|
||||
}
|
||||
}
|
||||
|
||||
-# Resize with TUI disabled, so don't wait for the resize message.
|
||||
+# Resize with TUI disabled, so don't wait for the resize message. Instead,
|
||||
+# do it in two steps, and wait for a prompt redisplay for each. If we do
|
||||
+# this in one step, it's unpredictable how may prompt redisplays we'll get.
|
||||
+Term::resize 24 90 0
|
||||
+set screen_dim { 0 0 90 24 }
|
||||
+
|
||||
+gdb_test_multiple "" "prompt redisplays after first resize" {
|
||||
+ -re "\r.*$gdb_prompt $" {
|
||||
+ pass $gdb_test_name
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
Term::resize 24 80 0
|
||||
set screen_dim { 0 0 80 24 }
|
||||
-gdb_test_multiple "" "two prompt redisplays after resize" {
|
||||
- -re "\r.*$gdb_prompt \r.*$gdb_prompt $" {
|
||||
+
|
||||
+gdb_test_multiple "" "prompt redisplays after second resize" {
|
||||
+ -re "\r.*$gdb_prompt $" {
|
||||
pass $gdb_test_name
|
||||
}
|
||||
}
|
||||
|
||||
base-commit: 9736d941f271a6c3c14dcbeb5ad03a5fc4106b45
|
||||
--
|
||||
2.35.3
|
||||
|
16
gdb.changes
16
gdb.changes
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 06:27:25 UTC 2024 - Tom de Vries <tdevries@suse.com>
|
||||
|
||||
- Patches added:
|
||||
* gdb-build-fix-gdbserver-linux-aarch64-low.cc-build.patch
|
||||
* powerpc-fix-test-gdb.ada-finish-large.exp.patch
|
||||
* gdb-testsuite-fix-timeout-in-gdb.tui-resize-2.exp.patch
|
||||
- Maintenance script qa.sh:
|
||||
* Remove PR26761 kfail.
|
||||
* Add PR31061, PR31823, PR31825, PR31826, PR31827 and PR31564
|
||||
kfail.
|
||||
* Remove PKRU-related kfails.
|
||||
* Improve report format for known clean configs.
|
||||
* Add more configs as known clean.
|
||||
* Expand scope of PR29253 kfail.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 1 07:32:34 UTC 2024 - Tom de Vries <tdevries@suse.com>
|
||||
|
||||
|
7
gdb.spec
7
gdb.spec
@ -338,6 +338,8 @@ Patch2069: fix-gdb.threads-threads-after-exec.exp-race.patch
|
||||
Patch2070: rs6000-unwind-on-each-instruction-fix.patch
|
||||
Patch2071: gdb-python-make-gdb.unwindinfo.add_saved_register-mo.patch
|
||||
Patch2072: gdb-arm-remove-thumb-bit-in-arm_adjust_breakpoint_ad.patch
|
||||
Patch2073: gdb-build-fix-gdbserver-linux-aarch64-low.cc-build.patch
|
||||
Patch2074: powerpc-fix-test-gdb.ada-finish-large.exp.patch
|
||||
|
||||
# Backports from master, not yet available in next release (GDB 16).
|
||||
|
||||
@ -353,6 +355,8 @@ Patch2101: gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
|
||||
Patch2102: gdb-cli-add-ignore-errors-command.patch
|
||||
# https://sourceware.org/pipermail/gdb-patches/2024-May/209469.html
|
||||
Patch2103: gdb-testsuite-fix-error-in-gdb.server-server-kill-py.patch
|
||||
# https://sourceware.org/pipermail/gdb-patches/2024-May/209504.html
|
||||
Patch2104: gdb-testsuite-fix-timeout-in-gdb.tui-resize-2.exp.patch
|
||||
|
||||
# https://sourceware.org/pipermail/gdb-patches/2023-December/205054.html
|
||||
Patch2120: gdb-symtab-refactor-condition-in-scan_attributes.patch
|
||||
@ -809,11 +813,14 @@ find -name "*.info*"|xargs rm -f
|
||||
%patch -P 2070 -p1
|
||||
%patch -P 2071 -p1
|
||||
%patch -P 2072 -p1
|
||||
%patch -P 2073 -p1
|
||||
%patch -P 2074 -p1
|
||||
|
||||
%patch -P 2100 -p1
|
||||
%patch -P 2101 -p1
|
||||
%patch -P 2102 -p1
|
||||
%patch -P 2103 -p1
|
||||
%patch -P 2104 -p1
|
||||
|
||||
%patch -P 2120 -p1
|
||||
%patch -P 2121 -p1
|
||||
|
49
powerpc-fix-test-gdb.ada-finish-large.exp.patch
Normal file
49
powerpc-fix-test-gdb.ada-finish-large.exp.patch
Normal file
@ -0,0 +1,49 @@
|
||||
From d95be7a5210b69ad879c86d23efaa2cd7dcda94a Mon Sep 17 00:00:00 2001
|
||||
From: Carl Love <cel@linux.ibm.com>
|
||||
Date: Mon, 20 Nov 2023 11:13:22 -0500
|
||||
Subject: [PATCH] PowerPC: Fix test gdb.ada/finish-large.exp
|
||||
|
||||
Function Create_large returns a large data structure. On PowerPC, register
|
||||
r3 contains the address of where the data structure to be returned is to
|
||||
be stored. However, on exit the ABI does not guarantee that r3 has not
|
||||
been changed. The GDB finish command prints the return value of the
|
||||
function at the end of the function. GDB needs to use the
|
||||
DW_TAG_call_site information to determine the value of r3 on entry to
|
||||
the function to correctly print the return value at the end of the
|
||||
function. The test must be compiled with -fvar-tracking for the
|
||||
DW_TAG_call_site information to be included in the executable file.
|
||||
|
||||
This patch adds the -fvar-tracking option to the compile line if the
|
||||
option is supported.
|
||||
|
||||
The patch fixes the one regression error for the test on PowerPC.
|
||||
|
||||
The patch has been tested on Power 10 and X86-64 with no regressions.
|
||||
---
|
||||
gdb/testsuite/gdb.ada/finish-large.exp | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gdb/testsuite/gdb.ada/finish-large.exp b/gdb/testsuite/gdb.ada/finish-large.exp
|
||||
index 5661d132a18..6c8b1b2648d 100644
|
||||
--- a/gdb/testsuite/gdb.ada/finish-large.exp
|
||||
+++ b/gdb/testsuite/gdb.ada/finish-large.exp
|
||||
@@ -19,7 +19,13 @@ require allow_ada_tests
|
||||
|
||||
standard_ada_testfile p
|
||||
|
||||
-if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
|
||||
+set flags {debug}
|
||||
+
|
||||
+if {[have_fvar_tracking]} {
|
||||
+ lappend flags "additional_flags=-fvar-tracking"
|
||||
+}
|
||||
+
|
||||
+if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
|
||||
return -1
|
||||
}
|
||||
|
||||
|
||||
base-commit: 0397481ff25b76d43b123f3d51828982ceb92834
|
||||
--
|
||||
2.35.3
|
||||
|
308
qa.sh
308
qa.sh
@ -30,6 +30,7 @@ have_sle11=false
|
||||
have_sle12=false
|
||||
have_factory=false
|
||||
have_aarch64=false
|
||||
have_arm=false
|
||||
have_powerpc64le=false
|
||||
have_s390=false
|
||||
have_s390x=false
|
||||
@ -50,6 +51,9 @@ if [ "$n" = "-local" ]; then
|
||||
-aarch64)
|
||||
have_aarch64=true
|
||||
;;
|
||||
-arm)
|
||||
have_arm=true
|
||||
;;
|
||||
-powerpc64le|-ppc64le)
|
||||
have_powerpc64le=true
|
||||
;;
|
||||
@ -123,7 +127,7 @@ report_sum ()
|
||||
echo FAILs:
|
||||
grep ^FAIL: "$sum" \
|
||||
| grep -E -v "$kfail_re"
|
||||
echo ERROR COUNT:
|
||||
echo -n "ERROR COUNT: "
|
||||
grep -c ^ERROR: "$sum"
|
||||
}
|
||||
|
||||
@ -181,10 +185,6 @@ kfail=(
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=26363
|
||||
"FAIL: gdb.xml/tdesc-reload.exp: .*internal error"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=26761
|
||||
# Should be fixed in gdb-14.
|
||||
"FAIL: gdb.base/gdb-sigterm.exp: .*internal error"
|
||||
|
||||
# If a test-case fails to compile, it's not a GDB FAIL, ignore.
|
||||
"FAIL: gdb.ada/.*\.exp: compilation .*\.adb"
|
||||
|
||||
@ -265,16 +265,6 @@ kfail=(
|
||||
"FAIL: gdb.base/info-os.exp: get shared-memory regions"
|
||||
"FAIL: gdb.base/info-os.exp: get threads"
|
||||
|
||||
# Fails related to PKRU register. To be investigated. Might be fixed in
|
||||
# gdb 14, but related patches look non-trivial to backport.
|
||||
"FAIL: gdb.arch/i386-pkru.exp: pkru register"
|
||||
"FAIL: gdb.arch/i386-pkru.exp: read pkru register"
|
||||
"FAIL: gdb.arch/i386-pkru.exp: read value after setting value"
|
||||
"FAIL: gdb.arch/i386-pkru.exp: variable after reading pkru"
|
||||
"FAIL: gdb.base/gcore.exp: corefile restored all registers"
|
||||
"FAIL: gdb.reverse/insn-reverse.exp: rdrand: compare registers on insn"
|
||||
"FAIL: gdb.reverse/insn-reverse.exp: rdseed: compare registers on insn"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28478
|
||||
"FAIL: gdb.gdb/selftest.exp: backtrace through signal handler"
|
||||
|
||||
@ -337,6 +327,10 @@ kfail=(
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31811
|
||||
"FAIL: gdb.threads/threads-after-exec.exp:"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=29253
|
||||
"FAIL: gdb.server/stop-reply-no-thread.exp: to_disable=threads: continue to main \(timeout\)"
|
||||
"FAIL: gdb.server/stop-reply-no-thread.exp: to_disable=threads: continue until exit \(timeout\)"
|
||||
|
||||
) # kfail
|
||||
|
||||
kfail_sle12=(
|
||||
@ -476,10 +470,6 @@ kfail_factory=(
|
||||
"FAIL: gdb.base/gdb11531.exp: watchpoint variable triggers at next"
|
||||
"FAIL: gdb.base/gdb11531.exp: watchpoint variable triggers at continue"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=29253
|
||||
"FAIL: gdb.server/stop-reply-no-thread.exp: to_disable=threads: continue to main \(timeout\)"
|
||||
"FAIL: gdb.server/stop-reply-no-thread.exp: to_disable=threads: continue until exit \(timeout\)"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=29706
|
||||
"FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof \(missed the prompt\)"
|
||||
|
||||
@ -520,6 +510,9 @@ kfail_factory=(
|
||||
"FAIL: gdb.reverse/solib-reverse.exp: reverse-next over solib function one"
|
||||
"FAIL: gdb.reverse/solib-reverse.exp: reverse-next over solib function two"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31564
|
||||
"FAIL: gdb.base/rtld-step.exp: runto: run to main"
|
||||
|
||||
) # kfail_factory
|
||||
|
||||
kfail_aarch64=(
|
||||
@ -551,6 +544,9 @@ kfail_aarch64=(
|
||||
"FAIL: gdb.base/annota.*.exp:"
|
||||
"FAIL: gdb.dwarf2/dw2-opt-structptr.exp: mi"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31826
|
||||
"FAIL: gdb.arch/aarch64-unwind-pc.exp:"
|
||||
|
||||
) # kfail_aarch64
|
||||
|
||||
kfail_powerpc64le=(
|
||||
@ -628,6 +624,15 @@ kfail_powerpc64le=(
|
||||
"FAIL: gdb.base/run-control-while-bg-execution.exp: action1=.*: action2=run: run"
|
||||
"FAIL: gdb.base/run-control-while-bg-execution.exp: action1=.*: action2=start: start"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31823
|
||||
"FAIL: gdb.base/nodebug.exp: p/c \(int\) array_index\(\"abcdef\",2\)"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31825
|
||||
"FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: reach-\(_dl_debug_state|dl_main\)-2: reach"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31827
|
||||
"FAIL: gdb.base/gnu_vector.exp: call add_structvecs"
|
||||
|
||||
)
|
||||
|
||||
kfail_powerpc64le_sle12=(
|
||||
@ -712,12 +717,15 @@ kfail_i586=(
|
||||
|
||||
)
|
||||
|
||||
kfail_armv7hl=(
|
||||
kfail_arm=(
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=30537
|
||||
"FAIL: gdb.fortran/intrinsics.exp: p cmplx \(4,4,16\) \(GDB internal error\)"
|
||||
"FAIL: gdb.fortran/intrinsics.exp: ptype cmplx \(4,4,16\) \(GDB internal error\)"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31061
|
||||
"FAIL: gdb.base/gdb-sigterm.exp: .*internal error"
|
||||
|
||||
)
|
||||
|
||||
case $n in
|
||||
@ -731,7 +739,8 @@ case $n in
|
||||
kfail+=("${kfail_sle11[@]}")
|
||||
kfail+=("${kfail_s390[@]}")
|
||||
kfail+=("${kfail_powerpc64le[@]}")
|
||||
kfail+=("${kfail_armv7hl[@]}")
|
||||
kfail+=("${kfail_arm[@]}")
|
||||
kfail+=("${kfail_aarch64[@]}")
|
||||
kfail_re=$(join "|" "${kfail[@]}")
|
||||
grep "^FAIL:.*internal error" binaries-testsuite*/gdb-testresults/*.sum \
|
||||
| grep -E -v "$kfail_re"
|
||||
@ -783,19 +792,20 @@ case $n in
|
||||
"infrun.c:[0-9]*: internal-error: finish_step_over: Assertion \`ecs->event_thread->control.trap_expected' failed."
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=26363
|
||||
".i586.*i386-linux-nat.c:[0-9]*: internal-error: Got request for bad register number [0-9]*."
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=26761
|
||||
"thread.c:[0-9]*: internal-error: inferior_thread: Assertion \`current_thread_ \!= nullptr' failed."
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=19675
|
||||
# PR is fixed in gdb-15.
|
||||
"linux-nat.c:[0-9]*: internal-error: wait returned unexpected status"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28553
|
||||
"infrun.c:[0-9]*: internal-error: thread .* needs a step-over, but not in step-over queue"
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=19675
|
||||
"linux-nat.c:[0-9]*: internal-error: wait returned unexpected"
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28604
|
||||
"x86-linux-dregs.c:[0-9]*: internal-error: void x86_linux_update_debug_registers\(lwp_info\*\): Assertion \`lwp_is_stopped \(lwp\)' failed."
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28667
|
||||
"record-full.c:[0-9]*: internal-error: ptid_t record_full_wait_1\(target_ops\*, ptid_t, target_waitstatus\*, target_wait_flags\): Assertion \`\(options & TARGET_WNOHANG\) != 0' failed."
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=26873
|
||||
"infrun.c:[0-9]*: internal-error: resume_1: Assertion \`!\(thread_has_single_step_breakpoints_set \(tp\) && step\)' failed."
|
||||
|
||||
@ -813,6 +823,9 @@ case $n in
|
||||
|
||||
# Test-case gdb.base/gcore-excessive-memory.exp.
|
||||
"utils.c:[0-9]*: internal-error: virtual memory exhausted: can't allocate [0-9]* bytes."
|
||||
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=31061
|
||||
"intrusive_list.h:[0-9]*: internal-error: erase_element: Assertion \`elem_node->prev != INTRUSIVE_LIST_UNLINKED_VALUE' failed\."
|
||||
)
|
||||
|
||||
kfail_re=$(join "|" "${kfail[@]}")
|
||||
@ -822,98 +835,141 @@ case $n in
|
||||
;;
|
||||
|
||||
4)
|
||||
(
|
||||
# Known clean config: Leap 15.3 x86_64
|
||||
config=openSUSE_Leap_15.3.x86_64/gdb-testresults
|
||||
sums=("$config/gdb-x86_64-suse-linux-m64.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m64.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.sum")
|
||||
for id in SLE-12 \
|
||||
SLE-15 \
|
||||
ALP \
|
||||
openSUSE_Leap_15.3 \
|
||||
openSUSE_Leap_15.4 \
|
||||
openSUSE_Leap_15.5 \
|
||||
openSUSE_Factory; \
|
||||
do
|
||||
for arch in x86_64 \
|
||||
i586 \
|
||||
aarch64 \
|
||||
ppc64le \
|
||||
s390x; \
|
||||
do
|
||||
|
||||
#
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
config=$id.$arch
|
||||
case $config in
|
||||
SLE-15.i586|SLE-12.i586|ALP.i586)
|
||||
# No such config.
|
||||
continue
|
||||
;;
|
||||
ALP.ppc64le|openSUSE_Factory.ppc64le|*.s390x)
|
||||
# Not cleaned up yet.
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
(
|
||||
# Known clean config: Leap 15.3 i586
|
||||
config=openSUSE_Leap_15.3.i586/gdb-testresults
|
||||
sums=("$config/gdb-i586-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-i586-suse-linux-m32.sum")
|
||||
id2=$id
|
||||
case $id in
|
||||
openSUSE_Factory)
|
||||
case $arch in
|
||||
s390x)
|
||||
id2=openSUSE_Factory_zSystems
|
||||
;;
|
||||
ppc64le)
|
||||
id2=openSUSE_Factory_PPC
|
||||
;;
|
||||
i586)
|
||||
id2=openSUSE_Factory_LegacyX86
|
||||
;;
|
||||
armv7l|aarch64)
|
||||
id2=openSUSE_Factory_ARM
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
config=$id2.$arch
|
||||
|
||||
kfail+=("${kfail_i586[@]}")
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
config="$config/gdb-testresults"
|
||||
|
||||
(
|
||||
# Known clean config: Leap 15.4 x86_64
|
||||
config=openSUSE_Leap_15.4.x86_64/gdb-testresults
|
||||
sums=("$config/gdb-x86_64-suse-linux-m64.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m64.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.sum")
|
||||
sums=()
|
||||
case $arch in
|
||||
x86_64)
|
||||
case $id in
|
||||
SLE-12|ALP)
|
||||
sums=("$config/gdb-$arch-suse-linux-m64.-fPIE.-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m64.sum"
|
||||
"$config/gdb-$arch-suse-linux-m32.-fPIE.-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m32.sum")
|
||||
;;
|
||||
*)
|
||||
sums=("$config/gdb-$arch-suse-linux-m64.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m64.sum"
|
||||
"$config/gdb-$arch-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m32.sum")
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
i586)
|
||||
sums=("$config/gdb-$arch-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m32.sum")
|
||||
;;
|
||||
aarch64)
|
||||
case $id in
|
||||
SLE-12|ALP)
|
||||
sums=("$config/gdb-$arch-suse-linux.-fPIE.-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux.sum")
|
||||
;;
|
||||
*)
|
||||
sums=("$config/gdb-$arch-suse-linux.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux.sum")
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
ppc64le|s390x)
|
||||
case $id in
|
||||
SLE-12|ALP)
|
||||
sums=("$config/gdb-$arch-suse-linux-m64.-fPIE.-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m64.sum")
|
||||
;;
|
||||
*)
|
||||
sums=("$config/gdb-$arch-suse-linux-m64.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-$arch-suse-linux-m64.sum")
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Don't know how to handle: $arch"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
(
|
||||
case $arch in
|
||||
i586)
|
||||
kfail+=("${kfail_i586[@]}")
|
||||
;;
|
||||
aarch64)
|
||||
kfail+=("${kfail_aarch64[@]}")
|
||||
;;
|
||||
ppc64le)
|
||||
kfail+=("${kfail_powerpc64le[@]}")
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
case $id in
|
||||
SLE-12)
|
||||
kfail+=("${kfail_sle12[@]}")
|
||||
;;
|
||||
ALP|openSUSE_Factory)
|
||||
kfail+=("${kfail_factory[@]}")
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
(
|
||||
# Known clean config: Leap 15.4 i586
|
||||
config=openSUSE_Leap_15.4.i586/gdb-testresults
|
||||
sums=("$config/gdb-i586-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-i586-suse-linux-m32.sum")
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
done
|
||||
done
|
||||
|
||||
kfail+=("${kfail_i586[@]}")
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
|
||||
(
|
||||
# Known clean config: SLE 15 x86_64.
|
||||
config=SLE-15.x86_64/gdb-testresults
|
||||
sums=("$config/gdb-x86_64-suse-linux-m64.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m64.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.sum")
|
||||
|
||||
#
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
|
||||
(
|
||||
# Known clean config: SLE 12 x86_64.
|
||||
config=SLE-12.x86_64/gdb-testresults
|
||||
sums=("$config/gdb-x86_64-suse-linux-m64.-fPIE.-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m64.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.-fPIE.-pie.sum"
|
||||
"$config/gdb-x86_64-suse-linux-m32.sum")
|
||||
|
||||
kfail+=("${kfail_sle12[@]}")
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
|
||||
(
|
||||
# Known cleanish config: Factory x86_64.
|
||||
config=openSUSE_Factory.x86_64/gdb-testresults
|
||||
@ -931,7 +987,7 @@ case $n in
|
||||
)
|
||||
|
||||
(
|
||||
# Known clean config: Factory i586
|
||||
# Known clean config: Factory i586.
|
||||
config=openSUSE_Factory_LegacyX86.i586/gdb-testresults
|
||||
sums=("$config/gdb-i586-suse-linux-m32.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-i586-suse-linux-m32.sum")
|
||||
@ -945,35 +1001,6 @@ case $n in
|
||||
done
|
||||
)
|
||||
|
||||
(
|
||||
# Known clean config: SLE 15 aarch64.
|
||||
config=SLE-15.aarch64/gdb-testresults
|
||||
sums=("$config/gdb-aarch64-suse-linux.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-aarch64-suse-linux.sum")
|
||||
|
||||
kfail+=("${kfail_aarch64[@]}")
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
|
||||
(
|
||||
# Known clean config: SLE 15 / openSUSE 15.4 powerpc64le.
|
||||
for config in SLE-15.ppc64le/gdb-testresults openSUSE_Leap_15.4.ppc64le/gdb-testresults; do
|
||||
sums=("$config/gdb-ppc64le-suse-linux-m64.-fno-PIE.-no-pie.sum"
|
||||
"$config/gdb-ppc64le-suse-linux-m64.sum")
|
||||
done
|
||||
|
||||
kfail+=("${kfail_powerpc64le[@]}")
|
||||
|
||||
for sum in "${sums[@]}"; do
|
||||
sum=binaries-testsuite.$sum
|
||||
report_sum "$sum"
|
||||
done
|
||||
)
|
||||
|
||||
;;
|
||||
|
||||
5)
|
||||
@ -1018,6 +1045,9 @@ case $n in
|
||||
if $have_aarch64; then
|
||||
kfail+=("${kfail_aarch64[@]}")
|
||||
fi
|
||||
if $have_arm; then
|
||||
kfail+=("${kfail_arm[@]}")
|
||||
fi
|
||||
if $have_powerpc64le; then
|
||||
kfail+=("${kfail_powerpc64le[@]}")
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user