public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Error building CmockaLib and NetworkPkgHostTest.dsc on AARCH64
@ 2024-07-29 20:57 Rebecca Cran
  2024-07-29 23:18 ` Michael D Kinney
  0 siblings, 1 reply; 2+ messages in thread
From: Rebecca Cran @ 2024-07-29 20:57 UTC (permalink / raw)
  To: Michael D Kinney, Michael Kubacki, Sean Brogan, Saloni Kasbekar,
	Zachary Clark-williams
  Cc: devel

I was trying to run CI on my AARCH64 system and ran into errors building 
NetworkPkg/Test/NetworkPkgHostTest.dsc.

The problem is that UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf 
is a BASE package which uses XIPFLAGS, and that includes 
-mgeneral-regs-only while cmocka uses floating-point code.

I know in CmockaLib.inf it says "VALID_ARCHITECTURES = IA32 X64" but do 
we want it to be able to build on other platforms too?


-- 
Rebecca Cran



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



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

* Re: [edk2-devel] Error building CmockaLib and NetworkPkgHostTest.dsc on AARCH64
  2024-07-29 20:57 [edk2-devel] Error building CmockaLib and NetworkPkgHostTest.dsc on AARCH64 Rebecca Cran
@ 2024-07-29 23:18 ` Michael D Kinney
  0 siblings, 0 replies; 2+ messages in thread
From: Michael D Kinney @ 2024-07-29 23:18 UTC (permalink / raw)
  To: Rebecca Cran, Michael Kubacki, Sean Brogan, Kasbekar, Saloni,
	Clark-williams, Zachary
  Cc: devel@edk2.groups.io, Kinney, Michael D

Hi Rebecca,

At the time that support was added, only IA32 and X64 host environments
were considered.  Adding more host environments makes sense.

Can you work on a changes to increase host env compat?

Mike

> -----Original Message-----
> From: Rebecca Cran <rebecca@bsdio.com>
> Sent: Monday, July 29, 2024 1:57 PM
> To: Kinney, Michael D <michael.d.kinney@intel.com>; Michael Kubacki
> <mikuback@linux.microsoft.com>; Sean Brogan <sean.brogan@microsoft.com>;
> Kasbekar, Saloni <saloni.kasbekar@intel.com>; Clark-williams, Zachary
> <zachary.clark-williams@intel.com>
> Cc: devel@edk2.groups.io
> Subject: Error building CmockaLib and NetworkPkgHostTest.dsc on AARCH64
> 
> I was trying to run CI on my AARCH64 system and ran into errors building
> NetworkPkg/Test/NetworkPkgHostTest.dsc.
> 
> The problem is that UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
> is a BASE package which uses XIPFLAGS, and that includes
> -mgeneral-regs-only while cmocka uses floating-point code.
> 
> I know in CmockaLib.inf it says "VALID_ARCHITECTURES = IA32 X64" but do
> we want it to be able to build on other platforms too?
> 
> 
> --
> Rebecca Cran



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



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

end of thread, other threads:[~2024-07-29 23:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 20:57 [edk2-devel] Error building CmockaLib and NetworkPkgHostTest.dsc on AARCH64 Rebecca Cran
2024-07-29 23:18 ` Michael D Kinney

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