[libc-commits] [libc] [libc] init uefi os target (PR #120687)

via libc-commits libc-commits at lists.llvm.org
Mon Dec 23 11:35:06 PST 2024


Prabhuk wrote:

> CC @Prabhuk
> 
> I have discovered an issue which may be worth investigating. Even though `libc.a` has symbols which the `a.c` above can use exists, it still says there's undefined symbols. It only exists when adding the `.a` files for those symbols into the clang call. Note that this testing is done only with #120632 applied and it looks like `lld-link` might be the culprit.

Thanks for experimenting with the current state of the UEFI toolchain. If I am not mistaken we will need to land the backend necessary in LLVM for this to work. I have changes for X86_64 backend at #109320 which I want to land after your #120632 lands. I imagine we would require similar but hopefully much easier to deal with Aarch64 backend changes in LLVM as well for your experiment to work. Please let me know if my understanding here is not correct.

https://github.com/llvm/llvm-project/pull/120687


More information about the libc-commits mailing list