"relocation R_LARCH_B26 out of range" when building LoongArch allyesconfig with KCOV #1895
Labels
[ARCH] loongarch
This bug impacts ARCH=loongarch
[BUG] linux
A bug that should be fixed in the mainline kernel.
[BUG] Untriaged
Something isn't working
low priority
This bug is not critical and not a priority
After https://git.kernel.org/chenhuacai/linux-loongson/c/54b9a87ddcc9102826437d3c26ed6c4ab2ad3677, I see the following errors when building
ARCH=loongarch allyesconfig
with the known broken configurations disabled:Turning off
CONFIG_KCOV
avoids the issue. I assume that KCOV instrumentation is blowing up the size of the kernel andld.lld
is not able to cope with that? I would not even bother buildingallyesconfig
normally but it is a better target thanallmodconfig
at the moment :)cc @xen0n
The text was updated successfully, but these errors were encountered: