Re: [PATCH] sparc: Avoid unsupported LLD branch relocations
Nathan Chancellor <[email protected]> Wed, 20 May 2026 15:31:47 -0700
| Newsgroups | org.kernel.vger.sparclinux,dev.linux.lists.llvm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260520223147.GB1607511@ax162> |
On Wed, May 20, 2026 at 04:20:50PM +0000, Koakuma wrote: > Yes, at the moment LLD only has very basic capabilities and still can't link > the kernel, at least not without some rather invasive changes. > (And even if you manage to land all the changes to the kernel, still there are > many complex programs out there that's currently unlinkable by LLD that I feel > like improving LLD would be a better use of resources, in the long term) Agreed and that is generally what we tried to do for all other architectures, I don't think SPARC is special here. > As for the integrated assembler, now that PR 187534 [1] is merged it should > be possible to build the kernel with IAS, but that commit hasn't made it into > a release yet so I don't feel like it's the time to update the kernel's > docs... maybe? > > [1]: https://github.com/llvm/llvm-project/pull/187534 Yeah, we can update the documentation when 23.1.0 is out, but I should update our CI to test sparc64_defconfig with the integrated assembler for clang-23+ because we test from main. -- Cheers, Nathan