From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2AD042095B9D8 for ; Thu, 17 Aug 2017 02:30:30 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B73A654DE8; Thu, 17 Aug 2017 09:32:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B73A654DE8 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=lersek@redhat.com Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-76.phx2.redhat.com [10.3.116.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 268AC5C6C9; Thu, 17 Aug 2017 09:32:55 +0000 (UTC) To: Jordan Justen , edk2-devel-01 References: <20170815170914.4987-1-lersek@redhat.com> <20170815170914.4987-2-lersek@redhat.com> <150283863081.6037.10631883807038076573@jljusten-skl> From: Laszlo Ersek Message-ID: <4899e79c-fe0e-2b58-a71d-8186747fda71@redhat.com> Date: Thu, 17 Aug 2017 11:32:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <150283863081.6037.10631883807038076573@jljusten-skl> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 17 Aug 2017 09:32:56 +0000 (UTC) Subject: Re: [PATCH v2 1/1] OvmfPkg/build.sh: select the GCC49 toolchain settings for gcc-7.* X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2017 09:30:30 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 08/16/17 01:10, Jordan Justen wrote: > Reviewed-by: Jordan Justen Thank you, pushed as commit ca56256d5e0b. Laszlo > On 2017-08-15 10:09:14, Laszlo Ersek wrote: >> When UefiCpuPkg/MpInitLib is built for X64 with gcc-7, using the DEBUG >> build target and the GCC5 toolchain settings, a C-language assignment is >> miscompiled such that the initial AP startup hangs in CpuMpPei (X64) or >> CpuDxe (Ia32X64). See >> for a detailed analysis of the symptoms, and for mailing list links. >> >> This issue has been reported several times (one example is >> ). Until we (or the >> upstream gcc developers) figure out how to dissuade gcc-7 from the >> miscompilation, pick the GCC49 toolchain in "build.sh" for gcc-7.*. >> >> Cc: Alex Williamson >> Cc: Jordan Justen >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Laszlo Ersek >> --- >> OvmfPkg/build.sh | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh >> index 682155202564..5868d3b8c498 100755 >> --- a/OvmfPkg/build.sh >> +++ b/OvmfPkg/build.sh >> @@ -102,7 +102,7 @@ case `uname` in >> 4.8.*) >> TARGET_TOOLS=GCC48 >> ;; >> - 4.9.*|6.[0-2].*) >> + 4.9.*|6.[0-2].*|7.*) >> TARGET_TOOLS=GCC49 >> ;; >> *) >> -- >> 2.14.1.3.gb7cf6e02401b >> > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel >