{"action":"created","issue":{"url":"https://api.github.com/repos/android-ndk/ndk/issues/604","repository_url":"https://api.github.com/repos/android-ndk/ndk","labels_url":"https://api.github.com/repos/android-ndk/ndk/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/android-ndk/ndk/issues/604/comments","events_url":"https://api.github.com/repos/android-ndk/ndk/issues/604/events","html_url":"https://github.com/android-ndk/ndk/issues/604","id":283630355,"number":604,"title":"NDK R16b - i686-linux-android Link error: unsupported reloc 43 against global symbol","user":{"login":"mciarcia-nav","id":7962953,"avatar_url":"https://avatars1.githubusercontent.com/u/7962953?v=4","gravatar_id":"","url":"https://api.github.com/users/mciarcia-nav","html_url":"https://github.com/mciarcia-nav","followers_url":"https://api.github.com/users/mciarcia-nav/followers","following_url":"https://api.github.com/users/mciarcia-nav/following{/other_user}","gists_url":"https://api.github.com/users/mciarcia-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/mciarcia-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mciarcia-nav/subscriptions","organizations_url":"https://api.github.com/users/mciarcia-nav/orgs","repos_url":"https://api.github.com/users/mciarcia-nav/repos","events_url":"https://api.github.com/users/mciarcia-nav/events{/privacy}","received_events_url":"https://api.github.com/users/mciarcia-nav/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-20T16:58:29Z","updated_at":"2017-12-21T14:22:48Z","closed_at":"2017-12-21T14:22:48Z","author_association":"NONE","body":"--------------------------------------------------------------------------------\r\n\r\n#### Description\r\nLinking on Linux machine for android using ndk-r16b toolchain fails with error: unsupported reloc 43 against global symbol.\r\nSame code can be successfully built on Mac OS with same toolchain\r\nLog:\r\n/opt/android-ndk/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9/../../../../i686-linux-android/bin/ld: error: <path>/x86/libcrypto.a(pem_all.o): unsupported reloc 43 against global symbol i2d_DHparams\r\n/opt/android-ndk/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9/../../../../i686-linux-android/bin/ld: error: <path>/x86/libcrypto.a(pem_all.o): unsupported reloc 43 against global symbol i2d_DHxparams\r\n/opt/android-ndk/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9/../../../../i686-linux-android/bin/ld: error: <path>/x86/libcrypto.a(pem_all.o): unsupported reloc 43 against global symbol i2d_DHxparams\r\nwhere <path> is the path containing the libraries\r\n#### Environment Details\r\nLinux machine 64 bit\r\n\r\n* NDK Version: r16b\r\n* Build sytem: ndk-build\r\n* Host OS: Linux x86 64 bit\r\n* Compiler: GCC\r\n* ABI: x86\r\n* STL:\r\n* NDK API level:\r\n* Device API level:\r\n"},"comment":{"url":"https://api.github.com/repos/android-ndk/ndk/issues/comments/353362897","html_url":"https://github.com/android-ndk/ndk/issues/604#issuecomment-353362897","issue_url":"https://api.github.com/repos/android-ndk/ndk/issues/604","id":353362897,"user":{"login":"mciarcia-nav","id":7962953,"avatar_url":"https://avatars1.githubusercontent.com/u/7962953?v=4","gravatar_id":"","url":"https://api.github.com/users/mciarcia-nav","html_url":"https://github.com/mciarcia-nav","followers_url":"https://api.github.com/users/mciarcia-nav/followers","following_url":"https://api.github.com/users/mciarcia-nav/following{/other_user}","gists_url":"https://api.github.com/users/mciarcia-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/mciarcia-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mciarcia-nav/subscriptions","organizations_url":"https://api.github.com/users/mciarcia-nav/orgs","repos_url":"https://api.github.com/users/mciarcia-nav/repos","events_url":"https://api.github.com/users/mciarcia-nav/events{/privacy}","received_events_url":"https://api.github.com/users/mciarcia-nav/received_events","type":"User","site_admin":false},"created_at":"2017-12-21T14:22:48Z","updated_at":"2017-12-21T14:22:48Z","author_association":"NONE","body":"Issue was caused by linking with prebuilt library build with a previous version of the ndk toolchain"}}
{"actor":{"display_login":"mciarcia-nav"}}