On 5/25/22 10:43, Pedro Falcato wrote:
On Wed, May 25, 2022 at 4:50 PM Ard Biesheuvel <a...@kernel.org> wrote:
On Wed, 25 May 2022 at 17:08, Rebecca Cran
<quic_rc...@quicinc.com> wrote:
>
> I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t CLANG38 -b
> NOOPT` (with clang version 14.0.2) with the latest edk2 master
> (07c0c2eb0a5970db614ebce1060fc79d6904bdfd):
>
> make: Nothing to be done for 'tbuild'.
> /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM
value:
> 0x23
>
/home/bcran/src/upstream/uefi/edk2/Build/OvmfX64/NOOPT_CLANG38/X64/OvmfPkg/VirtioGpuDxe/VirtioGpu/OUTPUT/VirtioGpuDxe.lib(Gop.obj):
> in function `GopSetMode':
> Gop.c:(.text.GopSetMode+0x418): undefined reference to `memcpy'
Can you dump the object file to see where the memcpy() call is
emitted?
I think I found the smoking gun:
https://github.com/tianocore/edk2/blob/916f90baa547b3ebef8fa87c530e2f0c8e35e1e3/OvmfPkg/VirtioGpuDxe/Gop.c#L512
Ah, thanks! I've just sent out another email this time about building
with the XCODE5 toolchain and _AsmRelocateApMailBoxLoopStart not being
defined.
--
Rebecca Cran
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90011): https://edk2.groups.io/g/devel/message/90011
Mute This Topic: https://groups.io/mt/91335000/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-