[edk2-devel] [edk2-test] Can't build edk2-test on x64 linux

Laszlo Ersek lersek at redhat.com
Thu Jan 28 19:35:45 UTC 2021


On 01/28/21 20:10, Adriano Kultzak wrote:
> Hello.
> 
> I've been trying to build UEFI-SCT following these instructions https://github.com/tianocore/edk2-test/blob/master/uefi-sct/HowToBuild/How%20to%20build%20SCT%20in%20UDK2017.txt on linux Debian 10, using the latest edk2 available, also tried to build over vudk2017 https://github.com/tianocore/edk2/releases/tag/vUDK2017 , but it stops in this kind of error:
> ___________________________________________________________________________________________________________________________
> /home/repos/TestToolls/SctWorkspace2/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest.c: In function ‘Ip4ENTSTestMain’:
> /home/repos/TestToolls/SctWorkspace2/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest.c:119:23: warning: assignment to ‘EFI_IMAGE_UNLOAD’ from incompatible pointer type ‘EFI_STATUS (*)(void *)’ {aka ‘long long unsigned int (*)(void *)’} [-Wincompatible-pointer-types]
> LoadedImage->Unload = Ip4ENTSTestUnload;
> ^
> make: *** [GNUmakefile:337: /home/repos/TestToolls/SctWorkspace2/Build/UefiSct/DEBUG_GCC5/X64/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest/OUTPUT/Ip4ENTSTest.obj] Error 1
> Could not build the UEFI SCT package
> ___________________________________________________________________________________________________________________________
> 
> Is there any currently known impediment to build UEFI-SCT in the linux environment or some other important details I'm missing? I appreciate any help.

Agreed -- the SCT build method is both untested with GCC and
significantly out of date esp. with regard to the multiple workspace
feature (PACKAGES_PATH, to be specific). I tried building SCT myself a
few weeks ago; it was very under-documented, and what I managed to
understand anyway indicated it had no support for PACKAGES_PATH.

Some of the edk2 platforms too are clearly never built with GCC.

Thanks
Laszlo



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70865): https://edk2.groups.io/g/devel/message/70865
Mute This Topic: https://groups.io/mt/80192226/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list