* :Build error
@ 2018-07-30 13:25 Jose Trujillo
2018-07-31 6:27 ` Gao, Liming
0 siblings, 1 reply; 3+ messages in thread
From: Jose Trujillo @ 2018-07-30 13:25 UTC (permalink / raw)
To: edk2-devel@lists.01.org
Dear Tianocore developers:
I am getting the following error during the making of the latest EDK2.
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 <command-line>:0:
/home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:103:45: error: ‘_PCD_VALUE_PcdCpuKnownGoodStackSize’ undeclared here (not in a function); did you mean ‘_PCD_SIZE_PcdCpuKnownGoodStackSize’?
#define FixedPcdGet32(TokenName) _PCD_VALUE_##TokenName
^
/home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h:58:3: note: in expansion of macro ‘FixedPcdGet32’
FixedPcdGet32 (PcdCpuKnownGoodStackSize)
^~~~~~~~~~~~~
/home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c:30:39: note: in expansion of macro ‘CPU_KNOWN_GOOD_STACK_SIZE’
CPU_KNOWN_GOOD_STACK_SIZE];
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c: In function ‘InitializeCpuExceptionHandlersEx’:
/home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:148:54: error: ‘_PCD_VALUE_PcdCpuStackSwitchExceptionList’ undeclared (first use in this function); did you mean ‘_PCD_SIZE_PcdCpuStackSwitchExceptionList’?
#define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
^
/home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h:55:3: note: in expansion of macro ‘FixedPcdGetPtr’
FixedPcdGetPtr (PcdCpuStackSwitchExceptionList)
^~~~~~~~~~~~~~
/home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c:275:45: note: in expansion of macro ‘CPU_STACK_SWITCH_EXCEPTION_LIST’
EssData.X64.StackSwitchExceptions = 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/CpuExceptionHandlerLib/CpuExceptionCommon.h:55:3: note: in expansion of macro ‘FixedPcdGetPtr’
FixedPcdGetPtr (PcdCpuStackSwitchExceptionList)
^~~~~~~~~~~~~~
/home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c:275:45: note: in expansion of macro ‘CPU_STACK_SWITCH_EXCEPTION_LIST’
EssData.X64.StackSwitchExceptions = 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/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf [X64, CBSDK, RELEASE]
-----------------------------End--------------------------------------------
Thank you in advance,
Jose Trujillo.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: :Build error
2018-07-30 13:25 :Build error Jose Trujillo
@ 2018-07-31 6:27 ` Gao, Liming
[not found] ` <tlzoIe36EW6A2zmqqzjoTn5Wc-K3PwVRlNwWZUKGjCo80DYoFXZZ2tl8s2nygp0RhGBy0jU3yZZKgoVhHYlB8jSFAb2fXGrMAoi305TvsrY=@protonmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Gao, Liming @ 2018-07-31 6:27 UTC (permalink / raw)
To: Jose Trujillo, edk2-devel@lists.01.org
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 EDK2.
> 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 <command-line>:0:
> /home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:103:45: error: ‘_PCD_VALUE_PcdCpuKnownGoodStackSize’
> undeclared here (not in a function); did you mean ‘_PCD_SIZE_PcdCpuKnownGoodStackSize’?
> #define FixedPcdGet32(TokenName) _PCD_VALUE_##TokenName
> ^
> /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h:58:3: note: in expansion of
> macro ‘FixedPcdGet32’
> FixedPcdGet32 (PcdCpuKnownGoodStackSize)
> ^~~~~~~~~~~~~
> /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c:30:39: note: in expansion of macro
> ‘CPU_KNOWN_GOOD_STACK_SIZE’
> CPU_KNOWN_GOOD_STACK_SIZE];
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c: In function
> ‘InitializeCpuExceptionHandlersEx’:
> /home/bios_dev/XXXX/4.8.1/edk2/MdePkg/Include/Library/PcdLib.h:148:54: error: ‘_PCD_VALUE_PcdCpuStackSwitchExceptionList’
> undeclared (first use in this function); did you mean ‘_PCD_SIZE_PcdCpuStackSwitchExceptionList’?
> #define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
> ^
> /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h:55:3: note: in expansion of
> macro ‘FixedPcdGetPtr’
> FixedPcdGetPtr (PcdCpuStackSwitchExceptionList)
> ^~~~~~~~~~~~~~
> /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c:275:45: note: in expansion of macro
> ‘CPU_STACK_SWITCH_EXCEPTION_LIST’
> EssData.X64.StackSwitchExceptions = 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/CpuExceptionHandlerLib/CpuExceptionCommon.h:55:3: note: in expansion of
> macro ‘FixedPcdGetPtr’
> FixedPcdGetPtr (PcdCpuStackSwitchExceptionList)
> ^~~~~~~~~~~~~~
> /home/bios_dev/XXXX/4.8.1/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c:275:45: note: in expansion of macro
> ‘CPU_STACK_SWITCH_EXCEPTION_LIST’
> EssData.X64.StackSwitchExceptions = 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/CpuExceptionHandlerLib/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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-31 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 13:25 :Build error Jose Trujillo
2018-07-31 6:27 ` Gao, Liming
[not found] ` <tlzoIe36EW6A2zmqqzjoTn5Wc-K3PwVRlNwWZUKGjCo80DYoFXZZ2tl8s2nygp0RhGBy0jU3yZZKgoVhHYlB8jSFAb2fXGrMAoi305TvsrY=@protonmail.com>
[not found] ` <4A89E2EF3DFEDB4C8BFDE51014F606A14E2C3767@SHSMSX104.ccr.corp.intel.com>
2018-07-31 12:57 ` Jose Trujillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox