From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C2E661A1DF8 for ; Sun, 21 Aug 2016 23:51:12 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 21 Aug 2016 23:50:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,558,1464678000"; d="scan'208";a="1045202362" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 21 Aug 2016 23:50:44 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 21 Aug 2016 23:50:44 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 21 Aug 2016 23:50:44 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Mon, 22 Aug 2016 14:50:42 +0800 From: "Shi, Steven" To: Bruce Cran , Michael Zimmermann CC: edk2-devel-01 Thread-Topic: [edk2] OVMF not booting when built with GCC5 toolset? Thread-Index: AQHR+WvODs8RqM0r3kuTqSLEDfrlf6BOal2AgAAAVQCAAR8LwIAASzIAgAADKYCABLdmQA== Date: Mon, 22 Aug 2016 06:50:41 +0000 Message-ID: <06C8AB66E78EE34A949939824ABE2B310339057F@shsmsx102.ccr.corp.intel.com> References: <8761c472-61cb-1968-ff1b-3bf1f04a67ad@cran.org.uk> <06C8AB66E78EE34A949939824ABE2B310338EB78@shsmsx102.ccr.corp.intel.com> <89202624-4ad5-9ff6-af36-49388985a8c5@cran.org.uk> <13f9450a-ac68-dca0-148e-ad9baf8380b6@cran.org.uk> In-Reply-To: <13f9450a-ac68-dca0-148e-ad9baf8380b6@cran.org.uk> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTE4NjA3Y2UtYTNhMy00ODk1LThkODEtODMxMWViNzYyZjQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ikw0azZjb1BaNDB2bHBuN2xpMGFcL1Z2QlpOejh3a0RTeVp1STI5ZnpVXC9zMD0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: OVMF not booting when built with GCC5 toolset? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 06:51:13 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Cran, OK. I can reproduce your build failure with GCC 6.1.0. We will take a look = at it. Thank you report it. Steven Shi Intel\SSG\STO\UEFI Firmware Tel: +86 021-61166522 iNet: 821-6522 > -----Original Message----- > From: Bruce Cran [mailto:bruce@cran.org.uk] > Sent: Friday, August 19, 2016 10:47 PM > To: Shi, Steven ; Michael Zimmermann > > Cc: edk2-devel-01 > Subject: Re: [edk2] OVMF not booting when built with GCC5 toolset? >=20 > On 8/19/2016 8:35 AM, Bruce Cran wrote: > > When I built and ran it using the same commands (with the exception of > > adding "-vnc :0" to the qemu cmdline) I got the same problem as > > before, and serial.log contained just: > > > > > SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x30202C7 > 8SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x30202C > 78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x30202 > C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x3020 > 2C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x302 > 02C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x30 > 202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x3 > 0202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0x > 30202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack(0 > x30202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack( > 0x30202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStack > (0x30202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithStac > k(0x30202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithSta > ck(0x30202C78SecCoreStartupWithStack(0x30202C78SecCoreStartupWithSt > ack(0x30202C78SecCoreStartupWithStack(0x30202C78 > > >=20 > Sorry, I'd added -O0 to the debug build flags to let me better debug > code. With that removed, I now get the following in serial.log: >=20 > SecCoreStartupWithStack(0x0, 0x0) > Register PPI Notify: > Install PPI: > Install PPI: > The 8519680th FV start address is 0x00000810248, size is 0xFFFD13C4, > handle is 0x827F01 > Register PPI Notify: > Register PPI Notify: > Install PPI: > Install PPI: > Loading PEIM at 0x00000000000 EntryPoint=3D0x00000000000 > SecCoreStartupWithStack(0xFFFFFFFF, 0xAE569B3A) > Register PPI Notify: > SecCoreStartupWithStack(0xFFFFFFFF, 0xAE569B3A) > Register PPI Notify: > SecCoreStartupWithStack(0xFFFFFFFF, 0xAE569B3A) > Register PPI Notify: > SecCoreStartupWithStack(0xFFFFFFFF, 0xAE569B3A) > Register PPI Notify: > SecCoreStartupWithStack(0xFFFFFFFF, 0xAE569B3A) > Register PPI Notify: >=20 > Those last 2 lines repeat about 100 times. >=20 > -- > Bruce