On Fri, Aug 11, 2023 at 08:52:01AM +0530, Naresh Kamboju wrote:
Build errors:
ld.lld: error: ./arch/x86/kernel/vmlinux.lds:193: at least one side of the expression must be absolute make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
upstream report:
- https://lore.kernel.org/llvm/CA+G9fYsdUeNu-gwbs0+T6XHi4hYYk=Y9725-wFhZ7gJMspLDRA@mail.gmail.com/
Proposed fix patch:
[PATCH] x86/srso: fix build breakage for LD=ld.lld
This patch is yet to be backported and CC to stable.
It's now in -tip, I would expect it to make -rc6:
https://git.kernel.org/tip/cbe8ded48b939b9d55d2c5589ab56caa7b530709
It should have had 'Cc: stable@vger.kernel.org' but I hope the Fixes: tag alone will ensure it gets picked up once it hits mainline, especially since there are other fixes that will come in that pull.
Cheers, Nathan