From patchwork Mon Sep 1 11:28:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Martin X-Patchwork-Id: 36346 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 312D720792 for ; Mon, 1 Sep 2014 11:26:41 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id w10sf30059386pde.11 for ; Mon, 01 Sep 2014 04:26:40 -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:thread-topic :thread-index:message-id:accept-language:acceptlanguage:mime-version :subject:precedence:reply-to:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-language :content-type:content-transfer-encoding; bh=O8Mjqu2BiUMFbULxVsOmU+dtdIu5qZCN2tIP3cDhIkU=; b=evttBLVZwMvELoXZHXiS75y75vjKBEAsugwocorQjviQJVRyzJCyXsf9Jf2o83wmUR cVnNid/22pCm112tjOaUKxYcxP9MUtHBwzaBB5G+3fq8ebrIOIQ1osk/Q7ZJL4jbHWmf 3ZIfeMb7D0s0PejGEgkJPw8/PeHNE21GoY9U5ctnKVcce2iE9DGZTMBq7Rok+CIOdIlA xzhp5wmFv+5kGKDljajyQewNXu/ZRPIPQqFsYvI2hbTDe4lr95kfafAroJSiIdm/M1bt DTmgMcY7d9OzJA3lDWVSlJqNcbpXvoNSbjkF93HlLV8NWpVpTT68P1uuqWw5ctcY3n+h uPYw== X-Gm-Message-State: ALoCoQk0yxNIwFRxhWj0yg2MiXfo7sDvRWcsSkWOGJzuTRBCJSc4Pjbe21zyWVnbNC9Re4Aoh+ar X-Received: by 10.68.222.194 with SMTP id qo2mr15387130pbc.6.1409570800172; Mon, 01 Sep 2014 04:26:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.38 with SMTP id i35ls1962419qgf.76.gmail; Mon, 01 Sep 2014 04:26:40 -0700 (PDT) X-Received: by 10.52.127.5 with SMTP id nc5mr13170vdb.59.1409570800045; Mon, 01 Sep 2014 04:26:40 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id rk7si169436vcb.45.2014.09.01.04.26.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Sep 2014 04:26:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so5379207vcb.0 for ; Mon, 01 Sep 2014 04:26:39 -0700 (PDT) X-Received: by 10.220.168.210 with SMTP id v18mr25156902vcy.3.1409570799821; Mon, 01 Sep 2014 04:26:39 -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.45.67 with SMTP id uj3csp372951vcb; Mon, 1 Sep 2014 04:26:39 -0700 (PDT) X-Received: by 10.50.33.100 with SMTP id q4mr20570851igi.8.1409570799266; Mon, 01 Sep 2014 04:26:39 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id za2si5309504icb.82.2014.09.01.04.26.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 01 Sep 2014 04:26:39 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XOPke-00010a-5z; Mon, 01 Sep 2014 11:26:24 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XOPkd-00010U-4x for edk2-devel@lists.sourceforge.net; Mon, 01 Sep 2014 11:26:23 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of arm.com designates 195.130.217.12 as permitted sender) client-ip=195.130.217.12; envelope-from=olivier.martin@arm.com; helo=service88.mimecast.com; Received: from service88.mimecast.com ([195.130.217.12]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1XOPkb-0003AQ-OH for edk2-devel@lists.sourceforge.net; Mon, 01 Sep 2014 11:26:23 +0000 Received: from emea-cam-gw1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) (Using TLS) by service88.mimecast.com; Mon, 01 Sep 2014 12:26:15 +0100 Received: from george.Emea.Arm.com ([fe80::4c19:a8f:5c9a:76df]) by emea-cam-gw1.Emea.Arm.com ([::1]) with mapi; Mon, 1 Sep 2014 12:26:12 +0100 From: Olivier Martin To: Andrew Fish , "edk2-devel@lists.sourceforge.net" Date: Mon, 1 Sep 2014 12:28:22 +0100 Thread-Topic: SF.net SVN: edk2:[15938] trunk/edk2/BaseTools/Source/C/Makefiles/header. makefile Thread-Index: Ac/CfuQUCNWsnanqSJ6swLlkbgclUwDWAW5Q Message-ID: <0877601216922E4B83A7129715B5DA2BAC6EF7F0DF@GEORGE.Emea.Arm.com> Accept-Language: en-US, en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB MIME-Version: 1.0 X-MC-Unique: 114090112261500402 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XOPkb-0003AQ-OH Subject: [edk2] FW: SF.net SVN: edk2:[15938] trunk/edk2/BaseTools/Source/C/Makefiles/header. makefile X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: olivier.martin@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 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 Content-Language: en-US This commit breaks my BaseTools build: gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ BasePeCoff.c -o BasePeCoff.o cc1: error: unrecognized command line option "-Wno-self-assign" GCC version: gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3 Distribution: Ubuntu 10.04.3 LTS I know I am using an old distribution... -----Original Message----- From: andrewfish@users.sourceforge.net [mailto:andrewfish@users.sourceforge.net] Sent: 28 August 2014 06:14 To: edk2-commits@lists.sourceforge.net Subject: SF.net SVN: edk2:[15938] trunk/edk2/BaseTools/Source/C/Makefiles/header. makefile Revision: 15938 http://sourceforge.net/p/edk2/code/15938 Author: andrewfish Date: 2014-08-28 05:13:37 +0000 (Thu, 28 Aug 2014) Log Message: ----------- BaseTools: Fix BaseTools C compiler flags for Xcode 5 -fno-merge-constants is not supported by clang, and it warns it will turn into a hard error in the future. -Wno-deprecated-declarations removes warnings about obsolete libraries that are not secure. -Wno-self-assign removes warnings from LZMA code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anderw Fish Reviewed-by: Jordan Justen Modified Paths: -------------- trunk/edk2/BaseTools/Source/C/Makefiles/header.makefile Modified: trunk/edk2/BaseTools/Source/C/Makefiles/header.makefile This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ =================================================================== --- trunk/edk2/BaseTools/Source/C/Makefiles/header.makefile 2014-08-28 05:13:05 UTC (rev 15937) +++ trunk/edk2/BaseTools/Source/C/Makefiles/header.makefile 2014-08-28 05:13:37 UTC (rev 15938) @@ -41,7 +41,7 @@ INCLUDE = $(TOOL_INCLUDE) -I $(MAKEROOT) -I $(MAKEROOT)/Include/Common -I $(MAKEROOT)/Include/ -I $(MAKEROOT)/Include/IndustryStandard -I $(MAKEROOT)/Common/ -I .. -I . $(ARCH_INCLUDE) CPPFLAGS = $(INCLUDE) -CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fno-merge-constants -nostdlib -Wall -Werror -c -g +CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -nostdlib -c -g LFLAGS = ifeq ($(ARCH), IA32)