INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home//anomalib_experiments/tmp/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /home//anomalib_experiments/tmp/jax/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --macos_minimum_os=10.14 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --experimental_cc_shared_library --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. --@org_tensorflow//tensorflow/compiler/xla/python:enable_gpu=false --@org_tensorflow//tensorflow/compiler/xla/python:enable_tpu=false INFO: Reading rc options for 'run' from /home//anomalib_experiments/tmp/jax/.jax_configure.bazelrc: Inherited 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/usr/bin/python3 --action_env=PYENV_ROOT --python_path=/usr/bin/python3 --distinct_host_configuration=false --config=mkl_open_source_only INFO: Found applicable config definition build:short_logs in file /home//anomalib_experiments/tmp/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:mkl_open_source_only in file /home//anomalib_experiments/tmp/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:linux in file /home//anomalib_experiments/tmp/jax/.bazelrc: --config=posix --copt=-Wno-unknown-warning-option --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter INFO: Found applicable config definition build:posix in file /home//anomalib_experiments/tmp/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 Loading: Loading: 1 packages loaded INFO: Build options --@local_config_cuda//:enable_cuda, --@org_tensorflow//tensorflow/compiler/xla/python:enable_gpu, --action_env, and 3 more have changed, discarding analysis cache. Analyzing: target //build:build_wheel (2 packages loaded, 0 targets configured) Analyzing: target //build:build_wheel (113 packages loaded, 805 targets configured) Analyzing: target //build:build_wheel (206 packages loaded, 14147 targets configured) INFO: Analyzed target //build:build_wheel (230 packages loaded, 15447 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [43 / 245] Compiling src/google/protobuf/compiler/main.cc; 1s local ... (12 actions running) [46 / 245] Compiling src/google/protobuf/compiler/ruby/ruby_generator.cc; 2s local ... (12 actions running) [49 / 245] Compiling src/google/protobuf/compiler/ruby/ruby_generator.cc; 3s local ... (12 actions, 11 running) [56 / 245] Compiling src/google/protobuf/compiler/objectivec/objectivec_message.cc; 4s local ... (12 actions, 11 running) [63 / 245] Compiling src/google/protobuf/compiler/js/js_generator.cc; 5s local ... (12 actions, 11 running) [66 / 245] Compiling src/google/protobuf/compiler/js/js_generator.cc; 8s local ... (12 actions running) [74 / 245] Compiling src/google/protobuf/compiler/js/js_generator.cc; 10s local ... (12 actions running) [81 / 245] Compiling src/google/protobuf/compiler/js/js_generator.cc; 12s local ... (12 actions, 11 running) [93 / 245] Compiling src/google/protobuf/compiler/php/php_generator.cc; 4s local ... (12 actions, 11 running) [106 / 245] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc; 3s local ... (12 actions, 11 running) [116 / 245] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc; 7s local ... (12 actions, 11 running) [126 / 245] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc; 8s local ... (12 actions, 11 running) [147 / 245] Compiling src/google/protobuf/descriptor.cc; 7s local ... (12 actions, 11 running) [168 / 245] Compiling src/google/protobuf/descriptor.cc; 13s local ... (12 actions, 11 running) [224 / 490] Compiling src/google/protobuf/generated_message_table_driven_lite.cc; 6s local ... (12 actions, 11 running) [353 / 750] Compiling mlir/tools/mlir-tblgen/OpDocGen.cpp; 5s local ... (12 actions, 11 running) [401 / 750] Compiling external/org_tensorflow/tensorflow/core/framework/function.pb.cc; 5s local ... (12 actions, 11 running) [433 / 750] Compiling external/org_tensorflow/tensorflow/core/protobuf/config.pb.cc; 11s local ... (12 actions running) [480 / 750] Compiling mlir/tools/mlir-tblgen/OpFormatGen.cpp; 12s local ... (12 actions, 11 running) [537 / 750] Compiling mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp; 5s local ... (12 actions, 11 running) [616 / 750] Compiling mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp; 13s local ... (12 actions, 11 running) [945 / 1,491] Compiling mlir/lib/Tools/PDLL/Parser/Parser.cpp; 10s local ... (12 actions, 11 running) [989 / 1,491] Compiling mlir/lib/IR/BuiltinTypes.cpp; 9s local ... (12 actions, 11 running) [1,246 / 1,491] Compiling llvm/lib/Support/CommandLine.cpp; 8s local ... (12 actions, 11 running) [1,348 / 1,491] Compiling llvm/utils/TableGen/GlobalISelEmitter.cpp; 11s local ... (12 actions, 11 running) [1,545 / 1,714] Compiling llvm/lib/Support/JSON.cpp; 4s local ... (12 actions, 11 running) [1,717 / 1,829] Compiling tensorflow/core/ir/ops.cc; 27s local ... (12 actions, 11 running) [2,243 / 6,179] Compiling mlir/lib/Dialect/Func/IR/FuncOps.cpp; 11s local ... (12 actions, 11 running) [2,345 / 6,179] Compiling tensorflow/compiler/xla/python/xla.cc; 54s local ... (12 actions, 11 running) [2,457 / 6,179] Compiling tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc; 14s local ... (12 actions, 11 running) [2,554 / 6,179] Compiling tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc; 78s local ... (12 actions, 11 running) [2,668 / 6,179] Compiling llvm/lib/Passes/PassBuilder.cpp; 44s local ... (12 actions, 11 running) [2,802 / 6,179] Compiling tensorflow/compiler/xla/python/outfeed_receiver_py.cc; 20s local ... (12 actions, 11 running) [2,973 / 6,179] Compiling mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp; 40s local ... (12 actions, 11 running) ERROR: /home//.cache/bazel/_bazel_/b3859d549914b5bb807bee4b2625ad2f/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/BUILD:399:11: Compiling tensorflow/compiler/xla/service/cpu/runtime_fp16.cc failed: (Exit 1): gcc failed: error executing command (cd /home//.cache/bazel/_bazel_/b3859d549914b5bb807bee4b2625ad2f/execroot/__main__ && \ exec env - \ LD_LIBRARY_PATH=/usr/local/cuda-11.4/lib64:/usr/local/cuda-11.4/lib64: \ PATH=/usr/local/cuda-11.4/bin:/home//.local/bin:/usr/local/cuda-11.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin \ PWD=/proc/self/cwd \ /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/aarch64-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/_objs/runtime_fp16/runtime_fp16.pic.d '-frandom-seed=bazel-out/aarch64-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/_objs/runtime_fp16/runtime_fp16.pic.o' -fPIC -iquote external/org_tensorflow -iquote bazel-out/aarch64-opt/bin/external/org_tensorflow -iquote external/com_google_absl -iquote bazel-out/aarch64-opt/bin/external/com_google_absl '-fvisibility=hidden' -Wno-sign-compare -Wno-unknown-warning-option -Wno-stringop-truncation -Wno-array-parameter '-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.' '-std=c++17' -DEIGEN_AVOID_STL_ARRAY -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc -o bazel-out/aarch64-opt/bin/external/org_tensorflow/tensorflow/compiler/xla/service/cpu/_objs/runtime_fp16/runtime_fp16.pic.o) # Configuration: b4e86903246359687550963e55c4e6cd29d23a002542e82dd29eb3b4967cbf2b # Execution platform: @local_execution_config_platform//:platform In file included from external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc:16: external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.h:23:23: error: '_Float16' does not name a type 23 | using XlaF16ABIType = _Float16; | ^~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.h:36:12: error: 'XlaF16ABIType' does not name a type 36 | extern "C" XlaF16ABIType __gnu_f2h_ieee(float); | ^~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.h:39:18: warning: '__gnu_h2f_ieee' initialized and declared 'extern' 39 | extern "C" float __gnu_h2f_ieee(XlaF16ABIType); | ^~~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.h:39:33: error: 'XlaF16ABIType' was not declared in this scope 39 | extern "C" float __gnu_h2f_ieee(XlaF16ABIType); | ^~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.h:42:12: error: 'XlaF16ABIType' does not name a type 42 | extern "C" XlaF16ABIType __truncdfhf2(double); | ^~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc:63:1: error: 'XlaF16ABIType' does not name a type 63 | XlaF16ABIType ABSL_ATTRIBUTE_WEAK __gnu_f2h_ieee(float float_value) { | ^~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc:117:27: error: redefinition of 'float __gnu_h2f_ieee' 117 | float ABSL_ATTRIBUTE_WEAK __gnu_h2f_ieee(XlaF16ABIType hf) { | ^~~~~~~~~~~~~~ In file included from external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc:16: external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.h:39:18: note: 'float __gnu_h2f_ieee' previously defined here 39 | extern "C" float __gnu_h2f_ieee(XlaF16ABIType); | ^~~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc:117:42: error: 'XlaF16ABIType' was not declared in this scope 117 | float ABSL_ATTRIBUTE_WEAK __gnu_h2f_ieee(XlaF16ABIType hf) { | ^~~~~~~~~~~~~ external/org_tensorflow/tensorflow/compiler/xla/service/cpu/runtime_fp16.cc:141:1: error: 'XlaF16ABIType' does not name a type 141 | XlaF16ABIType ABSL_ATTRIBUTE_WEAK __truncdfhf2(double d) { | ^~~~~~~~~~~~~ cc1plus: warning: unrecognized command line option '-Wno-array-parameter' cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option' Target //build:build_wheel failed to build INFO: Elapsed time: 798.192s, Critical Path: 157.38s INFO: 2523 processes: 33 internal, 2490 local. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: ./bazel-5.1.1-linux-arm64 Bazel version: 5.1.1 Python binary path: /usr/bin/python3 Python version: 3.8 NumPy version: 1.19.5 MKL-DNN enabled: yes Target CPU: aarch64 Target CPU features: release CUDA enabled: no TPU enabled: no Remote TPU enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... ./bazel-5.1.1-linux-arm64 run --verbose_failures=true :build_wheel -- --output_path=/home//anomalib_experiments/tmp/jax/dist --cpu=aarch64 b'' Traceback (most recent call last): File "build/build.py", line 555, in main() File "build/build.py", line 550, in main shell(command) File "build/build.py", line 53, in shell output = subprocess.check_output(cmd) File "/usr/lib/python3.8/subprocess.py", line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['./bazel-5.1.1-linux-arm64', 'run', '--verbose_failures=true', ':build_wheel', '--', '--output_path=/home//anomalib_experiments/tmp/jax/dist', '--cpu=aarch64']' returned non-zero exit status 1.