I was trying to move over to DxeDebugPrintErrorLevelLib, but I can't get it to
build
For example I made DXE use
DebugPrintErrorLevelLib|MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.inf
in the EmulatorPkg and I get this error:
/Users/andrewfish/work/src/edk2/EmulatorPkg/EmulatorPkg.dsc(...): error F002:
Library
[/Users/andrewfish/work/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf]
with constructors has a cycle
consumed by
/Users/andrewfish/work/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf
The error message is not very helpful on root causing the issue....
But a circular constructor issue does not seem that strange in the DebugLib
stack as everything uses that! If I go into DxeDebugPrintErrorLevelLib.inf and
remove the HobLib I don't get the Constructor error, but I do get a link error.
So it looks like the DxeDebugPrintErrorLevelLib depends on the Hob lib that
depends on the DebugLib that depends on the DxeDebugPrintErrorLevelLib. How did
this every work? The only place I see it used is the Nt32Pkg, and I don't have
a system to test that on????
Any ideas?
Thanks,
Andrew Fish
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel