From patchwork Tue Mar 25 16:55:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 27062 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C532720539 for ; Tue, 25 Mar 2014 16:57:53 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf1800342pbc.8 for ; Tue, 25 Mar 2014 09:57:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :list-archive:content-type:content-transfer-encoding; bh=hXhYxJU4OkhkjukFDP3iJ4OCGZghMmG0mf40iiVeppQ=; b=H55aMzjF9qBsj9DXDZpFhhSfEpRdzls5gkX1lwDhjA11T0pOTl43hFFy3dgFpKtk96 sNPbN9v1L4txDMr912CYnm1JRZcSPZk6SJT6JPui6ILS8CoeoQo27MxqgX3f3o4oIcwX cfAoO9t3ybGj7v7w3m1sIMGGkbCZZs5AlKLGSavhRENdZVu53WVIw1AWj15X9fXky9Os Yg0YCcqd+UUIeAxWKuSmFE2OeO+vhazXMcP9gjafIoL+QHe6B4ZWCYRi1eATWJ8hlEmI At9gRdS4TYH9GosfNScvPY0hFxKpd61HH1jsYOUF+u7jnUmD2nauMMQxS4sNrIyxOgaw zCqw== X-Gm-Message-State: ALoCoQn2kBFqbg1qYRMLgPFw7nO+Bz5ZtwE6lXhFMNOrjIBjiQ+DVjEyjJuq79xCxRtBjJ095edq X-Received: by 10.66.240.4 with SMTP id vw4mr28000079pac.10.1395766673084; Tue, 25 Mar 2014 09:57:53 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.169 with SMTP id z38ls266271qgz.36.gmail; Tue, 25 Mar 2014 09:57:53 -0700 (PDT) X-Received: by 10.58.154.10 with SMTP id vk10mr56401649veb.18.1395766672983; Tue, 25 Mar 2014 09:57:52 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id p4si3867011vem.138.2014.03.25.09.57.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 09:57:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id ld13so904107vcb.5 for ; Tue, 25 Mar 2014 09:57:52 -0700 (PDT) X-Received: by 10.58.57.42 with SMTP id f10mr56566468veq.1.1395766672802; Tue, 25 Mar 2014 09:57:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp320364vck; Tue, 25 Mar 2014 09:57:52 -0700 (PDT) X-Received: by 10.140.101.244 with SMTP id u107mr3311619qge.107.1395766671899; Tue, 25 Mar 2014 09:57:51 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id z3si7735473qcl.44.2014.03.25.09.57.51 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Mar 2014 09:57:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSUep-00013Y-Aw; Tue, 25 Mar 2014 16:56:59 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSUel-0000v8-Io for xen-devel@lists.xenproject.org; Tue, 25 Mar 2014 16:56:55 +0000 Received: from [85.158.139.211:25494] by server-16.bemta-5.messagelabs.com id FF/10-19700-655B1335; Tue, 25 Mar 2014 16:56:54 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-14.tower-206.messagelabs.com!1395766613!3263496!1 X-Originating-IP: [74.125.83.44] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 18508 invoked from network); 25 Mar 2014 16:56:54 -0000 Received: from mail-ee0-f44.google.com (HELO mail-ee0-f44.google.com) (74.125.83.44) by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 25 Mar 2014 16:56:54 -0000 Received: by mail-ee0-f44.google.com with SMTP id e49so684456eek.31 for ; Tue, 25 Mar 2014 09:56:53 -0700 (PDT) X-Received: by 10.14.183.7 with SMTP id p7mr960074eem.107.1395766613801; Tue, 25 Mar 2014 09:56:53 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id h47sm33377501eey.13.2014.03.25.09.56.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Mar 2014 09:56:52 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 25 Mar 2014 16:55:38 +0000 Message-Id: <1395766541-23979-32-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> Cc: ian.campbell@citrix.com, Stefano Stabellini , tim@xen.org, Julien Grall , Ian Jackson , stefano.stabellini@citrix.com Subject: [Xen-devel] [PATCH 31/34] tools: Disable ignored-attributes warning when compiling with clang X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: Clang 3.5 will fail to build most of the tools because aligned attribute is not used sometimes: In file included from xc_core.c:64: In file included from ./xg_private.h:30: In file included from ./xenctrl.h:55: ../../tools/include/xen/foreign/x86_64.h:198:47: error: 'aligned' attribute ignored when parsing type [-Werror,-Wignored-attributes] __align8__ uint64_t evtchn_pending[sizeof(__align8__ uint64_t) * 8]; ^~~~~~~~~~ ../../tools/include/xen/foreign/x86_64.h:13:36: note: expanded from macro '__align8__' # define __align8__ __attribute__((aligned (8))) ^~~~~~~~~~~ ../../tools/include/xen/foreign/x86_64.h:199:44: error: 'aligned' attribute ignored when parsing type [-Werror,-Wignored-attributes] __align8__ uint64_t evtchn_mask[sizeof(__align8__ uint64_t) * 8]; ^~~~~~~~~~ ../../tools/include/xen/foreign/x86_64.h:13:36: note: expanded from macro '__align8__' # define __align8__ __attribute__((aligned (8))) Signed-off-by: Julien Grall Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell --- tools/Rules.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Rules.mk b/tools/Rules.mk index 13d8fc1..6fb746f 100644 --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -17,6 +17,8 @@ XEN_LIBXENSTAT = $(XEN_ROOT)/tools/xenstat/libxenstat/src XEN_BLKTAP2 = $(XEN_ROOT)/tools/blktap2 XEN_LIBVCHAN = $(XEN_ROOT)/tools/libvchan +CFLAGS-$(clang) += -Wno-ignored-attributes + CFLAGS_xeninclude = -I$(XEN_INCLUDE) CFLAGS_libxenctrl = -I$(XEN_LIBXC) $(CFLAGS_xeninclude)