Open urjaman opened 5 years ago
So, I ended up just flaffing around until it compiled (and pulled one patch from the 4.20 branch that moved the head file to the front of the kernel binary), and the end result works but is not pretty -- if you really need it is in my openwrt-w268r repo.
Anyways the memcmp maybe had something to do with the weird special casing of that under MIPS (there was an identical version of memcmp from the generic one, but only for MIPS... disabled that), and those timer-related syscalls were actually disabled yet needed by the kernel itself (?) so i guess disabling the posix timers is not a good idea, i just re-enabled them.
are you sure your toolchain can build other kernels?
Hi, I'm trying to squeeze a 4.14 kernel (+initramfs) onto quite the small flash router, and decided to try LTO'ing the kernel. I based my work on the lto-415-2 branch.
My current attempt ends up like this:
I assume these are to do with the syscall table... tho the memcmp ones confuse me.
Anyways the point i was going for was that a very old pdf somewhere told me this was tested on MIPS but my quick lookaround didnt find any patches, so pointers/hints appreciated, and of course anyone who has patches for MIPS support is welcome to point me at them too :)