On Thu, Oct 10, 2024 at 04:52:48PM +0100, Leif Lindholm wrote:
> Hi Gerd, others,
> 
> While working on the FdtLib migration to the submodule variant, I decided to
> at least try to test build MicrovmX64 ... but I'm failing.
> 
> Both clang and gcc builds bail out at a GenFw invocation to generate
> ResetVector.efi due to "Did not find any '.text' section". (Assert on line
> 938 of Elf64Convert.c.)
> OvmfPkgX64 builds without issue.
> 
> Is there something I'm missing?
> Can anyone else build MicrovmX64 on current HEAD?

Works for me (Fedora 40, gcc 14.2.1).
Using in-tree C BaseTools.

The microvm build creates an
Build/MicrovmX64/DEBUG_GCC5/X64/OvmfPkg/ResetVector/ResetVector/DEBUG/ResetVector.dll
file which had no .text section indeed.

The OvmfPkgX64 build doesn't even though both use the same
ResetVector.inf.  Hmm, not sure why, but it's probably related.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120700): https://edk2.groups.io/g/devel/message/120700
Mute This Topic: https://groups.io/mt/108931674/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to