回复: [edk2-discuss] how to fix compile warning: cannot find entry symbol _ModuleEntryPoint


gaoliming
 

ModuleEntryPoint is provided by EntryPointLib. This driver links MdePkg\Library\UefiDriverEntryPoint. Please check.

-----邮件原件-----
发件人: bounce+34241+373+4905953+8764802@groups.io
<bounce+34241+373+4905953+8764802@groups.io> 代表 wenyi,xie via
groups.io
发送时间: 2020年9月28日 16:57
收件人: discuss@edk2.groups.io
主题: [edk2-discuss] how to fix compile warning: cannot find entry symbol
_ModuleEntryPoint

Hi, all
I use edk2-stable201903 in my project and meet a compile warning like
below,

/opt/buildtools/gcc-linaro-7.4.1-2019.02/aarch64-linux-gnu/bin/../lib/gcc/aa
rch64-linux-gnu/7.4.1/../../../../aarch64-linux-gnu/bin/ld: warning: cannot
find entry symbol _ModuleEntryPoint; not setting start address

It seems like the warning happens when building
EDKII/Edk2/ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
does anyone know how to fix it?
If need more info, please contact me, thanks!

here's some of my build option,
Architecture(s) = AARCH64
Build target = RELEASE
Toolchain = GCC5





Join discuss@edk2.groups.io to automatically receive all group messages.