diff mbox series

[committed] hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later)

Message ID ZKByp1nFMEy708P6@mx3210.localdomain
State New
Headers show
Series [committed] hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later) | expand

Commit Message

John David Anglin July 1, 2023, 6:38 p.m. UTC
With gcc-12 and later, the warning for -fstack-protector is suppressed.
As a result, the check for -fstack-protector in configure succeeds and
have-ssp is set to yes. This causes the debug/tst-ssp-1 test to run and
fail. We need to ignore this test fail when have-ssp is set to yes.

Committed to master.

Dave
---

hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later)
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/hppa/Makefile b/sysdeps/unix/sysv/linux/hppa/Makefile
index c89ec83182..2e031e2f8a 100644
--- a/sysdeps/unix/sysv/linux/hppa/Makefile
+++ b/sysdeps/unix/sysv/linux/hppa/Makefile
@@ -14,3 +14,7 @@  test-xfail-check-execstack = yes
 test-xfail-check-wx-segment = *
 
 endif # $(subdir) == elf
+
+ifeq ($(subdir),debug)
+test-xfail-tst-ssp-1 = $(have-ssp)
+endif # $(subdir) == debug