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
I can't seem to get the debugging macros in AndroidNdkGdb working anymore. For one, it uses LIBRARY_OUTPUT_PATH, but that isn't being defined by the toolchain anymore (or I couldn't figure out how).
Also, when hardcoding the LIBRARY_OUTPUT_PATH, I ran into linking issues for executable targets depend on libraries that I have added with android_ndk_gdb_debuggable(libFoo). The linking stage fails due to missing symbols. It's almost like the stripping phase in AndroidNdkGdb has stripped the symbols out.
The text was updated successfully, but these errors were encountered:
The problem seems to be that AndroidNdkGdb copies the original lib to obj/local, and then strips the symbols in the lib in libs/local. When making a change to a source file that is unrelated to the lib, the linking phase obviously fails because it's trying to link to a stripped version in libs/local.
Instead, the LIBRARY_OUTPUT_PATH should be set to obj/local (like ndk-build does) and then the install phase should copy / strip libs/local.
I can't seem to get the debugging macros in AndroidNdkGdb working anymore. For one, it uses
LIBRARY_OUTPUT_PATH
, but that isn't being defined by the toolchain anymore (or I couldn't figure out how).Also, when hardcoding the
LIBRARY_OUTPUT_PATH
, I ran into linking issues for executable targets depend on libraries that I have added withandroid_ndk_gdb_debuggable(libFoo)
. The linking stage fails due to missing symbols. It's almost like the stripping phase in AndroidNdkGdb has stripped the symbols out.The text was updated successfully, but these errors were encountered: