lkl / linux

Linux kernel source tree

Home Page:https://lkl.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cross compiling LKL for powerpc

darbyShaw opened this issue · comments

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.

I strongly believe that some additional porting work is required.
Maybe issue #341 and Pull Request #456 which adds i386 support can help you.