* [committed] hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later)
@ 2023-07-01 18:38 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2023-07-01 18:38 UTC (permalink / raw)
To: libc-alpha; +Cc: Helge Deller
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
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 --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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-01 18:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 18:38 [committed] hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later) John David Anglin
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).