-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Android: lld: error: undefined symbol: __emutls_get_address #5921
Comments
Since Zig implements its own I feel like we should be linking against the NDK's runtime... but we still need to support |
@meme Yes, this should indeed be added to the compiler_rt of Zig. Basically the compiler_rt of Zig is ported from the LLVM implementation of the compiler_rt, but we have increased safety checks, because it is written in Zig. :) |
OK, a few problems after reading into this implementation:
This is going to be a pain to implement, and we're probably going to have to cut corners to do it. I think getting Android to be plug-and-play again when linking against |
Please how do we apply this fix? this undefined symbol still exists when trying to build for android |
I don't think this issue has been resolved yet. |
isn't possible to simply match on |
Yes, I think that would do it |
Seems that Android support has regressed, testing with Android NDK r20, the following missing symbol error occurs (presumably there are more):
Can reproduce as follows (995fd73):
aarch64-linux-android.txt
:Can't assign myself to an issue, but I'm taking a look at this currently. Question for the team though: how can we prevent regressions like this in the future?
The text was updated successfully, but these errors were encountered: