TLS error while running andriod9 on ARM64 docker container

82 views
Skip to first unread message

Naresh Bhat

unread,
Feb 18, 2020, 10:15:58 AM2/18/20
to Android Building
Hi All,

I am trying to build the AOSP9 for ARM64 server platforms by cross compiling on x86 machine.  But while running the docker image I am facing the issues,  

$ repo sync -cq
$ source build/envsetup.sh
$ lunch aosp_arm64-userdebug
$ make -j4 


Error log: 

I am trying to run on ARM64 server as below and facing the error,

$ docker run --rm -it myandroid9:09  sh
libc: pthread_create failed: couldn't mprotect TLS: Invalid argument
failed to initialize TLS: Invalid argument
libc: failed to initialize TLS: Invalid argument 

Can someone give me any pointers/hint about the error message ?

Regards
-Naresh Bhat
Reply all
Reply to author
Forward
0 new messages