root@starfive:/home/tools/toolset/20220622/v5.15.1# make
make -C /lib/modules/5.15.0-starfive/build M=/home/tools/toolset/20220622/v5.15.1 clean
make[1]: Entering directory ‘/usr/src/linux-headers-5.15.0-starfive’
make[1]: Leaving directory ‘/usr/src/linux-headers-5.15.0-starfive’
make -C /lib/modules/5.15.0-starfive/build M=/home/tools/toolset/20220622/v5.15.1 modules
make[1]: Entering directory ‘/usr/src/linux-headers-5.15.0-starfive’
make[2]: Nothing to be done for ‘include/generated/vdso-offsets.h’.
warning: the compiler differs from the one used to build the kernel
The kernel was built by: riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0
You are using: gcc (Debian 11.3.0-3) 11.3.0
CC [M] /home/tools/toolset/20220622/v5.15.1/./drivers/usb/serial/op
tion.o
/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[2]: *** [scripts/Makefile.build:277: /home/tools/toolset/20220622/v5.15.1/./drivers/usb/serial/option.o] Error 126
make[2]: *** Deleting file ‘/home/tools/toolset/20220622/v5.15.1/./drivers/usb/serial/option.o’
make[1]: *** [Makefile:1868: /home/tools/toolset/20220622/v5.15.1] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-5.15.0-starfive’
make: *** [Makefile:9: modules] Error 2