{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/23068","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/23068/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/23068/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/23068/events","html_url":"https://github.com/tensorflow/tensorflow/issues/23068","id":371440452,"node_id":"MDU6SXNzdWUzNzE0NDA0NTI=","number":23068,"title":"TFLite benchmark_model cannot be compiled successfully","user":{"login":"leo-nullptr","id":2814394,"node_id":"MDQ6VXNlcjI4MTQzOTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2814394?v=4","gravatar_id":"","url":"https://api.github.com/users/leo-nullptr","html_url":"https://github.com/leo-nullptr","followers_url":"https://api.github.com/users/leo-nullptr/followers","following_url":"https://api.github.com/users/leo-nullptr/following{/other_user}","gists_url":"https://api.github.com/users/leo-nullptr/gists{/gist_id}","starred_url":"https://api.github.com/users/leo-nullptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo-nullptr/subscriptions","organizations_url":"https://api.github.com/users/leo-nullptr/orgs","repos_url":"https://api.github.com/users/leo-nullptr/repos","events_url":"https://api.github.com/users/leo-nullptr/events{/privacy}","received_events_url":"https://api.github.com/users/leo-nullptr/received_events","type":"User","site_admin":false},"labels":[{"id":750616506,"node_id":"MDU6TGFiZWw3NTA2MTY1MDY=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite","name":"comp:lite","color":"e99695","default":false},{"id":386191887,"node_id":"MDU6TGFiZWwzODYxOTE4ODc=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response","name":"stat:awaiting response","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"shashishekhar","id":1162712,"node_id":"MDQ6VXNlcjExNjI3MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1162712?v=4","gravatar_id":"","url":"https://api.github.com/users/shashishekhar","html_url":"https://github.com/shashishekhar","followers_url":"https://api.github.com/users/shashishekhar/followers","following_url":"https://api.github.com/users/shashishekhar/following{/other_user}","gists_url":"https://api.github.com/users/shashishekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/shashishekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashishekhar/subscriptions","organizations_url":"https://api.github.com/users/shashishekhar/orgs","repos_url":"https://api.github.com/users/shashishekhar/repos","events_url":"https://api.github.com/users/shashishekhar/events{/privacy}","received_events_url":"https://api.github.com/users/shashishekhar/received_events","type":"User","site_admin":false},"assignees":[{"login":"shashishekhar","id":1162712,"node_id":"MDQ6VXNlcjExNjI3MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1162712?v=4","gravatar_id":"","url":"https://api.github.com/users/shashishekhar","html_url":"https://github.com/shashishekhar","followers_url":"https://api.github.com/users/shashishekhar/followers","following_url":"https://api.github.com/users/shashishekhar/following{/other_user}","gists_url":"https://api.github.com/users/shashishekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/shashishekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashishekhar/subscriptions","organizations_url":"https://api.github.com/users/shashishekhar/orgs","repos_url":"https://api.github.com/users/shashishekhar/repos","events_url":"https://api.github.com/users/shashishekhar/events{/privacy}","received_events_url":"https://api.github.com/users/shashishekhar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-10-18T09:30:32Z","updated_at":"2018-10-19T01:12:51Z","closed_at":null,"author_association":"NONE","body":"**System information**\r\n- OS Platform and Distribution: Linux Ubuntu 16.04\r\n- TensorFlow installed from: source\r\n- TensorFlow version: 1.11.0\r\n- Python version: 3.6.6\r\n- Bazel version: 0.18.0\r\n- GCC/Compiler version: Android Clang NDK 18\r\n\r\n**Describe the problem**\r\n\r\nWhen use command in README for benchmark, the compiling failed.\r\n\r\nbazel build -c opt \\\r\n  --config=android_arm \\\r\n  --cxxopt='--std=c++11' \\\r\n  tensorflow/contrib/lite/tools/benchmark:benchmark_model\r\n\r\n**Any other info / logs**\r\n\r\nERROR: /data/tensorflow/contrib/lite/tools/benchmark/BUILD:19:1: Linking of rule '//tensorflow/contrib/lite/tools/benchmark:benchmark_model' failed (Exit 1)\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__locale:51: error: undefined reference to 'uselocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__locale:56: error: undefined reference to 'uselocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__locale:56: error: undefined reference to 'uselocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/src/locale.cpp:76: error: undefined reference to 'newlocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__locale:51: error: undefined reference to 'uselocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/src/locale.cpp:5439: error: undefined reference to 'freelocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__bsd_locale_fallbacks.h:53: error: undefined reference to 'wcsnrtombs'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__bsd_locale_fallbacks.h:68: error: undefined reference to 'mbsnrtowcs'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/__bsd_locale_fallbacks.h:83: error: undefined reference to 'mbtowc'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/src/locale.cpp:1531: error: undefined reference to 'freelocale'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:739: error: undefined reference to 'strtoll_l'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:739: error: undefined reference to 'strtoll_l'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:779: error: undefined reference to 'strtoull_l'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:779: error: undefined reference to 'strtoull_l'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:779: error: undefined reference to 'strtoull_l'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:779: error: undefined reference to 'strtoull_l'\r\n/usr/local/google/buildbot/src/android/ndk-release-r18/external/libcxx/include/locale:820: error: undefined reference to 'strtold_l'\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/431213116","html_url":"https://github.com/tensorflow/tensorflow/issues/23068#issuecomment-431213116","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/23068","id":431213116,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTIxMzExNg==","user":{"login":"shashishekhar","id":1162712,"node_id":"MDQ6VXNlcjExNjI3MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1162712?v=4","gravatar_id":"","url":"https://api.github.com/users/shashishekhar","html_url":"https://github.com/shashishekhar","followers_url":"https://api.github.com/users/shashishekhar/followers","following_url":"https://api.github.com/users/shashishekhar/following{/other_user}","gists_url":"https://api.github.com/users/shashishekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/shashishekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashishekhar/subscriptions","organizations_url":"https://api.github.com/users/shashishekhar/orgs","repos_url":"https://api.github.com/users/shashishekhar/repos","events_url":"https://api.github.com/users/shashishekhar/events{/privacy}","received_events_url":"https://api.github.com/users/shashishekhar/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T01:12:51Z","updated_at":"2018-10-19T01:12:51Z","author_association":"CONTRIBUTOR","body":"@leo-nullptr : Does this [workaround](https://github.com/tensorflow/tensorflow/issues/20192#issuecomment-404971539) work for you?"}}
{"actor":{"display_login":"shashishekhar"}}