From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 458537803D8 for ; Tue, 19 Mar 2024 21:13:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=1hgQIzgomR2CXDLukqDlL+ChbxGmDCCLRGWz5TQP21A=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20240206; t=1710882779; v=1; b=O6tVAvFLLMIOQY1qxRfEg6DzRt2rV85TUYVxGaMsYFQfbLCiF7HhpaAJM0l9ZiuToy1gWRy4 H4ix1UQrsqyh51KKpPk3oUrGdeGk9jRomNX1+UTW/Nw9cyhUKnRxVQtyBcKlqH6cdPCNMcZB7sO yv8oHT8o4aeGLorfen8NGBsm02iSfrOyKdiraTHeuAqJ0J4Cp/Auyn5NGbdP/toeqTQanF926zd 4QCPNPCLJgS6i/1Z9Qbs+q/gdATY6BWvu4Bf0M7oTpS65Ud+N9HCMO0PwFoNFZGIJq3KNCBf0Q3 G9LDzJ7+FY10N+WfvI6w8HtPat8DmMCQOSEjOfR5XFogA== X-Received: by 127.0.0.2 with SMTP id Xii0YY7687511x56yKNxsh6s; Tue, 19 Mar 2024 14:12:59 -0700 X-Received: from us-smtp-delivery-170.mimecast.com (us-smtp-delivery-170.mimecast.com [170.10.133.170]) by mx.groups.io with SMTP id smtpd.web11.28137.1710882775974635715 for ; Tue, 19 Mar 2024 14:12:56 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-156-r5XdCXvHOGq-6ogwjiDy8w-1; Tue, 19 Mar 2024 17:12:09 -0400 X-MC-Unique: r5XdCXvHOGq-6ogwjiDy8w-1 X-Received: from MN0P223MB0485.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:3c7::16) by SJ1P223MB0412.NAMP223.PROD.OUTLOOK.COM (2603:10b6:a03:489::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Tue, 19 Mar 2024 21:12:04 +0000 X-Received: from MN0P223MB0485.NAMP223.PROD.OUTLOOK.COM ([fe80::6167:e262:bae4:a9fe]) by MN0P223MB0485.NAMP223.PROD.OUTLOOK.COM ([fe80::6167:e262:bae4:a9fe%7]) with mapi id 15.20.7386.025; Tue, 19 Mar 2024 21:12:04 +0000 From: "Ken Taylor" To: "devel@edk2.groups.io" Subject: [edk2-devel] VS2019 and AARCH64 with current EDKII mainline code. Thread-Topic: VS2019 and AARCH64 with current EDKII mainline code. Thread-Index: Adp6QE7Bcay08h6STsCdu7pbBT4oEA== Date: Tue, 19 Mar 2024 21:12:04 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0P223MB0485:EE_|SJ1P223MB0412:EE_ x-ms-office365-filtering-correlation-id: 9fb4715f-0f47-400b-0435-08dc48593a3a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: wvzhH+E49ccmsZlzuY9QKOkORQ2vkoGZMJpCTNNWH6al+cTRW+AgLl3ZLKuobvayOOXg1VHVc5EchicJrcq014afrwUP6Z0GCEPTSg1qZOrfJAEQeRn9hzDQGo9iC33TFCicskevyf3UqM/QVaM4zbi0FxaPcuG7/1MqSrG8C/5M4LPtHAv9b9A2JWvTEmv0xKhinavBsloS9vsq4KN46kC0k/9TpXIhvZfZ7gkvbN7DKmqPUBa/xQfusN6LgJ/V42OiCqUuCS+fWht03umB+OFOfg+7F13VRHLSm/3savj1jUdE4OWP09SXlNWL7/u0/8EUoe8R/te8n7HFMyVrVdvJwGov7c5eUEMPV7qOlvzquHxHyVnIHZ243dTUDDVsRqUXM3IS1vWDoFE2QDtJSH7cBbiGOqtufKTOPbGULiCqh3GHsHKZRIAy4v+C4/771fRxCI8q1k7rNI1ffUr2JakQLwX30UH/3i+LZfbmSLr1Pk6AFQqKfE66DnotqD0Au7Ew47a345gKW1g8sZaGep+1AO0tQXUslv8pXJsKJIr6+uH4w3yjbPI8C1bxvENG013/dYW4vHiZTcLvwdPeibaDFOMKX2rU99uFZ/LNI9QpcZR5rR9y1GQdv3RfcVspgy17bGuZ/avZIxEvZnLoQnCVU4xKeuWCVGVwgR/W7JC0I6FMe5MC4WUDu2Bvd4PC3y6pSNBIY8QL/cYkj7VAsUg5yPKYgnlYFb+xZHwIhTw= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7OQYQpE2EMt1v5Osn9zNmBoKz9P1Jjy2uuhMk5H5T1V8BmedbO2CytTTQkkf?= =?us-ascii?Q?rsVd0wPjXUODZTL59Hl/z6pmfSf22TNkrXETnnVXhGxYCR+mh1xPsE5pRiAx?= =?us-ascii?Q?mPu6lF7RLDPWKEoqXbiu5i6e9Qva7GJQ7fvp6CWxG9mCrKMPdB0sKvz7me6M?= =?us-ascii?Q?U49I7rVMglsC0eB1zVmp2GxaNLvf9EQ5dETmyvINES6GTtiKtW4rw1h62TmX?= =?us-ascii?Q?lZsFn1mIK2nQxvaod2jiLOlOusEgWj1rXxWyJii8YoXOGc1QGbp2XXuesuHz?= =?us-ascii?Q?O2oPjlimsPFqlMi0QzZqOazxoPKds2X3uu2sV3xJ12SnDxr+Wq4dX4B1gd/O?= =?us-ascii?Q?vwHD34w+Hb8gJBzyAQDHJojdUcrfSDrCu42Te6neETOSOu76AxVtdpve/GfZ?= =?us-ascii?Q?WtMv5wcR5K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us-ascii?Q?VVw/tyxWRE/2BAHFLmLEvC0FBXf1Unk7G8RBqjbpk9ClzcZAIswKL/4FNN4J?= =?us-ascii?Q?G58+WVstTKEOhPz77fXOinFkTrgZ8HqUwhlY/TQMFceS+xAr/sCg8zDqefQH?= =?us-ascii?Q?lUZe+kbu8HsyolvciGbWyE8MX3ia/in4+62ufid6gX4o10fDQcblG67GDg9o?= =?us-ascii?Q?Lsb6y/AvLKHGsjIqw6CVXQEwOES5rM8rvdKKoHxcBnsdnhI6G3Hmd/jK1p6V?= =?us-ascii?Q?nBJlVim0XYQUCYPaq5ATAN1DhX5YtW6t6RxDRuvB7B3BjKJSJZ46MjlRhryy?= =?us-ascii?Q?XAb71IWQSehjoo9FeuoXvCZJ0fqiru4uehWIMgOU3Q0p?= MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Cgqtf3RHHxqN8Cf+qNWsvSLIC+9olOnI9KZUEdmEXPRYkH9rRbshnqKCdkyuqox16w6r0ekBXKEGrnmlrDedOGxgYaXhv+dsWzKQXcL/4hsuPngqODmmy7trkrvQXNcVanPUqpjDsuNvQ6tU5vANpzQt/U1Ybj6TzRhvYsfH5u7Q1lEkArs8rrQASNN6HU5u+Hp7SOHkV7MBZuHYaRsLQafnDALrA+fXIS9KwKJwVvAEXmg5lUTWS3hPjTqQNPcS2p9QBvod7uDej3kpckDrQYART3eP4aVxM3QdInZ2opfRrVhWZVwI971EOPFmjYJN/43sKMTyisD0zk4BAhLSJJGLr574ie1bPXaJ9S30mPkQOzaWcj2YPeksJ57PSJUZkngDfGtzA/8BZAGGm8qRswqHdVwv82Z/o62d+xdhnLTwtGO/y/rd8jZhuhe3aOzsXim+KP9eE8D1khvemNDEGjOFeQY0pqO4AIup6cGV7a8xryukX6CrPHySSqOXYa59rQuwM15uxULnKD4is01+c5hQ4rWpGfl9v6xpdfSnHs+jXltif/yzKP4MMDXksmMuimbNPV7BfRgkNFss1JDdF4bsZAwPz7YBlKCxOCdnDyuPYAoQihhFG8xKJXzGKjOz X-OriginatorOrg: phoenix.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0P223MB0485.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 9fb4715f-0f47-400b-0435-08dc48593a3a X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2024 21:12:04.5700 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3775ff9c-ed3d-4b7e-8ddc-1dfbe16dbe23 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Pj+orBrgN/IK2Spm/Je4TVKBunhYUd+QEyJEZSpwhygzbpx68Au6gWHxc2ZULm+U7nFTp3O1U4gfUgiV+SGi8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1P223MB0412 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: phoenix.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 19 Mar 2024 14:12:58 -0700 Reply-To: devel@edk2.groups.io,Ken_Taylor@phoenix.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: VDxZbdzEZXcYaMkFKeogPfEPx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN0P223MB048597ADD35D2F110100DE7FFA2C2MN0P223MB0485NAMP_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=O6tVAvFL; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=phoenix.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_MN0P223MB048597ADD35D2F110100DE7FFA2C2MN0P223MB0485NAMP_ Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Hi all, I've been trying to build the latest 2023 release of EDKII with AARCH64 usi= ng VS2019, and I'm encountering an issue with line 51 of MdePkg\Library\Bas= eLib\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 th= ere'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 o= f 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 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_MN0P223MB048597ADD35D2F110100DE7FFA2C2MN0P223MB0485NAMP_ Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable

Hi all,

 

I’ve been trying to build the latest 2023 rele= ase 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 InternalAs= sertJumpBuffer and the 64 bit ARM cross assembler that comes with VS2019 do= es 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 decla= re MDEPKG_NDEBUG in a context that the assembler’s preprocessor recog= nizes.

 

How is this supposed to work, exactly?  For now= , I’m using my own version of BaseLib, so I can remove that code bloc= k from SetJumpLongJump.asm, or add the EXTERN, but that’s far from id= eal 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:

=20 You receive all messages sent to this group. =20 =20

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

_._,_._,_
--_000_MN0P223MB048597ADD35D2F110100DE7FFA2C2MN0P223MB0485NAMP_--