From patchwork Sat Jul 1 18:38:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 1802272 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qtgtx4vt1z20b1 for ; Sun, 2 Jul 2023 04:38:48 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76A663858280 for ; Sat, 1 Jul 2023 18:38:46 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from dellerweb.de (dellerweb.de [173.249.48.176]) by sourceware.org (Postfix) with ESMTPS id 081693858D35 for ; Sat, 1 Jul 2023 18:38:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 081693858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org Received: from mx3210.localdomain (unknown [142.181.186.176]) by dellerweb.de (Postfix) with ESMTPSA id 9F3271600188; Sat, 1 Jul 2023 20:38:33 +0200 (CEST) Received: by mx3210.localdomain (Postfix, from userid 1000) id 03F4A22011C; Sat, 1 Jul 2023 18:38:31 +0000 (UTC) Date: Sat, 1 Jul 2023 18:38:31 +0000 From: John David Anglin To: libc-alpha@sourceware.org Cc: Helge Deller Subject: [committed] hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later) Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-8.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" 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