[RFC,27/47] lkl: Android ARM (arm/arm64) support
diff mbox series

Message ID 90e3c9dc2e9b24f2b94b634191e198b0340566b0.1571798507.git.thehajime@gmail.com
State New
Headers show
Series
  • [RFC,01/47] asm-generic: atomic64: allow using generic atomic64 on 64bit platforms
Related show

Commit Message

Hajime Tazaki Oct. 23, 2019, 4:38 a.m. UTC
Initial attempt to run an application with hijack library on Android
platform.  Tested mostly on Android 6.x and 7.x.

The build process assumes that the android ndk toolchain is installed in
a host system as circle.yml does in its test.  arm32 build uses
alternate linker, stored in tools/lkl/bin directory, in order to avoid
the link issue (issue #59).

The CircleCI test infrastructure requires to use ubuntu 14.04 for this
test.

* Limitations
- aarch64 isn't tested on circleci due to difficulties on aarch64
emulator.
- bionic libc on android-24 emulator (arm32) doesn't call destructor, so
some of tests in hijack-test.sh fail.
- net.sh doesn't properly test network related issue.

Fixes #59.

Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
---
 tools/lkl/bin/arm-linux-androideabi-ld | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 tools/lkl/bin/arm-linux-androideabi-ld

Patch
diff mbox series

diff --git a/tools/lkl/bin/arm-linux-androideabi-ld b/tools/lkl/bin/arm-linux-androideabi-ld
new file mode 120000
index 000000000000..4194d24c4b5c
--- /dev/null
+++ b/tools/lkl/bin/arm-linux-androideabi-ld
@@ -0,0 +1 @@ 
+arm-linux-androideabi-ld.gold
\ No newline at end of file