{"action":"opened","issue":{"url":"https://api.github.com/repos/android-ndk/ndk/issues/39","repository_url":"https://api.github.com/repos/android-ndk/ndk","labels_url":"https://api.github.com/repos/android-ndk/ndk/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/android-ndk/ndk/issues/39/comments","events_url":"https://api.github.com/repos/android-ndk/ndk/issues/39/events","html_url":"https://github.com/android-ndk/ndk/issues/39","id":142748599,"number":39,"title":"libc++_shared (both hard float abi variants) fail to load properly","user":{"login":"thalosii","id":18014374,"avatar_url":"https://avatars.githubusercontent.com/u/18014374?v=3","gravatar_id":"","url":"https://api.github.com/users/thalosii","html_url":"https://github.com/thalosii","followers_url":"https://api.github.com/users/thalosii/followers","following_url":"https://api.github.com/users/thalosii/following{/other_user}","gists_url":"https://api.github.com/users/thalosii/gists{/gist_id}","starred_url":"https://api.github.com/users/thalosii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thalosii/subscriptions","organizations_url":"https://api.github.com/users/thalosii/orgs","repos_url":"https://api.github.com/users/thalosii/repos","events_url":"https://api.github.com/users/thalosii/events{/privacy}","received_events_url":"https://api.github.com/users/thalosii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-22T19:08:37Z","updated_at":"2016-03-22T19:08:37Z","closed_at":null,"body":"I've checked both the r11 and r10d releases of the libc++ library, and i'm pretty sure both suffer from the same issue.\r\n\r\nEssentially they fail to resolve the symbol __aeabi_d2lz (note: this is only true for hard float abi variants - including the thumb hard float variants).\r\n\r\nI've been able to work around it on some versions of android by providing a little shim library that pulls in this define from libgcc.a before attempting to load libc++shared but unfortunately this little trick doesnt seem to work on older variants of android. I'm guessing my only option might be to try and recompile the libc++ library. Anyways, just wanted to bring this up as an issue. \r\n\r\nthis a super simple repro... just call LoadLibrary(\"c++_shared\")... and you should see the issues..."}}