On Tue, May 13, 2025 at 04:06:45PM +0800, Huacai Chen wrote:
LoongArch's toolchain may change the default code model from normal to medium. This is unnecessary for kernel, and generates some relocations which cannot be handled by the module loader. So explicitly specify the code model to normal in Makefile (for Rust 'normal' is 'small').
Cc: stable@vger.kernel.org Tested-by: Haiyong Sun sunhaiyong@loongson.cn Signed-off-by: Huacai Chen chenhuacai@loongson.cn
We may use new toolchain to build 6.1/6.6 LTS, backport it to avoid problems.
What is the upstream git id for this commit?