Hello, Stepan, I can build the payload with your approach. I think the commint of 71188e90638cac8d5228e89b0fb5809783058946 solves the problem: BaseTools: Add BUILDRULEFAMILY for CLANGDWARF Commit c6f47e6 removed BUILDRULEFAMILY for CLANGDWARF. Adding CLANGDWARF back as a BUILDRULEFAMILY to match CLANGPDB. Add CLANGDWARF specific build rules - based on GCC, and remove steps not required for CLANGDWARF. Remove following irrelevant steps and logs: ... "objcopy not needed ..." "--strip-unneded ..." "--add-gnu-debuglink ..." ... Best Regards Feng Libo Original: From:Stepan via groups.ioDate:2025-03-18 16:19:17(中国 (GMT+08:00))To:丰立波 , develCc:Subject:[edk2-devel] buiding Uefi Universal Payload failedHello Feng Libo, I found this bug, when i update EDK2 sources. You should remove directories Build, Conf and BaseTools. Then restore the source code of the BaseTools (git reset --hard HEAD). Then rebuild tools by make -c BaseTools/ and update environment by source edksetup.sh . After this You can apply settings for the target in Conf/target.txt . -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121232): https://edk2.groups.io/g/devel/message/121232 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] -=-=-=-=-=-=-=-=-=-=-=-