06-05-2019, 09:30 AM
(06-04-2019, 03:14 AM)S_Paul Wrote: Hello Mrfixit2001
Can you help me with advice? How can i build kernel(i want rt-kernel) on your Debian builds?
I download kernel sources from here https://github.com/rockchip-linux/kernel...-4.4-rt176 and here https://github.com/ioft/linux/tree/v4.9.6-p64-rt.
I do "make rockchip_linux_defconfig", "make"... and get error:
gcc: error: unrecognized command line option '-mgeneral-regs-only'
Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:1082: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
It looks i miss something.
Thank you.
Based on the error you supplied, it looks like you may not be using a 64 bit cross compiler.
See this thread and see if it does not shed a little light into your cross compiling gloom ?:
https://github.com/raspberrypi/linux/issues/2682