public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] VS2019 and AARCH64 with current EDKII mainline code.
@ 2024-03-19 21:12 Ken Taylor
  2024-03-20  3:48 ` Adam Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Taylor @ 2024-03-19 21:12 UTC (permalink / raw)
  To: devel@edk2.groups.io

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

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): https://edk2.groups.io/g/devel/message/116908
Mute This Topic: https://groups.io/mt/105033123/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 3677 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] VS2019 and AARCH64 with current EDKII mainline code.
  2024-03-19 21:12 [edk2-devel] VS2019 and AARCH64 with current EDKII mainline code Ken Taylor
@ 2024-03-20  3:48 ` Adam Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Liu @ 2024-03-20  3:48 UTC (permalink / raw)
  To: Ken Taylor, devel

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

I got the same issue and already submit a patch.
https://edk2.groups.io/g/devel/topic/patch_v2_1_1/105038588?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,105038588,previd%3D1710905523338626613,nextid%3D1710847665703537227&previd=1710905523338626613&nextid=1710847665703537227
Hope it got accepted and push to master soon.

Regards,
Adam


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116913): https://edk2.groups.io/g/devel/message/116913
Mute This Topic: https://groups.io/mt/105033123/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 1157 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-20  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-19 21:12 [edk2-devel] VS2019 and AARCH64 with current EDKII mainline code Ken Taylor
2024-03-20  3:48 ` Adam Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox