Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust can not make binary for android #10686

Closed
ksh8281 opened this issue Nov 27, 2013 · 2 comments · Fixed by #10687
Closed

rust can not make binary for android #10686

ksh8281 opened this issue Nov 27, 2013 · 2 comments · Fixed by #10687
Labels
O-android Operating system: Android

Comments

@ksh8281
Copy link
Contributor

ksh8281 commented Nov 27, 2013

today, i fetched recent source (18687a9)
when i complie every source for android device,
compile failed with this message

error: undefined reference to '__tls_get_addr'

i used android-ndk-r9b(android-18)

@alexcrichton
Copy link
Member

This is very likely related to #10312.

Is there a reason that android wouldn't have TLS storage?

@yichoi
Copy link
Contributor

yichoi commented Nov 27, 2013

Alas, breakage again on Android

generally TLS is not supported on Android, so I had disabled TLS for jemalloc before

http://arowboat.wordpress.com/2011/08/10/android-linux-arm-and-tls-register-emulation/

bors added a commit that referenced this issue Nov 28, 2013
Turns out android doesn't support LLVM's thread_local attribute and accompanying
implementation.

Closes #10686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-android Operating system: Android
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants