{"action":"created","issue":{"url":"https://api.github.com/repos/android-ndk/ndk/issues/869","repository_url":"https://api.github.com/repos/android-ndk/ndk","labels_url":"https://api.github.com/repos/android-ndk/ndk/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/android-ndk/ndk/issues/869/comments","events_url":"https://api.github.com/repos/android-ndk/ndk/issues/869/events","html_url":"https://github.com/android-ndk/ndk/issues/869","id":388644896,"node_id":"MDU6SXNzdWUzODg2NDQ4OTY=","number":869,"title":"NDK r19 beta 1 & 2: undefined reference to `operator new(unsigned long, std::align_val_t)'","user":{"login":"andreya108","id":5842908,"node_id":"MDQ6VXNlcjU4NDI5MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5842908?v=4","gravatar_id":"","url":"https://api.github.com/users/andreya108","html_url":"https://github.com/andreya108","followers_url":"https://api.github.com/users/andreya108/followers","following_url":"https://api.github.com/users/andreya108/following{/other_user}","gists_url":"https://api.github.com/users/andreya108/gists{/gist_id}","starred_url":"https://api.github.com/users/andreya108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreya108/subscriptions","organizations_url":"https://api.github.com/users/andreya108/orgs","repos_url":"https://api.github.com/users/andreya108/repos","events_url":"https://api.github.com/users/andreya108/events{/privacy}","received_events_url":"https://api.github.com/users/andreya108/received_events","type":"User","site_admin":false},"labels":[{"id":406441486,"node_id":"MDU6TGFiZWw0MDY0NDE0ODY=","url":"https://api.github.com/repos/android-ndk/ndk/labels/needs-info","name":"needs-info","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-07T12:58:22Z","updated_at":"2018-12-08T11:58:59Z","closed_at":null,"author_association":"NONE","body":"#### Description\r\n\r\nI cannot link our project with ndk r19 with the following errors (alot):\r\n\r\n```\r\n/home/andrey/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/new:250: undefined reference to `operator new(unsigned long, std::align_val_t)'\r\n/home/andrey/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/new:250: undefined reference to `operator new(unsigned long, std::align_val_t)'\r\n/home/andrey/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/new:250: undefined reference to `operator new(unsigned long, std::align_val_t)'\r\n```\r\nWe're using c++17. Everything was fine with previous versions of ndk,\r\nplease help to figure out what is wrong.\r\n\r\nI've looked inside libc++_shared.so and it indeed does not have aligned versions of new.\r\n\r\n#### Environment Details\r\n\r\n* NDK Version: r19 beta1, beta2\r\n* Build system: cmake, standalone toolchain\r\n* Host OS: Ubuntu 18.04.1 x86_64\r\n* Compiler: clang\r\n* ABI: arm64-v8a\r\n* STL: libc++\r\n* NDK API level: 21\r\n"},"comment":{"url":"https://api.github.com/repos/android-ndk/ndk/issues/comments/445453942","html_url":"https://github.com/android-ndk/ndk/issues/869#issuecomment-445453942","issue_url":"https://api.github.com/repos/android-ndk/ndk/issues/869","id":445453942,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQ1Mzk0Mg==","user":{"login":"andreya108","id":5842908,"node_id":"MDQ6VXNlcjU4NDI5MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5842908?v=4","gravatar_id":"","url":"https://api.github.com/users/andreya108","html_url":"https://github.com/andreya108","followers_url":"https://api.github.com/users/andreya108/followers","following_url":"https://api.github.com/users/andreya108/following{/other_user}","gists_url":"https://api.github.com/users/andreya108/gists{/gist_id}","starred_url":"https://api.github.com/users/andreya108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreya108/subscriptions","organizations_url":"https://api.github.com/users/andreya108/orgs","repos_url":"https://api.github.com/users/andreya108/repos","events_url":"https://api.github.com/users/andreya108/events{/privacy}","received_events_url":"https://api.github.com/users/andreya108/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T11:58:59Z","updated_at":"2018-12-08T11:58:59Z","author_association":"NONE","body":"Added the test case to github: https://github.com/andreya108/ndk-issue-869"}}
{"actor":{"display_login":"andreya108"}}