{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8421","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8421/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8421/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8421/events","html_url":"https://github.com/tensorflow/tensorflow/issues/8421","id":214292001,"number":8421,"title":"Bazel build failed in compiling TensorFlow from source. ","user":{"login":"annanay25","id":10982987,"avatar_url":"https://avatars1.githubusercontent.com/u/10982987?v=3","gravatar_id":"","url":"https://api.github.com/users/annanay25","html_url":"https://github.com/annanay25","followers_url":"https://api.github.com/users/annanay25/followers","following_url":"https://api.github.com/users/annanay25/following{/other_user}","gists_url":"https://api.github.com/users/annanay25/gists{/gist_id}","starred_url":"https://api.github.com/users/annanay25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annanay25/subscriptions","organizations_url":"https://api.github.com/users/annanay25/orgs","repos_url":"https://api.github.com/users/annanay25/repos","events_url":"https://api.github.com/users/annanay25/events{/privacy}","received_events_url":"https://api.github.com/users/annanay25/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-15T06:05:12Z","updated_at":"2017-03-16T21:21:06Z","closed_at":null,"body":"I am compiling TensorFlow from source on an Ubuntu machine. This is a verbose output of the error log generated in the ```bazel build //tensorflow/tools/pip_package:build_pip_package``` execution.\r\n\r\nError Log:\r\n\r\n    ERROR: /home/annanay/.cache/bazel/_bazel_root/9b62c7240de3d9136528cdded945b550/external/llvm/BUILD:418:5: Generating code from table: lib/Target/AArch64/AArch64.td @llvm//:aarch64_target_gen__gen_fast_isel_genrule failed: bash failed: \r\n    error executing command \r\n    (cd /home/annanay/.cache/bazel/_bazel_root/9b62c7240de3d9136528cdded945b550/execroot/tensorflow && \\\r\n    exec env - \\\r\n    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \\\r\n    /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/external/llvm/llvm-tblgen -I external/llvm/include -I external/llvm/tools/clang/include -I $(dirname external/llvm/lib/Target/AArch64/AArch64.td) -gen-fast-isel external/llvm/lib/Target/AArch64/AArch64.td -o bazel-out/local-opt/genfiles/external/llvm/lib/Target/AArch64/AArch64GenFastISel.inc'): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 127.\r\n    bazel-out/host/bin/external/llvm/llvm-tblgen: relocation error: bazel-out/host/bin/external/llvm/llvm-tblgen: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference\r\n    Target //tensorflow/tools/pip_package:build_pip_package failed to build\r\n\r\n\r\n\r\n\r\nI built TensorFlow from source, and here is the relevant information:\r\n```\r\n$ git rev-parse HEAD\r\n4c3bb1aeb7bb46bea35036433742a720f39ce348\r\n\r\n$ bazel version\r\nBuild label: 0.4.4\r\nBuild target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar\r\nBuild time: Wed Feb 1 18:54:21 2017 (1485975261)\r\nBuild timestamp: 1485975261\r\nBuild timestamp as int: 1485975261\r\n\r\n```\r\nSystem:\r\n```\r\nx86_64 GNU/Linux\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/287194688","html_url":"https://github.com/tensorflow/tensorflow/issues/8421#issuecomment-287194688","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8421","id":287194688,"user":{"login":"gunan","id":7946809,"avatar_url":"https://avatars0.githubusercontent.com/u/7946809?v=3","gravatar_id":"","url":"https://api.github.com/users/gunan","html_url":"https://github.com/gunan","followers_url":"https://api.github.com/users/gunan/followers","following_url":"https://api.github.com/users/gunan/following{/other_user}","gists_url":"https://api.github.com/users/gunan/gists{/gist_id}","starred_url":"https://api.github.com/users/gunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunan/subscriptions","organizations_url":"https://api.github.com/users/gunan/orgs","repos_url":"https://api.github.com/users/gunan/repos","events_url":"https://api.github.com/users/gunan/events{/privacy}","received_events_url":"https://api.github.com/users/gunan/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T21:21:06Z","updated_at":"2017-03-16T21:21:06Z","body":"We have instructions in the website for building from source, as @truatpasteurdotfr indicated:\r\nhttps://www.tensorflow.org/install/install_sources\r\n\r\nPlease go to this website and follow the instructions there."}}
{"actor":{"display_login":"gunan"}}