From patchwork Thu Nov 29 17:48:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 202799 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id AEC682C0085 for ; Fri, 30 Nov 2012 04:49:07 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1354816148; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Date:From:To:Subject:Message-ID:Reply-To:MIME-Version: Content-Type:Content-Disposition:User-Agent:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=PSPVt3eZHxpGUxEWGhFZpjVRa4I=; b=CG958ZqhKhcjn3OI0lQGCCAkp7LJOZ+tLu4gfvfY4+/0aXHETyt2AewYbzJonC 4uKz3cVtbdKPNUkfLZPWpT9BuwQwjtvHb2LYBDCh15TMeNMVkoy14fXwmfc3F9Cs mKRbarHRU1lC5IrduZNQjhw5BhJ3tqOyn41QDACqDhSQQ= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-ExtLoop1:Received:Received:Date:From:To:Subject:Message-ID:Reply-To:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=OMJVnjGFya2AFq7YZjyIOOU/9O9wPDLhHFaWnRCVyaBxY0sN5WolQl/D4QqbMZ 59cmPg4rzK8nEvKnhyrzgFVZAvC+tkaAIT+DwfAhSoKnVYNkNDBlS25l98K9GthV UYkZBNqRAmXAQi7Max36xNZT85fyh8eVBz9tGwPed7fUU=; Received: (qmail 14054 invoked by alias); 29 Nov 2012 17:48:57 -0000 Received: (qmail 14002 invoked by uid 22791); 29 Nov 2012 17:48:56 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Nov 2012 17:48:52 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 29 Nov 2012 09:48:51 -0800 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by orsmga001.jf.intel.com with ESMTP; 29 Nov 2012 09:48:51 -0800 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id A82BE8099E; Thu, 29 Nov 2012 09:48:51 -0800 (PST) Date: Thu, 29 Nov 2012 09:48:51 -0800 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [PATCH] Filter out -fsanitize=address from PLUGINCFLAGS Message-ID: <20121129174851.GC31369@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, All plugin tests failed when GCC is configured with --with-build-config=bootstrap-asan, since linker can't find libasan at link-time. -fsanitize=address isn't needed to test plugin support. This patch filters out -fsanitize=address from PLUGINCFLAGS. OK to install? Thanks. H.J. --- gcc/Makefile.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 2012-11-22 H.J. Lu PR testsuite/55440 * Makefile.in (PLUGINCFLAGS): Filter out -fsanitize=address. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index c7b8648..78a6007 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -329,7 +329,8 @@ enable_lto = @enable_lto@ # Compiler and flags needed for plugin support PLUGINCC = @CXX@ -PLUGINCFLAGS = @CXXFLAGS@ +# Filter out -fsanitize=address +PLUGINCFLAGS = $(filter-out -fsanitize=address,@CXXFLAGS@) # Libs and linker options needed for plugin support PLUGINLIBS = @pluginlibs@