public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
@ 2022-05-25 15:08 Rebecca Cran
  2022-05-25 15:50 ` Ard Biesheuvel
  0 siblings, 1 reply; 15+ messages in thread
From: Rebecca Cran @ 2022-05-25 15:08 UTC (permalink / raw)
  To: edk2-devel-groups-io
  Cc: Ard Biesheuvel, Jiewen Yao, Jordan Justen, Gerd Hoffmann

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'
Building ... 
/home/bcran/src/upstream/uefi/edk2/OvmfPkg/PlatformPei/PlatformPei.inf 
[X64]
clang-14.0: error: linker command failed with exit code 1 (use -v to see 
invocation)
make: Nothing to be done for 'tbuild'.
make: *** [GNUmakefile:358: 
/home/bcran/src/upstream/uefi/edk2/Build/OvmfX64/NOOPT_CLANG38/X64/OvmfPkg/VirtioGpuDxe/VirtioGpu/DEBUG/VirtioGpuDxe.dll] 
Error 1


build.py...
: error 7000: Failed to execute command
        make tbuild 
[/home/bcran/src/upstream/uefi/edk2/Build/OvmfX64/NOOPT_CLANG38/X64/OvmfPkg/VirtioGpuDxe/VirtioGpu]


build.py...
: error F002: Failed to build module
        /home/bcran/src/upstream/uefi/edk2/OvmfPkg/VirtioGpuDxe/VirtioGpu.inf [X64, CLANG38, NOOPT]

- Failed -
Build end time: 09:03:38, May.25 2022
Build total time: 00:00:07


-- 
Rebecca Cran

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

end of thread, other threads:[~2022-05-27  5:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 15:08 OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy' Rebecca Cran
2022-05-25 15:50 ` Ard Biesheuvel
2022-05-25 16:43   ` [edk2-devel] " Pedro Falcato
2022-05-25 16:45     ` Ard Biesheuvel
2022-05-25 17:01       ` Pedro Falcato
2022-05-25 22:38         ` Yao, Jiewen
2022-05-25 22:48           ` Pedro Falcato
2022-05-25 22:58             ` Yao, Jiewen
2022-05-25 23:31               ` Pedro Falcato
2022-05-25 23:35                 ` Yao, Jiewen
2022-05-25 23:54                   ` Pedro Falcato
2022-05-26  0:05                     ` Yao, Jiewen
2022-05-26  8:29                       ` 回复: " gaoliming
2022-05-25 16:57     ` Rebecca Cran
2022-05-27  5:52   ` 回复: " gaoliming

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