Nathan Chancellor

Results 26 comments of Nathan Chancellor

I ended up taking this for a spin, as it would allow me to move a lot of my out of tree customizations out of Hydro and into my own...

Thanks, looks good to me!

You will need to use `CROSS_COMPILE=x86_64-linux-androidkernel-`

You should not be getting that exact same error? `x86_64-linux-androidkernel-ld` explicitly points to `ld.bfd`.

What version of clang are you using? asm goto support was added to clang-9 so it must be rather old.

I would use `clang-r377782c`, that appears to be what upstream goldfish uses: https://android.googlesource.com/kernel/goldfish/+/refs/heads/android-5.4/build.config.common#8

You should probably add `LD=ld.lld` to your `make` command.

No. Honestly, if you care about hacking up the kernel on a virtual Android platform, you should take a look at Cuttlefish. https://source.android.com/setup/create/cuttlefish https://nathanchance.dev/posts/building-using-cuttlefish/

Pick this patch to fix it: https://git.kernel.org/next/linux-next/c/5934637641c863cc2c1765a0d01c5b6f53ecc4fc

Can you point me to your kernel source?