lkl / linux

Linux kernel source tree
https://lkl.github.io/
Other
815 stars 138 forks source link

Cross compiling LKL for powerpc #450

Open darbyShaw opened 6 years ago

darbyShaw commented 6 years ago

Can LKL be compiled for powerpc? When I try to compile it using the toolchain for powerpc, I get the following error: arch/lkl/Makefile:16: Unrecognized platform: elf32-powerpc. Stop. If I add elf32-powerpc in the OUTPUT_FORMAT list, I get the following error: KSYM .tmp_kallsyms1.o kallsyms failure: relative symbol value 0x1000002a4 out of range in relative mode Makefile:984: recipe for target 'vmlinux' failed make[1]: [vmlinux] Error 1

Any help is appreciated.

aostrouhhov commented 4 years ago

I strongly believe that some additional porting work is required. Maybe issue https://github.com/lkl/linux/issues/341 and Pull Request https://github.com/lkl/linux/pull/456 which adds i386 support can help you.