From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7925138806 for ; Tue, 12 Dec 2017 21:59:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D42BE0EA8; Tue, 12 Dec 2017 21:59:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C10EE0EA8 for ; Tue, 12 Dec 2017 21:59:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E34934174B for ; Tue, 12 Dec 2017 21:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87EDE4C92 for ; Tue, 12 Dec 2017 21:59:40 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1513115973.625541b28d782f5f55a13427424a7eb2b9e7ebf3.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/valgrind/valgrind-9999.ebuild X-VCS-Directories: dev-util/valgrind/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 625541b28d782f5f55a13427424a7eb2b9e7ebf3 X-VCS-Branch: master Date: Tue, 12 Dec 2017 21:59:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d73d3d09-cb68-4324-891a-4330393e649f X-Archives-Hash: c286d8ba5a0f82dc689db2dc19b1773b commit: 625541b28d782f5f55a13427424a7eb2b9e7ebf3 Author: Austin English gentoo org> AuthorDate: Tue Dec 12 21:26:37 2017 +0000 Commit: Austin English gentoo org> CommitDate: Tue Dec 12 21:59:33 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625541b2 dev-util/valgrind: also strip -fstack-protector-strong/-fstack-protector-all Gentoo-Bug: https://bugs.gentoo.org/620402 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-util/valgrind/valgrind-9999.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-util/valgrind/valgrind-9999.ebuild b/dev-util/valgrind/valgrind-9999.ebuild index 6414792ca62..855bd8a16c2 100644 --- a/dev-util/valgrind/valgrind-9999.ebuild +++ b/dev-util/valgrind/valgrind-9999.ebuild @@ -31,9 +31,6 @@ src_prepare() { # Respect CFLAGS, LDFLAGS eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch - # Changing Makefile.all.am to disable SSP - eapply "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch - # Allow users to test their own patches eapply_user @@ -51,10 +48,15 @@ src_configure() { # while compiling insn_sse.c in none/tests/x86 # -fstack-protector more undefined references to __guard and __stack_smash_handler # because valgrind doesn't link to glibc (bug #114347) + # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. + # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it + # -fstack-protector-strong See -fstack-protector (bug #620402) # -m64 -mx32 for multilib-portage, bug #398825 # -ggdb3 segmentation fault on startup filter-flags -fomit-frame-pointer filter-flags -fstack-protector + filter-flags -fstack-protector-all + filter-flags -fstack-protector-strong filter-flags -m64 -mx32 replace-flags -ggdb3 -ggdb2