Advertisement
Guest User

Untitled

a guest
Jan 6th, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 12.38 KB | None | 0 0
  1. (venv) tech@Artax:/usr/src/tensorflow$ bazelisk build --config=cuda //tensorflow/tools/pip_package:build_pip_package
  2. WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
  3. INFO: Options provided by the client:
  4.   Inherited 'common' options: --isatty=1 --terminal_columns=175
  5. INFO: Reading rc options for 'build' from /usr/src/tensorflow/.bazelrc:
  6.   Inherited 'common' options: --experimental_repo_remote_exec
  7. INFO: Reading rc options for 'build' from /usr/src/tensorflow/.bazelrc:
  8.   'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_trategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specific_config --define=with_xla_support=tre --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false -incompatible_enforce_config_setting_visibility
  9. INFO: Reading rc options for 'build' from /usr/src/tensorflow/.tf_configure.bazelrc:
  10.   'build' options: --action_env PYTHON_BIN_PATH=/opt/mm/venv/bin/python3 --action_env PYTHON_LIB_PATH=/opt/mm/venv/lib/python3.10/site-packages --python_path=/opt/mm/venv/binpython3 --config=tensorrt --action_env CUDA_TOOLKIT_PATH=/usr/local/cuda-11.4 --action_env TF_CUDA_COMPUTE_CAPABILITIES=8.7 --action_env GCC_HOST_COMPILER_PATH=/usr/bin/aarch4-linux-gnu-gcc-9 --config=cuda
  11. INFO: Reading rc options for 'build' from /usr/src/tensorflow/.bazelrc:
  12.   'build' options: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compier/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfr/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compilermlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlogpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tnsorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/bacends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensoflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tft/utils
  13. INFO: Found applicable config definition build:short_logs in file /usr/src/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
  14. INFO: Found applicable config definition build:v2 in file /usr/src/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
  15. INFO: Found applicable config definition build:tensorrt in file /usr/src/tensorflow/.bazelrc: --repo_env TF_NEED_TENSORRT=1
  16. INFO: Found applicable config definition build:cuda in file /usr/src/tensorflow/.bazelrc: --repo_env TF_NEED_CUDA=1 --crosstool_top=@local_config_cuda//crosstool:toolchain --local_config_cuda//:enable_cuda
  17. INFO: Found applicable config definition build:cuda in file /usr/src/tensorflow/.bazelrc: --repo_env TF_NEED_CUDA=1 --crosstool_top=@local_config_cuda//crosstool:toolchain --local_config_cuda//:enable_cuda
  18. INFO: Found applicable config definition build:linux in file /usr/src/tensorflow/.bazelrc: --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wnodeprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --copt=-Wswitch --copt=-Werror=switch --cot=-Wno-error=unused-but-set-variable --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes
  19. INFO: Found applicable config definition build:dynamic_kernels in file /usr/src/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
  20. WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/7504e9a19346b33fd2e0fcdcbd43ecee3d676b86.tar.gz failed: classjava.io.FileNotFoundException GET returned 404 Not Found
  21. WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/5a3ff2087ab590e6ac9c839c9dc43e520891b7de.tar.gz failed: clas java.io.FileNotFoundException GET returned 404 Not Found
  22. DEBUG: /home/tech/.cache/bazel/_bazel_tech/cbe8b06b94787a6b39e59564d90f2497/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:118:10:
  23. Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default
  24. WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/3286a34cc8de6149ac6844107dfdffac91531e72.zip failed: class java.io.FleNotFoundException GET returned 404 Not Found
  25. WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/a50369c0fdd15f0f35b1a91c964644327a88d480.zip failed: class java.o.FileNotFoundException GET returned 404 Not Found
  26. WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/openxla/stablehlo/archive/e2aa7fe97cd09f44d864079c4e8be98064e5b425.zip failed: class jaa.io.FileNotFoundException GET returned 404 Not Found
  27. WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/cython/cython/archive/3.0.0a11.tar.gz failed: class java.io.FileNotFoundException GET rturned 404 Not Found
  28. INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (590 packages loaded, 38977 targets configured).
  29. INFO: Found 1 target...
  30. ERROR: /usr/src/tensorflow/tensorflow/BUILD:1217:21: Linking tensorflow/libtensorflow_cc.so.2.12.0 failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc @bazel-out/aarch64-opt/bin/tensorflow/libtensorflow_cc.so.2.12.0-2.params
  31. bazel-out/aarch64-opt/bin/tensorflow/compiler/aot/libtfcompile_lib.pic.a(compile.pic.o): in function `tensorflow::tfcompile::InitializeTargets()':
  32. compile.cc:(.text._ZN10tensorflow9tfcompileL17InitializeTargetsEv+0x2c): relocation truncated to fit: R_AARCH64_CALL26 against symbol `LLVMInitializePowerPCTargetInfo' defined in .text.LLVMInitializePowerPCTargetInfo section in bazel-out/aarch64-opt/bin/external/llvm-project/llvm/libPowerPCInfo.pic.a(PowerPCTargetInfo.pic.o)
  33. compile.cc:(.text._ZN10tensorflow9tfcompileL17InitializeTargetsEv+0x30): relocation truncated to fit: R_AARCH64_CALL26 against symbol `LLVMInitializePowerPCTargetMC' defined in .text.LLVMInitializePowerPCTargetMC section in bazel-out/aarch64-opt/bin/external/llvm-project/llvm/libPowerPCUtilsAndDesc.pic.a(PPCMCTargetDesc.pic.o)
  34. compile.cc:(.text._ZN10tensorflow9tfcompileL17InitializeTargetsEv+0x34): relocation truncated to fit: R_AARCH64_CALL26 against symbol `LLVMInitializePowerPCAsmPrinter' defined in .text.LLVMInitializePowerPCAsmPrinter section in bazel-out/aarch64-opt/bin/external/llvm-project/llvm/libPowerPCCodeGen.pic.a(PPCAsmPrinter.pic.o)
  35. compile.cc:(.text._ZN10tensorflow9tfcompileL17InitializeTargetsEv+0x3c): relocation truncated to fit: R_AARCH64_CALL26 against symbol `LLVMInitializeX86TargetInfo' defined in .text.LLVMInitializeX86TargetInfo section in bazel-out/aarch64-opt/bin/external/llvm-project/llvm/libX86Info.pic.a(X86TargetInfo.pic.o)
  36. bazel-out/aarch64-opt/bin/tensorflow/compiler/aot/libtfcompile_lib.pic.a(compile.pic.o): in function `tsl::Status tsl::errors::Unknown<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
  37. compile.cc:(.text._ZN3tsl6errors7UnknownIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEENS_6StatusEDpT_[_ZN3tsl6errors7UnknownIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEENS_6StatusEDpT_]+0x58): relocation truncated to fit: R_AARCH64_CALL26 against symbol `tsl::strings::StrCat[abi:cxx11](tsl::strings::AlphaNum const&, tsl::strings::AlphaNum const&)' defined in .text._ZN3tsl7strings6StrCatB5cxx11ERKNS0_8AlphaNumES3_ section in bazel-out/aarch64-opt/bin/tensorflow/tsl/platform/libstrcat.pic.a(strcat.pic.o)
  38. compile.cc:(.text._ZN3tsl6errors7UnknownIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEENS_6StatusEDpT_[_ZN3tsl6errors7UnknownIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEENS_6StatusEDpT_]+0x70): relocation truncated to fit: R_AARCH64_CALL26 against symbol `tsl::Status::Status(tensorflow::error::Code, std::basic_string_view<char, std::char_traits<char> >, tsl::SourceLocation)' defined in .text._ZN3tsl6StatusC2EN10tensorflow5error4CodeESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE section in bazel-out/aarch64-opt/bin/tensorflow/tsl/platform/libstatus.pic.a(status.pic.o)
  39. bazel-out/aarch64-opt/bin/tensorflow/compiler/aot/libtfcompile_lib.pic.a(compile.pic.o): in function `tsl::Status tsl::errors::Unknown<char const*, std::basic_string_view<char, std::char_traits<char> > >(char const*, std::basic_string_view<char, std::char_traits<char> >)':
  40. compile.cc:(.text._ZN3tsl6errors7UnknownIJPKcSt17basic_string_viewIcSt11char_traitsIcEEEEENS_6StatusEDpT_[_ZN3tsl6errors7UnknownIJPKcSt17basic_string_viewIcSt11char_traitsIcEEEEENS_6StatusEDpT_]+0x58): relocation truncated to fit: R_AARCH64_CALL26 against symbol `tsl::strings::StrCat[abi:cxx11](tsl::strings::AlphaNum const&, tsl::strings::AlphaNum const&)' defined in .text._ZN3tsl7strings6StrCatB5cxx11ERKNS0_8AlphaNumES3_ section in bazel-out/aarch64-opt/bin/tensorflow/tsl/platform/libstrcat.pic.a(strcat.pic.o)
  41. compile.cc:(.text._ZN3tsl6errors7UnknownIJPKcSt17basic_string_viewIcSt11char_traitsIcEEEEENS_6StatusEDpT_[_ZN3tsl6errors7UnknownIJPKcSt17basic_string_viewIcSt11char_traitsIcEEEEENS_6StatusEDpT_]+0x70): relocation truncated to fit: R_AARCH64_CALL26 against symbol `tsl::Status::Status(tensorflow::error::Code, std::basic_string_view<char, std::char_traits<char> >, tsl::SourceLocation)' defined in .text._ZN3tsl6StatusC2EN10tensorflow5error4CodeESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE section in bazel-out/aarch64-opt/bin/tensorflow/tsl/platform/libstatus.pic.a(status.pic.o)
  42. bazel-out/aarch64-opt/bin/tensorflow/compiler/aot/libtfcompile_lib.pic.a(compile.pic.o): in function `tensorflow::tfcompile::CompileGraph(tensorflow::GraphDef, tensorflow::tf2xla::Config const&, tensorflow::tfcompile::MainFlags const&, tensorflow::tfcompile::CompileResult*)':
  43. compile.cc:(.text._ZN10tensorflow9tfcompile12CompileGraphENS_8GraphDefERKNS_6tf2xla6ConfigERKNS0_9MainFlagsEPNS0_13CompileResultE+0xac): relocation truncated to fit: R_AARCH64_CALL26 against symbol `xla::HloModuleProto::HloModuleProto()' defined in .text section in bazel-out/aarch64-opt/bin/_solib_local/libtensorflow_Slibtensorflow_Uframework.so.2.12.0
  44. compile.cc:(.text._ZN10tensorflow9tfcompile12CompileGraphENS_8GraphDefERKNS_6tf2xla6ConfigERKNS0_9MainFlagsEPNS0_13CompileResultE+0x190): relocation truncated to fit: R_AARCH64_CALL26 against symbol `xla::HloModuleProto::~HloModuleProto()' defined in .text section in bazel-out/aarch64-opt/bin/_solib_local/libtensorflow_Slibtensorflow_Uframework.so.2.12.0
  45. compile.cc:(.text._ZN10tensorflow9tfcompile12CompileGraphENS_8GraphDefERKNS_6tf2xla6ConfigERKNS0_9MainFlagsEPNS0_13CompileResultE+0x20c): additional relocation overflows omitted from the output
  46. collect2: error: ld returned 1 exit status
  47. Target //tensorflow/tools/pip_package:build_pip_package failed to build
  48. Use --verbose_failures to see the command lines of failed build steps.
  49. INFO: Elapsed time: 14174.357s, Critical Path: 2192.17s
  50. INFO: 36369 processes: 12084 internal, 24285 local.
  51. FAILED: Build did NOT complete successfully
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement