Advertisement
whchung

TF 1.3.0 build error with HCC roc-1.7.x branch

Jan 17th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. ERROR: /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/external/protobuf/BUILD:263:1: Linking of rule '@protobuf//:js_embed' failed: crosstool_wrapper_driver_rocm failed: error executing command
  2. (cd /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/tensorflow && \
  3. exec env - \
  4. PATH=/opt/rocm/opencl/bin:/opt/rocm/bin:/opt/rocm/hcc/bin:/opt/rocm/hip/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
  5. external/local_config_rocm/crosstool/clang/bin/crosstool_wrapper_driver_rocm -o bazel-out/host/bin/external/protobuf/js_embed -Wl,-no-as-needed -B/opt/rocm/hcc/compiler/bin -no-canonical-prefixes -pass-exit-codes '-Wl,--build-id=md5' '-Wl,--hash-style=gnu' -Wl,-S -Wl,--gc-sections -Wl,@bazel-out/host/bin/external/protobuf/js_embed-2.params): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
  6. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_workitem_id>::x'
  7. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_group_size>::X::operator unsigned int() const'
  8. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_num_groups>::x'
  9. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_num_groups>::X::operator unsigned int() const'
  10. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_group_id>::x'
  11. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_workitem_id>::X::operator unsigned int() const'
  12. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_group_id>::X::operator unsigned int() const'
  13. /opt/rocm/lib/libhip_hcc.so: undefined reference to `Coordinates<&hc_get_group_size>::x'
  14. hcc: error: linker command failed with exit code 1 (use -v to see invocation)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement