[LTP] [PATCH 0/3] Build android fixes

Steve Muckle smuckle@google.com
Tue Feb 5 01:00:43 CET 2019

On 02/02/2019 09:22 AM, Petr Vorel wrote:
> Hi Steve,
>> How did you come across these issues? We have yet to see them. Did you merge
>> tip of LTP into an Android AOSP tree and build it that way?
> Any sane person who wants to tests Android kernel uses LTP build inside of AOSP
> to get all your custom (not yet upstreamed) fixes, skip non relevant test etc.
> But I don't want to store whole AOSP on my disc, so I tried to cross compile
> upstream LTP with android standalone toolchain (with make ANDROID=1).
> Looking now, you're using lib/tst_safe_sysv_ipc.c in gen.bp and that was missing
> in our Makefile.
> I thought you might not build tests needing includes, but you do. Do you pass
> some flag to compiler?
> Compiler used:
> $ ~/usr/android-standalone-toolchain.api-27/bin/arm-linux-androideabi-gcc --version
> Android (5058415 based on r339409) clang version 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec746213857d083c0e8b0abb568790) (https://android.googlesource.com/toolchain/llvm 7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn)
> Target: armv7a-unknown-linux-android27
> Thread model: posix
> InstalledDir: ~/usr/android-standalone-toolchain.api-27/bin

Thanks. Yes include directories are specified both in gen.bp and also in 
Android.bp at the top level of our LTP repo.


More information about the ltp mailing list