{"action":"opened","issue":{"url":"https://api.github.com/repos/hunter-packages/boost/issues/3","repository_url":"https://api.github.com/repos/hunter-packages/boost","labels_url":"https://api.github.com/repos/hunter-packages/boost/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hunter-packages/boost/issues/3/comments","events_url":"https://api.github.com/repos/hunter-packages/boost/issues/3/events","html_url":"https://github.com/hunter-packages/boost/issues/3","id":336715600,"node_id":"MDU6SXNzdWUzMzY3MTU2MDA=","number":3,"title":"Failed to build x86_64 arch","user":{"login":"olliwang","id":76374,"node_id":"MDQ6VXNlcjc2Mzc0","avatar_url":"https://avatars1.githubusercontent.com/u/76374?v=4","gravatar_id":"","url":"https://api.github.com/users/olliwang","html_url":"https://github.com/olliwang","followers_url":"https://api.github.com/users/olliwang/followers","following_url":"https://api.github.com/users/olliwang/following{/other_user}","gists_url":"https://api.github.com/users/olliwang/gists{/gist_id}","starred_url":"https://api.github.com/users/olliwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olliwang/subscriptions","organizations_url":"https://api.github.com/users/olliwang/orgs","repos_url":"https://api.github.com/users/olliwang/repos","events_url":"https://api.github.com/users/olliwang/events{/privacy}","received_events_url":"https://api.github.com/users/olliwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T17:39:59Z","updated_at":"2018-06-28T17:39:59Z","closed_at":null,"author_association":"NONE","body":"Hi, I was trying to build `boost_filesystem` and `boost_system` for my Android app. By default, Android Studio builds all of `armeabi-v7a`, `arm64-v8a`, `x86` and `x86_64` ABIs as described in https://developer.android.com/ndk/guides/abis.\r\n\r\nHowever, when building for `x86_64` it always failed with the following (related) error messages.\r\n\r\n    /Users/username/Library/Android/sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/lib/libboost_filesystem-mt.a(unique_path.o): incompatible target\r\n    /Users/username/Library/Android/sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/lib/libboost_system-mt.a(error_code.o): incompatible target\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:451: error: undefined reference to 'boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:572: error: undefined reference to 'boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/path.hpp:792: error: undefined reference to 'boost::filesystem::path::operator/=(boost::filesystem::path const&)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:451: error: undefined reference to 'boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:572: error: undefined reference to 'boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:451: error: undefined reference to 'boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:572: error: undefined reference to 'boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:451: error: undefined reference to 'boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:572: error: undefined reference to 'boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:671: error: undefined reference to 'boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:664: error: undefined reference to 'boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:671: error: undefined reference to 'boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:723: error: undefined reference to 'boost::filesystem::detail::unique_path(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/system/error_code.hpp:449: error: undefined reference to 'boost::system::system_category()'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:681: error: undefined reference to 'boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:664: error: undefined reference to 'boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:671: error: undefined reference to 'boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:671: error: undefined reference to 'boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:637: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/system/error_code.hpp:449: error: undefined reference to 'boost::system::system_category()'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:550: error: undefined reference to 'boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:637: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:644: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:664: error: undefined reference to 'boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:644: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:644: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:644: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:664: error: undefined reference to 'boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:637: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:637: error: undefined reference to 'boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/core/sync.cc:499: error: undefined reference to 'boost::filesystem::path::filename() const'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:939: error: undefined reference to 'boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:903: error: undefined reference to 'boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:868: error: undefined reference to 'boost::filesystem::detail::dir_itr_close(void*&, void*&)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:868: error: undefined reference to 'boost::filesystem::detail::dir_itr_close(void*&, void*&)'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/widgets/import/storage_import_card.cc:535: error: undefined reference to 'boost::filesystem::path::extension() const'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/widgets/import/storage_import_card.cc:1016: error: undefined reference to 'boost::filesystem::path::parent_path() const'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/widgets/import/storage_import_card.cc:1042: error: undefined reference to 'boost::filesystem::path::stem() const'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/widgets/import/storage_import_card.cc:1044: error: undefined reference to 'boost::filesystem::path::extension() const'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/widgets/import/storage_import_card.cc:1063: error: undefined reference to 'boost::filesystem::path::extension() const'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/core/font.cc:204: error: undefined reference to 'boost::filesystem::path::stem() const'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/core/font.cc:147: error: undefined reference to 'boost::filesystem::path::stem() const'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/system/error_code.hpp:449: error: undefined reference to 'boost::system::system_category()'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:550: error: undefined reference to 'boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/system/error_code.hpp:449: error: undefined reference to 'boost::system::system_category()'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:681: error: undefined reference to 'boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/storages/local_storage.cc:149: error: undefined reference to 'boost::filesystem::path::filename() const'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:614: error: undefined reference to 'boost::filesystem::detail::file_size(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:939: error: undefined reference to 'boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'\r\n    /Users/username/workspace/fogofworld2/app/fogofworld/storages/local_storage.cc:135: error: undefined reference to 'boost::filesystem::path::filename() const'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:614: error: undefined reference to 'boost::filesystem::detail::file_size(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:550: error: undefined reference to 'boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:596: error: undefined reference to 'boost::filesystem::detail::current_path(boost::system::error_code*)'\r\n    /Users/username/workspace/fogofworld2/fogofworld/model/model.cc:203: error: undefined reference to 'boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:939: error: undefined reference to 'boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'\r\n    /Users/username/workspace/fogofworld2/fogofworld/model/model.cc:738: error: undefined reference to 'boost::filesystem::path::filename() const'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:723: error: undefined reference to 'boost::filesystem::detail::unique_path(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:723: error: undefined reference to 'boost::filesystem::detail::unique_path(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:939: error: undefined reference to 'boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:681: error: undefined reference to 'boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:681: error: undefined reference to 'boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:550: error: undefined reference to 'boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:723: error: undefined reference to 'boost::filesystem::detail::unique_path(boost::filesystem::path const&, boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:716: error: undefined reference to 'boost::filesystem::detail::temp_directory_path(boost::system::error_code*)'\r\n    /Users/username/.hunter/_Base/18cdbf5/7073908/6481172/Install/include/boost/filesystem/operations.hpp:716: error: undefined reference to 'boost::filesystem::detail::temp_directory_path(boost::system::error_code*)'\r\n    clang++: error: linker command failed with exit code 1 (use -v to see invocation)\r\n    ninja: build stopped: subcommand failed.\r\n\r\nTo make sure this issue only happens for `x86_64`. I also set `[abiFilters](https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.NdkOptions.html)` to the other three: 'armeabi-v7a', 'arm64-v8a', 'x86'. And it passed the building process successfully without any error. "}}
{"actor":{"display_login":"olliwang"}}