c++ - Android native executable linker segfault -
i'm cross-compiling large open-source library android. i've set build tools use android cross-compilers, linker, archivers etc. project builds no errors , creates executable. i've set appropriate sysroot , linked necessary android versions of libraries (gnustl, supc++, , gcc).
when attempt run program on emulator, segmentation fault. after hooking gdb server , accessing remotely, error sigsegv:
classify_object_over_fdes (ob=0x8929da8, this_fde=0x108b1b8b) @ /users/andrewhsieh/ndk-andrewhsieh/src.1-with-cherrypicks//build/../gcc/gcc-4.4.3/libgcc/../gcc/unwind-dw2-fde.h:175 175 /users/andrewhsieh/ndk-andrewhsieh/src.1-with-cherrypicks//build/../gcc/gcc-4.4.3/libgcc/../gcc/unwind-dw2-fde.h: no such file or directory. in /users/andrewhsieh/ndk-andrewhsieh/src.1-with-cherrypicks//build/../gcc/gcc-4.4.3/libgcc/../gcc/unwind-dw2-fde.h
no clue andrew hsieh i'm assuming hes guy build ndk. if grep in android-ndk root directory "unwind-dw2-fde.h" found in libgnustl_shared.so , libgcc.a, both of linked. ideas?
Comments
Post a Comment