[Toybox] [PATCH] libcutils isn't in the NDK.

Rob Landley rob at landley.net
Wed Oct 17 14:05:06 PDT 2018


On 10/10/2018 11:43 AM, enh wrote:
>> Then it works with glibc and musl, but _not_ with the android NDKr18:
> 
> yeah, hard to know what to do with something non-standard like that,
> but if we're in a world where some have one and others have the other,
> we usually end up having both.

Indeed.

It would be nice if there was a proper reference spec with test suite. I'm
trying to establish a "minimal base system", but I can only swap out _some_ of
the components (currently not including the kernel, and thus the kernel headers
in the toolchains).

> conveniently musl and glibc make _SC_UIO_MAXIOV the same as the
> existing _SC_IOV_MAX so i'll do the same and it'll even be backwards
> compatible for old OS releases.
> 
> added by https://android-review.googlesource.com/c/platform/bionic/+/783682
> and will be in r19.

Cool.

I was trying to cut the long-delayed release this past weekend (and now plan to
do it this _coming_ weekend), and r18's all I've got, so I'll probably just
#ifdef the symbol musl's missing with a TODO to remove it when r19 comes out.

Rob


More information about the Toybox mailing list