Hi all,

 

I’ve been trying to build the latest 2023 release of EDKII with AARCH64 using VS2019, and I’m encountering an issue with line 51 of MdePkg\Library\BaseLib\AArch64\SetJumpLongJump.asm.

 

Specifically, there’s no EXTERN for InternalAssertJumpBuffer and the 64 bit ARM cross assembler that comes with VS2019 does not support /D or -D so there’s no way to set a flag that properly defines MDEPKG_NDEBUG.  -PreDefine “MDEPKG_NDEBUG SETx blah” doesn’t work either, because it doesn’t declare MDEPKG_NDEBUG in a context that the assembler’s preprocessor recognizes.

 

How is this supposed to work, exactly?  For now, I’m using my own version of BaseLib, so I can remove that code block from SetJumpLongJump.asm, or add the EXTERN, but that’s far from ideal since I’d like to avoid maintaining my own copy of BaseLib just to fix a single build error.

 

Regards,

-Ken Taylor

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#116908) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_