Re: [PATCH 2/2] kbuild: userprogs: use lld to link through clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 14, 2025 at 08:40:22AM +0100, Thomas Weißschuh wrote:
> FYI, in case you want to have a look:
> The kunit config for powerpc is currently broken on LLVM=1.
> 
> $ ./tools/testing/kunit/kunit.py run --arch powerpc --make_options LLVM=1
> 
> arch/powerpc/boot/wrapper manually inspects with CROSS_COMPILE, which does not
> exist when LLVM=1. Instead it falls back to the system objcopy, etc.

Thanks for reminding me, it is a known papercut:

https://github.com/ClangBuiltLinux/linux/issues/1601

I have a WIP series but there are still some errors in the
configurations that I test that I have not investigated.

https://git.kernel.org/pub/scm/linux/kernel/git/nathan/linux.git/log/?h=b4/ppc-boot-llvm-1

Cheers,
Nathan




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux