From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=185.70.40.136; helo=mail-40136.protonmail.ch; envelope-from=ce.autom@protonmail.com; receiver=edk2-devel@lists.01.org Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch [185.70.40.136]) (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 09361210C645C for ; Tue, 31 Jul 2018 05:58:06 -0700 (PDT) Date: Tue, 31 Jul 2018 08:57:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1533041883; bh=s4IfEZI2OIq6ZUHtzpLR2W0PNBePYZruoM2r0TMdvcw=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=FImVnv8T46O5SXzE93o9tO39b2zLRf6c4tr8QAhHfo/Cr2P8cjFI8XShBbvduW0Tn QLFyIr3tmcsfMEXpyQbIl26kg1PJH52ylVuqlRzD93Y8LS0Lf0hY15usBcPR9FD44n qRZZfQT7wsBTckeVbTlB1b4ZTEfmU/Li/3CFHi0w= To: "edk2-devel@lists.01.org" From: Jose Trujillo Reply-To: Jose Trujillo Message-ID: In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2C3767@SHSMSX104.ccr.corp.intel.com> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2C3393@SHSMSX104.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E2C3767@SHSMSX104.ccr.corp.intel.com> Feedback-ID: jPuiFsXCbCphnIH6B1wW_rqIsA3aKLZhsW9Ui2pkMIkzRmzoHV8YAUfCtUHqA2Mtopp6ebWCCMz_2O6-rNKhaQ==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.protonmail.ch X-Content-Filtered-By: Mailman/MimeDel 2.1.27 Subject: Re: :Build error X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2018 12:58:08 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Here is the file attached Liming... =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On July 31, 2018 3:52 PM, Gao, Liming wrote: > Could you attach /home/bios_dev/XXXX/4.8.1/edk2/Build/CorebootPayloadPkgX= 64/RELEASE_CBSDK/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExcept= ionHandlerLib/DEBUG/AutoGen.h? > > I don't understand why report error in AutoGen.h. > > Thanks > Liming > > > -----Original Message----- > > From: Jose Trujillo [mailto:ce.autom@protonmail.com] > > Sent: Tuesday, July 31, 2018 4:52 PM > > To: Gao, Liming liming.gao@intel.com > > Subject: RE: [edk2] :Build error > > CBSDK > > Coreboot Toolkit. > > The definition is added to Conf/tools_def.txt > > "# CBSDK is spun off from the GCC5 template" > > Thank you > > Jose Trujillo > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Origina= l Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80= =90 > > On July 31, 2018 9:27 AM, Gao, Liming liming.gao@intel.com wrote: > > > > > Which tool chain is used? What is CBSDK? > > > > > > > -----Original Message----- > > > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf= Of > > > > Jose Trujillo > > > > > > > Sent: Monday, July 30, 2018 9:26 PM > > > > To: edk2-devel@lists.01.org > > > > Subject: [edk2] :Build error > > > > Dear Tianocore developers: > > > > I am getting the following error during the making of the latest ED= K2. > > > > vUDK2017 also fail with the same errors reported. > > > > I tried to find on the internet the fix but I couldn't so far. > > > > I will appreciate any advice on the issue. > > > > ----------------------------------beginning of the error dump------= ---------------- > > > > > > In file included from > > > > /home/bios_dev/XXXX/4.8.1/edk2/Build/CorebootPayloadPkgX64/RELEASE_ > > CBSDK/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/ > > > > > > DxeCpuExceptionHandlerLib/DEBUG/AutoGen.h:18:0, > > > > from :0: > > > > /home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:103:45: > > error: =E2=80=98_PCD_VALUE_PcdCpuKnownGoodStackSize=E2=80=99 > > > > > > undeclared here (not in a function); did you mean > > > > =E2=80=98_PCD_SIZE_PcdCpuKnownGoodStackSize=E2=80=99? > > > > > > > #define FixedPcdGet32(TokenName) PCD_VALUE##TokenName > > > > ^ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/CpuExceptionCommon.h:58:3: note: in expansion of > > > > > > macro =E2=80=98FixedPcdGet32=E2=80=99 > > > > FixedPcdGet32 (PcdCpuKnownGoodStackSize) > > > > ^~~~~~~~~~~~~ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/DxeException.c:30:39: note: in expansion of macro > > > > > > =E2=80=98CPU_KNOWN_GOOD_STACK_SIZE=E2=80=99 > > > > CPU_KNOWN_GOOD_STACK_SIZE]; > > > > ^~~~~~~~~~~~~~~~~~~~~~~~~ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/DxeException.c: In function > > > > > > =E2=80=98InitializeCpuExceptionHandlersEx=E2=80=99: > > > > /home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:148:54: > > error: =E2=80=98_PCD_VALUE_PcdCpuStackSwitchExceptionList=E2=80=99 > > > > > > undeclared (first use in this function); did you mean > > > > =E2=80=98_PCD_SIZE_PcdCpuStackSwitchExceptionList=E2=80=99? > > > > > > > #define FixedPcdGetPtr(TokenName) ((VOID > > > > *)PCD_VALUE##TokenName) > > > > > > > ^ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/CpuExceptionCommon.h:55:3: note: in expansion of > > > > > > macro =E2=80=98FixedPcdGetPtr=E2=80=99 > > > > FixedPcdGetPtr (PcdCpuStackSwitchExceptionList) > > > > ^~~~~~~~~~~~~~ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/DxeException.c:275:45: note: in expansion of macro > > > > > > =E2=80=98CPU_STACK_SWITCH_EXCEPTION_LIST=E2=80=99 > > > > EssData.X64.StackSwitchExceptions =3D > > > > CPU_STACK_SWITCH_EXCEPTION_LIST; > > > > > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > /home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:148:54: > > note: each undeclared identifier is reported only once for > > > > > > each function it appears in > > > > #define FixedPcdGetPtr(TokenName) ((VOID > > > > *)PCD_VALUE##TokenName) > > > > > > > ^ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/CpuExceptionCommon.h:55:3: note: in expansion of > > > > > > macro =E2=80=98FixedPcdGetPtr=E2=80=99 > > > > FixedPcdGetPtr (PcdCpuStackSwitchExceptionList) > > > > ^~~~~~~~~~~~~~ > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/DxeException.c:275:45: note: in expansion of macro > > > > > > =E2=80=98CPU_STACK_SWITCH_EXCEPTION_LIST=E2=80=99 > > > > EssData.X64.StackSwitchExceptions =3D > > > > CPU_STACK_SWITCH_EXCEPTION_LIST; > > > > > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > make: *** [GNUmakefile:410: > > > > /home/bios_dev/XXXX/4.8.1/edk2/Build/CorebootPayloadPkgX64/RELEASE_ > > CBSDK/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/ > > > > > > DxeCpuExceptionHandlerLib/OUTPUT/DxeException.obj] Error 1 > > > > build.py... > > > > : error 7000: Failed to execute command > > > > make tbuild > > > > [/home/bios_dev/XXXX/4.8.1/edk2/Build/CorebootPayloadPkgX64/RELEASE_ > > CBSDK/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib > > > > > > /DxeCpuExceptionHandlerLib] > > > > build.py... > > > > : error F002: Failed to build module > > > > /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandler > > Lib/DxeCpuExceptionHandlerLib.inf [X64, CBSDK, > > > > > > RELEASE] > > > > -----------------------------End-----------------------------------= --------- > > > > Thank you in advance, > > > > Jose Trujillo. > > > > edk2-devel mailing list > > > > edk2-devel@lists.01.org > > > > https://lists.01.org/mailman/listinfo/edk2-devel