On 3/22/23 5:49 AM, Ard Biesheuvel wrote:
The reason I added CLANG3x support for ARM in the past is to ensure
compatibility with the ARM proprietary, Clang based toolchain. At the
time, we went with GNU ld, but I would actually prefer if we could
make this work with LLD as well.
Just to confirm, I'll keep lld for X64 and IA32, but I won't add
-fuse-ld=lld for ARM or AARCH64 since none of the toolchain definitions
currently do so.
The problem with trying to use lld for aarch64 is the following error:
GenFw: ERROR 3000: Invalid
WriteSections64():
/home/bcran/uefi/edk2/Build/ArmVirtQemu-AARCH64/RELEASE_CLANGDWARF/AARCH64/ArmVirtPkg/MemoryInitPei/MemoryInitPeim/DEBUG/MemoryInit.dll
due to its size (> 1 MB), this module requires 4 KB section alignment.
--
Rebecca Cran
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101604): https://edk2.groups.io/g/devel/message/101604
Mute This Topic: https://groups.io/mt/97769546/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-