From patchwork Mon Nov 21 16:39:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Rzeszutek Wilk X-Patchwork-Id: 9439795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CEEF960469 for ; Mon, 21 Nov 2016 16:41:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA05C28883 for ; Mon, 21 Nov 2016 16:41:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE95D288B4; Mon, 21 Nov 2016 16:41:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4444428883 for ; Mon, 21 Nov 2016 16:41:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8rd2-00029t-Uh; Mon, 21 Nov 2016 16:39:36 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8rd1-00029n-Sa for xen-devel@lists.xenproject.org; Mon, 21 Nov 2016 16:39:35 +0000 Received: from [85.158.143.35] by server-5.bemta-6.messagelabs.com id 72/C9-19272-74323385; Mon, 21 Nov 2016 16:39:35 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRWlGSWpSXmKPExsUyZ7p8oK6bsnG EwYp2fYvvWyYzOTB6HP5whSWAMYo1My8pvyKBNePv4/mMBXe4Kpp2djI1MH5n72Lk4hAS6GCS mPj3LRuE841RYkfzOUYIZyOjxK+ZV5ggnF5Gicf3dwNlODlYBFQlen8eAUpwcLAJmEi8WeUIY ooI6Em0dJmBVDAL1Er0v7zGBGILCyRJNNyaww5i8wpYSZw8O5sVYuQyRoln5y4xQiQEJU7OfM IC0awlcePfS7DxzALSEsv/cYCEOQUCJb7vbWcDsUUFlCX+Hr4HVi4hYCzRN6uPZQKj4Cwkk2Y hmTQLYdICRuZVjOrFqUVlqUW6JnpJRZnpGSW5iZk5uoYGZnq5qcXFiempOYlJxXrJ+bmbGIFB ywAEOxi7L/sfYpTkYFIS5T281ChCiC8pP6UyI7E4I76oNCe1+BCjDAeHkgSvupJxhJBgUWp6a kVaZg4wfmDSEhw8SiK8xSBp3uKCxNzizHSI1ClGRSlx3hyQhABIIqM0D64NFrOXGGWlhHkZgQ 4R4ilILcrNLEGVf8UozsGoJMxbCjKFJzOvBG76K6DFTECLlVgNQBaXJCKkpBoYJwbUGpeWBIh e2PaEe9qN0K5IkcenpwifXOiX+cnEP97Go8Tw4mZhubQJi67WF9ouEl8697pA73fG3OcSBRO+ MJmf0v8s5yn6zjGv9HSPoIcTa7jPofS0oOYFP/r5XHbb/Miz/P9WcFuf35KYmYuDa9My9JfGb RHuO38udlbBWdvZ3fPr2vcqsRRnJBpqMRcVJwIAxkIFSdQCAAA= X-Env-Sender: konrad.wilk@oracle.com X-Msg-Ref: server-9.tower-21.messagelabs.com!1479746373!44304121!1 X-Originating-IP: [156.151.31.81] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTU2LjE1MS4zMS44MSA9PiAyODgzMzk=\n X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 60030 invoked from network); 21 Nov 2016 16:39:34 -0000 Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by server-9.tower-21.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 21 Nov 2016 16:39:34 -0000 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uALGdTdT020097 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Nov 2016 16:39:29 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id uALGdTs3006393 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Nov 2016 16:39:29 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id uALGdSwl024588; Mon, 21 Nov 2016 16:39:28 GMT Received: from localhost.localdomain (/172.56.23.105) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 21 Nov 2016 08:39:28 -0800 Date: Mon, 21 Nov 2016 11:39:25 -0500 From: Konrad Rzeszutek Wilk To: Ard Biesheuvel Message-ID: <20161121163925.GB29818@localhost.localdomain> References: <20161121155651.4781-1-konrad@kernel.org> <20161121155651.4781-2-konrad@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Source-IP: aserv0021.oracle.com [141.146.126.233] Cc: edk2-devel-01 , xen-devel@lists.xenproject.org Subject: Re: [Xen-devel] [edk2] [PATCH RESEND] OvmfPkg/build.sh: Use GCC49 toolchain with GCC 6.* X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP On Mon, Nov 21, 2016 at 04:20:04PM +0000, Ard Biesheuvel wrote: > On 21 November 2016 at 15:56, Konrad Rzeszutek Wilk wrote: > > Without this I cannot build it under Fedora Core 25. > > > > Contributed-under: TianoCore Contribution Agreement 1.0 > > Signed-off-by: Konrad Rzeszutek Wilk > > --- > > OvmfPkg/build.sh | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh > > index eb5eb73..759ade3 100755 > > --- a/OvmfPkg/build.sh > > +++ b/OvmfPkg/build.sh > > @@ -95,7 +95,7 @@ case `uname` in > > 4.8.*) > > TARGET_TOOLS=GCC48 > > ;; > > - 4.9.*|4.1[0-9].*|5.*.*) > > + 4.9.*|4.1[0-9].*|5.*.*|6.*.*) > > TARGET_TOOLS=GCC49 > > ;; > > *) > > I think it may be time to start using GCC5 for 5.x and later This did the trick as well. I don't have GCC 5.*.* so I could not confirm. diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 759ade3..4d0d0d4 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -95,9 +95,12 @@ case `uname` in 4.8.*) TARGET_TOOLS=GCC48 ;; - 4.9.*|4.1[0-9].*|5.*.*|6.*.*) + 4.9.*|4.1[0-9].*|5.*.*) TARGET_TOOLS=GCC49 ;; + 6.*.*) + TARGET_TOOLS=GCC5 + ;; *) TARGET_TOOLS=GCC44 ;;