You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
I developed bindings to c++ library, which widely uses global variables, which requires runtime initialization/finalization.
The library builds using clang++ from android NDK.
I have many linking errors like an error: undefined reference to '__dso_handle' when I build application.
I'm sure that this is common problem, but I still cannot find appropriate workaround, which can help solve this.
I guess that linker itself should use appropriate crt*.o module to deal around it but I don't know details why this is not so.
The text was updated successfully, but these errors were encountered:
Currently I know only one way to avoid this issue: dynamic linking between C++ object and rust app. But in this case I cannot simply publish it on a crates.io
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I developed bindings to c++ library, which widely uses global variables, which requires runtime initialization/finalization.
The library builds using clang++ from android NDK.
I have many linking errors like an
error: undefined reference to '__dso_handle'
when I build application.I'm sure that this is common problem, but I still cannot find appropriate workaround, which can help solve this.
I guess that linker itself should use appropriate crt*.o module to deal around it but I don't know details why this is not so.
The text was updated successfully, but these errors were encountered: