From patchwork Mon Mar 23 19:27:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 453599 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2C1B41400A0 for ; Tue, 24 Mar 2015 06:28:05 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=hSq4BupT; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; q=dns; s=default; b=DeqDmjZ9B5Ukj+vRwgyACQYj4n9jGOirLcE3HsxNCI0 HlOz9jHVtEgHWUK35TZHOumx0BVG2b8dCtgGE8tPYMSpvAGxRjKitJLPAi5Jd70w no4Q2ynL25rjotsWqSH3JkV9hJV+LRYrdJwoY0yKeL3nE/MPGVj8nKdc8Clshh8U = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; s=default; bh=vgiyfaCe6GcGiYidydYuVCkpthc=; b=hSq4BupT7Pvfi91Q0 8keDiqyPvlb1HXR6mdYZjN2UUbvfCfP/bsF6VESPO2wzGKtfvRGwSC+eSt8URhoJ zDoNFXDLAZ85kN6pDUq2xRxmbG8hOpkb/leycdTJJGnlZC3BC3kTQDQZq3pd055J QC66HdVoQcca80jVV+foSF0aXA= Received: (qmail 32716 invoked by alias); 23 Mar 2015 19:27:56 -0000 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 Received: (qmail 32706 invoked by uid 89); 23 Mar 2015 19:27:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mga11.intel.com Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 23 Mar 2015 19:27:55 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 23 Mar 2015 12:27:49 -0700 X-ExtLoop1: 1 Received: from gnu-mic-2.sc.intel.com ([172.25.70.156]) by orsmga002.jf.intel.com with ESMTP; 23 Mar 2015 12:27:50 -0700 Received: by gnu-mic-2.sc.intel.com (Postfix, from userid 1000) id F000B240183; Mon, 23 Mar 2015 12:27:48 -0700 (PDT) Date: Mon, 23 Mar 2015 12:27:48 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: PATCH: Add bootstrap-mpx.mk Message-ID: <20150323192748.GA3614@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Hi, This patch adds bootstrap-mpx.mk so that we test mpx in gcc build by configuring GCC with --enable-libmpx --with-build-config="bootstrap-mpx" OK to install? H.J. --- 2015-03-23 H.J. Lu * bootstrap-mpx.mk: New file. diff --git a/config/bootstrap-mpx.mk b/config/bootstrap-mpx.mk new file mode 100644 index 0000000..ed97826 --- /dev/null +++ b/config/bootstrap-mpx.mk @@ -0,0 +1,9 @@ +# This option enables -fcheck-pointer-bounds -mmpx for stage2 and stage3. + +STAGE2_CFLAGS += -fcheck-pointer-bounds -mmpx +STAGE3_CFLAGS += -fcheck-pointer-bounds -mmpx +POSTSTAGE1_LDFLAGS += -fcheck-pointer-bounds -mmpx \ + -static-libmpx -static-libmpxwrappers \ + -B$$r/prev-$(TARGET_SUBDIR)/libmpx \ + -B$$r/prev-$(TARGET_SUBDIR)/libmpx/mpxrt/.libs \ + -B$$r/prev-$(TARGET_SUBDIR)/libmpx/mpxwrap/.libs