{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/776","repository_url":"https://api.github.com/repos/arvidn/libtorrent","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/776/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/776/events","html_url":"https://github.com/arvidn/libtorrent/issues/776","id":158163746,"number":776,"title":"Build fails on aarch64-linux-android","user":{"login":"gen2brain","id":17418,"avatar_url":"https://avatars.githubusercontent.com/u/17418?v=3","gravatar_id":"","url":"https://api.github.com/users/gen2brain","html_url":"https://github.com/gen2brain","followers_url":"https://api.github.com/users/gen2brain/followers","following_url":"https://api.github.com/users/gen2brain/following{/other_user}","gists_url":"https://api.github.com/users/gen2brain/gists{/gist_id}","starred_url":"https://api.github.com/users/gen2brain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gen2brain/subscriptions","organizations_url":"https://api.github.com/users/gen2brain/orgs","repos_url":"https://api.github.com/users/gen2brain/repos","events_url":"https://api.github.com/users/gen2brain/events{/privacy}","received_events_url":"https://api.github.com/users/gen2brain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-02T15:04:01Z","updated_at":"2016-06-02T15:10:24Z","closed_at":null,"body":"**Please provide the following information**\r\n\r\nlibtorrent version (or branch):\r\n1.1.0\r\n\r\nplatform/architecture:\r\nandroid/arm64 (aarch64)\r\n\r\ncompiler and compiler version:\r\naarch64-linux-android-g++ (GCC) 4.9 20150123 (prerelease)\r\n\r\nplease describe what symptom you see, what you would expect to see instead and\r\nhow to reproduce it.\r\n\r\n    ./configure --host=aarch64-linux-android --prefix=/opt/android-toolchain-arm64 --with-openssl=/opt/android-toolchain-arm64 --with-boost=/opt/android-toolchain-arm64 --with-boost-libdir=/opt/android-toolchain-arm64/lib --enable-static --disable-shared --disable-pool-allocators --disable-deprecated-functions && make V=1 && make install\r\n\r\nThis is a build error:\r\n\r\n    file.cpp: In member function 'int64_t libtorrent::file::readv(int64_t, const iovec_t*, int, boost::system::error_code&, int)':\r\n    file.cpp:1827:18: error: '::preadv' has not been declared\r\n       int ret = iov(&::preadv, native_handle(), file_offset, bufs, num_bufs, ec);\r\n                      ^\r\n    file.cpp: In member function 'int64_t libtorrent::file::writev(int64_t, const iovec_t*, int, boost::system::error_code&, int)':\r\n    file.cpp:1885:18: error: '::pwritev' has not been declared\r\n       int ret = iov(&::pwritev, native_handle(), file_offset, bufs, num_bufs, ec);\r\n                      ^\r\n    Makefile:970: recipe for target 'file.lo' failed\r\n\r\nThis same config works for arm-linux-androideabi . I tried to include sys/syscall.h manually, but same thing. TORRENT_ANDROID is defined."},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/223322022","html_url":"https://github.com/arvidn/libtorrent/issues/776#issuecomment-223322022","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/776","id":223322022,"user":{"login":"aldenml","id":143813,"avatar_url":"https://avatars.githubusercontent.com/u/143813?v=3","gravatar_id":"","url":"https://api.github.com/users/aldenml","html_url":"https://github.com/aldenml","followers_url":"https://api.github.com/users/aldenml/followers","following_url":"https://api.github.com/users/aldenml/following{/other_user}","gists_url":"https://api.github.com/users/aldenml/gists{/gist_id}","starred_url":"https://api.github.com/users/aldenml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldenml/subscriptions","organizations_url":"https://api.github.com/users/aldenml/orgs","repos_url":"https://api.github.com/users/aldenml/repos","events_url":"https://api.github.com/users/aldenml/events{/privacy}","received_events_url":"https://api.github.com/users/aldenml/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T15:10:24Z","updated_at":"2016-06-02T15:10:24Z","body":"Are you using a package from the website? It's supposed to be fixed in the branch RC_1_1 (https://github.com/arvidn/libtorrent/commit/f23cf8466473de271f73541ac8e46e7e6ed77d39)"}}
{"actor":{"display_login":"aldenml"}}