Attention is currently required from: Raul Rangel, Stefan Reinauer, Julius Werner, Jacob Garber, Iru Cai, Elyes Haouas.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40811 )
Change subject: arch,toolchain,xcompile: Use the compiler frontend as a linker ......................................................................
Patch Set 15:
(1 comment)
File src/cpu/x86/smm/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/40811/comment/58e7ae8b_bf435e86 PS15, Line 18: $(CC_smm) $(CFLAGS_smm) -r -o $@ $(COMPILER_RT_FLAGS_smm) -Wl,--whole-archive,--start-group $(filter-out %.ld, $(smm-objs)) -Wl,--no-whole-archive $(COMPILER_RT_smm) -Wl,--end-group Passing `$(CFLAGS_smm)` it links besides twelve board configs:
* clang.GOOGLE_BERKNIP * clang.GOOGLE_DALBOZ * clang.GOOGLE_DIRINBOZ * clang.GOOGLE_EZKINIL * clang.GOOGLE_GUMBOZ * clang.GOOGLE_MORPHIUS * clang.GOOGLE_SHUBOZ * clang.GOOGLE_SKYRIM.NO_VIDEO * clang.GOOGLE_TREMBYLE * clang.GOOGLE_VILBOZ.X86_64 * clang.GOOGLE_VILBOZ * clang.GOOGLE_WOOMAX
They want to use the LLVM linker LLD for some reason:
LINK cbfs/fallback/verstage.debug clang-15: error: unable to execute command: Executable "ld.lld" doesn't exist! clang-15: error: ld.lld command failed with exit code 1 (use -v to see invocation) make[2]: *** [src/arch/arm/Makefile.inc:64: /cb-build/coreboot-gerrit.0/clang/GOOGLE_BERKNIP/cbfs/fallback/verstage.debug] Error 1