-
Notifications
You must be signed in to change notification settings - Fork 63
Description
uda/redist/cuda_nvrtc/linux-x86_64/cuda_nvrtc-linux-x86_64-12.5.82-archive.tar.xz
DEBUG: /home/user/.cache/bazel/_bazel_itt/b2a36cc507e2c4a754bbc44a02bd6084/external/local_xla/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:289:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/nvidia_driver/linux-x86_64/nvidia_driver-linux-x86_64-555.42.06-archive.tar.xz
INFO: Analyzed target //tensorflow:libtensorflow.so (516 packages loaded, 43608 targets configured).
ERROR: /home/user/.cache/bazel/_bazel_itt/b2a36cc507e2c4a754bbc44a02bd6084/external/upb/BUILD:57:11: Compiling upb/upb.c failed: (Exit 1): clang failed: error executing CppCompile command (from target @@upb//:upb) /usr/lib/llvm-19/bin/clang -MD -MF bazel-out/k8-opt/bin/external/upb/_objs/upb/upb.pic.d '-frandom-seed=bazel-out/k8-opt/bin/external/upb/_objs/upb/upb.pic.o' -iquote external/upb -iquote ... (remaining 41 arguments skipped)
external/upb/upb/upb.c:192:10: error: defining a type within 'offsetof' is a C23 extension [-Werror,-Wc23-extensions]
192 | n &= ~(upb_alignof(upb_arena) - 1);
| ^~~~~~~~~~~~~~~~~~~~~~
external/upb/upb/upb.c:183:37: note: expanded from macro 'upb_alignof'
183 | #define upb_alignof(type) offsetof (struct { char c; type member; }, member)
| ^~~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:43: note: expanded from macro 'offsetof'
16 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^
1 error generated.
Target //tensorflow:libtensorflow.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 203.047s, Critical Path: 1.96s
INFO: 4008 processes: 3481 internal, 527 local.
ERROR: Build did NOT complete successfully