As Stephen said did you build the base tools using "make -C BaseTools" in the edk2 directory? On Thursday, March 13, 2025, 丰立波 via groups.io wrote: > Hello, Stepan, > > Thanks for the reply. > You didn't encounter such problems, just because ClangBase.lds already > exists in your directory BaseTools/Scripts, as your building log below. But > ClangBase.lds is absent in my BaseTools/Scripts, there is only GccBase.lds. > Where did you get the ClangBase.lds? > > > > GccBase.lds claims it is "Unified linker script for GCC and CLANG based > builds", so I duplicate one and change the file name to ClangBase.lds. Now, > building is successful, but I am not sure it is the right way. > > Best Regards > > Feng Libo > > Original: > > - From:Stepan via groups.io > - Date:2025-03-12 13:21:35(中国 (GMT+08:00)) > - To:丰立波 , devel > - Cc: > - Subject:[edk2-devel] buiding Uefi Universal Payload failed > > Hello Feng Libo, > > 1) Are You building BaseTools? > 2) Are You source edksetup.sh? > > We are use Ubuntu and GCC and we have not encountered such problems. Also > You can check our topic about building universal payload. > https://edk2.groups.io/g/devel/topic/universal_uefi_elf_payload/111543703 > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121198): https://edk2.groups.io/g/devel/message/121198 Mute This Topic: https://groups.io/mt/111636381/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-