From patchwork Sat Jun 28 01:25:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 32653 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8C7BC200B9 for ; Sat, 28 Jun 2014 01:27:42 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id m1sf33861834oag.1 for ; Fri, 27 Jun 2014 18:27:42 -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=U/8cSxOoKzRNUYxS3oxMrJcj8hKnRBd2yqjsifNGD0c=; b=Y6TuZlJbPjj00r27xaS32fzQ/34Bkm169xSIzeKGe9JJ/xM0fE5zLc6vvAkCmSgsgk WN+TUv2GjUgMrl3Wd8oLGU8P1o7hZkoLNy1Y5mXXTnJADiUVrplDi3HFyQ+aHbFgYTBa H53Xd42s1P7lyQaTNGd1N5tx6Lfd0MUmGAEzW0b79Ws/TRzzt3bQPPqEBAdpq5/IJv1D z0bnaIAIoJxLNQ0Hqr+M0NmjKzZYmR8J1zpvH97yQqpxp9pY6BlyPwvWaljWkdHmhYqu xut8WsKrqa0Oi3fvJHpWwDws1XqNe/w2Xn6JvQvAFuDmW/+lH8Xgs16YXGympepqm7Ih CyLw== X-Gm-Message-State: ALoCoQl0zYIvG03N2/SFczoh2rgMIFsvUDUbDU3ThG6ZSXqfq5Mk4hgEk/g9B95d1ZoK3XVx8o44 X-Received: by 10.42.208.72 with SMTP id gb8mr12238870icb.24.1403918862161; Fri, 27 Jun 2014 18:27:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.136 with SMTP id 8ls790246qgp.33.gmail; Fri, 27 Jun 2014 18:27:42 -0700 (PDT) X-Received: by 10.53.8.162 with SMTP id dl2mr19367453vdd.24.1403918862018; Fri, 27 Jun 2014 18:27:42 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id dx8si7214860vdb.24.2014.06.27.18.27.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Jun 2014 18:27:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id db12so6094763veb.35 for ; Fri, 27 Jun 2014 18:27:41 -0700 (PDT) X-Received: by 10.58.39.42 with SMTP id m10mr22508979vek.29.1403918861908; Fri, 27 Jun 2014 18:27:41 -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.221.37.5 with SMTP id tc5csp147855vcb; Fri, 27 Jun 2014 18:27:41 -0700 (PDT) X-Received: by 10.50.45.38 with SMTP id j6mr16403630igm.10.1403918861122; Fri, 27 Jun 2014 18:27:41 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id n4si883618igp.56.2014.06.27.18.27.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 27 Jun 2014 18:27:41 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) 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 1X0hOm-0007E3-Gz; Sat, 28 Jun 2014 01:25:48 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X0hOl-0007Dr-Nr for xen-devel@lists.xen.org; Sat, 28 Jun 2014 01:25:47 +0000 Received: from [85.158.143.35:16941] by server-2.bemta-4.messagelabs.com id DD/B9-06539-B991EA35; Sat, 28 Jun 2014 01:25:47 +0000 X-Env-Sender: roy.franz@linaro.org X-Msg-Ref: server-15.tower-21.messagelabs.com!1403918744!14424119!1 X-Originating-IP: [209.85.220.52] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11176 invoked from network); 28 Jun 2014 01:25:46 -0000 Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by server-15.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 28 Jun 2014 01:25:46 -0000 Received: by mail-pa0-f52.google.com with SMTP id eu11so5325648pac.25 for ; Fri, 27 Jun 2014 18:25:44 -0700 (PDT) X-Received: by 10.66.192.104 with SMTP id hf8mr35558384pac.13.1403918744614; Fri, 27 Jun 2014 18:25:44 -0700 (PDT) Received: from rfranz-t520.local (c-24-10-97-91.hsd1.ca.comcast.net. [24.10.97.91]) by mx.google.com with ESMTPSA id eh4sm16637918pbc.79.2014.06.27.18.25.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Jun 2014 18:25:44 -0700 (PDT) From: Roy Franz To: xen-devel@lists.xen.org, ian.campbell@citrix.com, stefano.stabellini@citrix.com, tim@xen.org, jbeulich@suse.com, keir@xen.org Date: Sat, 28 Jun 2014 02:25:17 +0100 Message-Id: <1403918735-30027-2-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1403918735-30027-1-git-send-email-roy.franz@linaro.org> References: <1403918735-30027-1-git-send-email-roy.franz@linaro.org> Cc: Roy Franz , fu.wei@linaro.org, linaro-uefi@lists.linaro.org Subject: [Xen-devel] [PATCH RFC 01/19] HACK: Add -fshort-wchar to global build 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: roy.franz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) 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: The EFI related code needs to be buil with "-fshort-wchar", as EFI defines 16 bit wide characters and uses them in various APIs. This fixes the prelink target build failures in the arch/x86 directory, and is needed for the ARM EFI stub files as well. The prelink build failures may only happen during parallel builds. This will be removed as part of getting the x86 and ARM archs to share code and have it built correctly. Signed-off-by: Roy Franz --- Config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Config.mk b/Config.mk index 5e03e87..b323c59 100644 --- a/Config.mk +++ b/Config.mk @@ -189,6 +189,8 @@ CFLAGS += -std=gnu99 CFLAGS += -Wall -Wstrict-prototypes +CFLAGS += -fshort-wchar + # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' # and is over-zealous with the printf format lint # and is a bit too fierce about unused return values