[Toybox] Fun with the android NDK.

enh enh at google.com
Sat Oct 6 16:07:20 PDT 2018


On Sat, Oct 6, 2018 at 10:27 AM Rob Landley <rob at landley.net> wrote:
>
> On 10/05/2018 06:50 PM, enh wrote:
> >> The 4.18 kernel will not build with this toolchain, by the way.
> >>
> >> $ make allnoconfig KCONFIG_ALLCONFIG=x86_64.miniconf
> >> CROSS_COMPILE=~/android/x86_64/bin/llvm-
> >> arch/x86/Makefile:184: *** Compiler lacks asm-goto support..  Stop.
> >
> > yeah, a sister team has someone working on that. (we build Pixel
> > kernels with clang already.)
>
> Sigh. I kept gcc 4.2.1 and binutils 2.17 building multiple architectures for 10
> years after they shipped, and maintained my own tinycc fork for 3 years trying
> to extend that to build the kernel.
>
> Sitting on my hands on this one, just a bit antsy. :)
>
> (There isn't a public github archive I can build the NDK from, is there?)

https://android.googlesource.com/platform/ndk/+/master/README.md#Building-the-NDK

but i think what you really want here is a new clang with the asm-goto
stuff? that work's still happening in llvm upstream.

we no longer have forked compilers in the NDK: they're the exact same
platform ones.

> Rob



More information about the Toybox mailing list