Hi Ard, 2017-02-23 18:17 GMT+01:00 Ard Biesheuvel <ard.biesheu...@linaro.org>: > On 23 February 2017 at 17:16, Marcin Wojtas <m...@semihalf.com> wrote: >> Hi, >> >> I use Marvell Armada70x0 from mainline OpenPlatformPkg. After updating >> baseline to newest tianocore master branch it turned out that the >> platform fail to boot due to following assert: >> >> /home/mw/git/edk2/Build/Armada70x0/DEBUG_GCC48/AARCH64/ArmPlatformPkg/PrePi/PeiMPCore/DEBUG/ArmPlatformPrePiMPCore.dll >> 0x1800 >> add-symbol-file >> /home/mw/git/edk2/Build/Armada70x0/DEBUG_GCC48/AARCH64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll >> 0x3F534800 >> Loading DxeCore at 0x003F534000 EntryPoint=0x003F534800 >> >> ASSERT_EFI_ERROR (Status = Invalid Parameter) >> ASSERT [DxeCore] >> /home/mw/git/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c(523): >> !EFI_ERROR (Status) >> >> I bisected edk2 master branch and confirmed that the problem appeared >> with commit dc4c770763d0 ("BaseTools: add error check for Macro usage >> in the INF file"). >> >> There are no errors, nor warnings during BaseTool and platform builds. >> Is it a known problem? Any idea about possible root cause? >> > > Already fixed in > 1d8cebf91040 BaseTools: Fix the regression issue caused by commit dc4c77
Thank you for very fast response. The fix indeed helps. Just for the notice top of the master fails to build due to commit cfb0aba7934b ("MdeModulePkg: Add performance property configuration table"). /home/mw/git/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c: In function ‘DxeCorePerformanceLibConstructor’: /home/mw/git/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:538:3: error: passing argument 2 of ‘EfiGetSystemConfigurationTable’ from incompatible pointer type [-Werror] Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty); ^ In file included from /home/mw/git/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h:35:0, from /home/mw/git/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:26: /home/mw/git/edk2/MdePkg/Include/Library/UefiLib.h:135:1: note: expected ‘void **’ but argument is of type ‘struct PERFORMANCE_PROPERTY **’ EfiGetSystemConfigurationTable ( ^ cc1: all warnings being treated as errors make: *** [/home/mw/git/edk2/Build/Armada70x0/DEBUG_GCC48/AARCH64/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib/OUTPUT/DxeCorePerformanceLib.obj] Error 1 I'll stick to one revision and won't move from now on:) Best regards, Marcin _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel