-
Notifications
You must be signed in to change notification settings - Fork 92
I'm attempting a custom toolchain (arm64) #24
Comments
This was an issue that needed bazel 0.11. Have crunched through many errors latest stuck on is: even though I am sure cstring header is within an include path in the CROSSTOOL.. |
Hi ! what version of TF are you trying to build ? Last one we built with this is 1.3.1, so this is quite possible there will be some errors if you build a more recent version. If you find a solution do not hesitate to make a PR :D |
I can certainly put up a Docker, so it is repeatable, I am at the last link and just hitting the -lpthread not found issue (with ndk toolchain it is contained in libc++). If you know how to create a stub libpthread.so please let me know :) Edit: I have removed every semblence of pthread linker flag I can see but am still getting the following, even though gcc isn't getting a pthread flag of any kind. I also tried to remove it from gcc by custom spec file but even then I still get this, any idea?
|
I found where the flag is coming from in bit above
Know a way to find out what dependency is putting it there? |
Turning off supports_param_files I get
But still can't figure out where those last couple -lpthread flags are coming from.. |
I meet same error at ubuntu ARM 16.04 with AMD ROCm and TF 1.3 https://github.com/ROCmSoftwarePlatform/tensorflow root@scw-6c39c7:~/tensorflow# bazel build --config=opt --config=rocm //tensorflow/tools/pip_package:build_pip_package --verbose_failures |
@wormwang same problem |
But I get:
launching bazel with flags ''
ERROR: /root/.cache/bazel/_bazel_root/aa4e3329d28e2b64ec040c9b188aed63/external/io_bazel_rules_closure/closure/compiler/closure_js_library.bzl:138:26: name 'set' is not defined
ERROR: /root/.cache/bazel/_bazel_root/aa4e3329d28e2b64ec040c9b188aed63/external/io_bazel_rules_closure/closure/private/defs.bzl:27:16: name 'set' is not defined
Some js error?
The text was updated successfully, but these errors were encountered: