Open
Description
quantize_and_dequantize_op-6f04fe(o).txt
quantize_and_dequantize_op-6f04fe(sh).txt
clang-17 failed: error executing CppCompile command (from target //tensorflow/core/kernels:quantize_and_dequantize_op) /usr/local/bin/clang-17 -MD -MF bazel-out/k8-opt/bin/tensorflow/core/kernels/_objs/quantize_and_dequantize_op/quantize_and_dequantize_op.pic.d ... (remaining 561 arguments skipped)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /usr/local/bin/clang-17 -MD -MF bazel-out/k8-opt/bin/tensorflow/core/kernels/_objs/quantize_and_dequantize_op/quantize_and_dequantize_op.pic.d -frandom-seed=bazel-out/k8-opt/bin/tensorflow/core/kernels/_objs/quantize_and_dequantize_op/quantize_and_dequantize_op.pic.o -DEIGEN_MAX_ALIGN_BYTES=64 -DEIGEN_ALLOW_UNALIGNED_SCALARS -DEIGEN_USE_AVX512_GEMM_KERNELS=0 -DHAVE_SYS_UIO_H -DTF_USE_SNAPPY -DTENSORFLOW_USE_NUMA -DTF_ENABLE_ACTIVITY_WATCHER -DTF_MAJOR_VERSION=2 -DTF_MINOR_VERSION=20 -DTF_PATCH_VERSION=0 -DTF_VERSION_SUFFIX=\"-dev0+selfbuilt\" -DLLVM_ON_UNIX=1 -DHAVE_BACKTRACE=1 -DBACKTRACE_HEADER=<execinfo.h> -DLTDL_SHLIB_EXT=\".so\" -DLLVM_PLUGIN_EXT=\".so\" -DLLVM_ENABLE_PLUGINS=1 -DLLVM_ENABLE_THREADS=1 -DHAVE_DEREGISTER_FRAME=1 -DHAVE_LIBPTHREAD=1 -DHAVE_PTHREAD_GETNAME_NP=1 -DHAVE_PTHREAD_H=1 -DHAVE_PTHREAD_SETNAME_NP=1 -DHAVE_REGISTER_FRAME=1 -DHAVE_SETENV_R=1 -DHAVE_STRERROR_R=1 -DHAVE_SYSEXITS_H=1 -DHAVE_UNISTD_H=1 -D_GNU_SOURCE -DHAVE_GETAUXVAL=1 -DHAVE_MALLINFO=1 -DHAVE_SBRK=1 -DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1 -DHAVE_BUILTIN_THREAD_POINTER -DLLVM_NATIVE_ARCH=\"X86\" -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -DLLVM_NATIVE_TARGETMCA=LLVMInitializeX86TargetMCA -DLLVM_HOST_TRIPLE=\"x86_64-unknown-linux-gnu\" -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-linux-gnu\" -DLLVM_VERSION_MAJOR=21 -DLLVM_VERSION_MINOR=0 -DLLVM_VERSION_PATCH=0 -DLLVM_VERSION_STRING=\"21.0.0git\" -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DLLVM_HAS_AArch64_TARGET=1 -DLLVM_HAS_AMDGPU_TARGET=1 -DLLVM_HAS_ARM_TARGET=1 -DLLVM_HAS_NVPTX_TARGET=1 -DLLVM_HAS_PowerPC_TARGET=1 -DLLVM_HAS_RISCV_TARGET=1 -DLLVM_HAS_SystemZ_TARGET=1 -DLLVM_HAS_X86_TARGET=1 -DBLAKE3_USE_NEON=0 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_AVX512 -DBLAKE3_NO_SSE2 -DBLAKE3_NO_SSE41 -DTENSORFLOW_USE_CUSTOM_CONTRACTION_KERNEL -DTENSORFLOW_USE_MKLDNN_CONTRACTION_KERNEL -DEIGEN_ALTIVEC_USE_CUSTOM_PACK=0 -DEIGEN_NEON_GEBP_NR=4 -DNO_LLVM_SUPPORT=0 -DCURL_STATICLIB -iquote . -iquote bazel-out/k8-opt/bin -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/local_xla -iquote bazel-out/k8-opt/bin/external/local_xla -iquote external/local_tsl -iquote bazel-out/k8-opt/bin/external/local_tsl -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/com_googlesource_code_re2 -iquote bazel-out/k8-opt/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/k8-opt/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/k8-opt/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/k8-opt/bin/external/highwayhash -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -iquote external/ml_dtypes_py -iquote bazel-out/k8-opt/bin/external/ml_dtypes_py -iquote external/snappy -iquote bazel-out/k8-opt/bin/external/snappy -iquote external/hwloc -iquote bazel-out/k8-opt/bin/external/hwloc -iquote external/local_config_cuda -iquote bazel-out/k8-opt/bin/external/local_config_cuda -iquote external/cuda_cudart -iquote bazel-out/k8-opt/bin/external/cuda_cudart -iquote external/cuda_cublas -iquote bazel-out/k8-opt/bin/external/cuda_cublas -iquote external/cuda_cccl -iquote bazel-out/k8-opt/bin/external/cuda_cccl -iquote external/cuda_nvtx -iquote bazel-out/k8-opt/bin/external/cuda_nvtx -iquote external/cuda_nvcc -iquote bazel-out/k8-opt/bin/external/cuda_nvcc -iquote external/cuda_cusolver -iquote bazel-out/k8-opt/bin/external/cuda_cusolver -iquote external/cuda_cufft -iquote bazel-out/k8-opt/bin/external/cuda_cufft -iquote external/cuda_cusparse -iquote bazel-out/k8-opt/bin/external/cuda_cusparse -iquote external/cuda_curand -iquote bazel-out/k8-opt/bin/external/cuda_curand -iquote external/cuda_cupti -iquote bazel-out/k8-opt/bin/external/cuda_cupti -iquote external/cuda_nvml -iquote bazel-out/k8-opt/bin/external/cuda_nvml -iquote external/cuda_nvjitlink -iquote bazel-out/k8-opt/bin/external/cuda_nvjitlink -iquote external/local_config_tensorrt -iquote bazel-out/k8-opt/bin/external/local_config_tensorrt -iquote external/nvshmem -iquote bazel-out/k8-opt/bin/external/nvshmem -iquote external/local_config_nccl -iquote bazel-out/k8-opt/bin/external/local_config_nccl -iquote external/nvtx_archive -iquote bazel-out/k8-opt/bin/external/nvtx_archive -iquote external/cuda_cudnn -iquote bazel-out/k8-opt/bin/external/cuda_cudnn -iquote external/llvm-project -iquote bazel-out/k8-opt/bin/external/llvm-project -iquote external/cudnn_frontend_archive -iquote bazel-out/k8-opt/bin/external/cudnn_frontend_archive -iquote external/onednn -iquote bazel-out/k8-opt/bin/external/onednn -iquote external/gif -iquote bazel-out/k8-opt/bin/external/gif -iquote external/curl -iquote bazel-out/k8-opt/bin/external/curl -iquote external/boringssl -iquote bazel-out/k8-opt/bin/external/boringssl -iquote external/jsoncpp_git -iquote bazel-out/k8-opt/bin/external/jsoncpp_git -iquote external/stablehlo -iquote bazel-out/k8-opt/bin/external/stablehlo -Ibazel-out/k8-opt/bin/external/local_config_cuda/cuda/_virtual_includes/cuda_headers -Ibazel-out/k8-opt/bin/external/cuda_cudart/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cublas/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cccl/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvtx/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvcc/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cusolver/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cufft/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cusparse/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_curand/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvml/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvjitlink/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/local_config_tensorrt/_virtual_includes/tensorrt_headers -Ibazel-out/k8-opt/bin/external/nvshmem/_virtual_includes/nvshmem_config -Ibazel-out/k8-opt/bin/external/local_config_nccl/_virtual_includes/hermetic_nccl_config -Ibazel-out/k8-opt/bin/external/nvtx_archive/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cudnn/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithCanonicalizationIncGen -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/AsmParserTokenKinds -Ibazel-out/k8-opt/bin/external/cudnn_frontend_archive/_virtual_includes/cudnn_frontend -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/MLIRShapeCanonicalizationIncGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/NVPTXCodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/NVPTXCommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/NVPTXInfo -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/NVPTXUtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/SPIRVCanonicalizationIncGen -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/ShapeToStandardGen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/mlir_hlo -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/canonicalize_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/convert_op_folder -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_ops_attrs_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_ops_common -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_ops_enums_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_ops_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_ops_pattern_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_ops_typedefs_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/mhlo_passes -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/chlo_legalize_to_hlo_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/hlo_legalize_to_stablehlo -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/map_stablehlo_to_hlo_op -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/legalize_to_linalg_utils -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/map_mhlo_to_scalar_op -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/transformation_helpers -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/map_chlo_to_hlo_op -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/mhlo_pass_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/mhlo_rng_utils -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/mhlo_scatter_gather_utils -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/shape_component_analysis -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/stablehlo_legalize_to_hlo -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/type_conversion -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/unfuse_batch_norm -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/transforms_passes -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/deallocation_passes -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/deallocation_passes_inc_gen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/deallocation_utils -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/transforms_passes_inc_gen -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/GPUToNVVMGen -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/all_passes -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/transforms_gpu_passes -Ibazel-out/k8-opt/bin/external/local_xla/xla/mlir_hlo/_virtual_includes/gpu_transforms_passes_inc_gen -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/GPUToROCDLTGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AArch64CodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AArch64CommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AArch64Info -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/ARMCodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/ARMCommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/ARMInfo -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/ARMUtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AMDGPUCodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AMDGPUCommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AMDGPUInfo -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/AMDGPUUtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/InstCombineTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/amdgpu_isel_target_gen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/r600_target_gen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/PowerPCCodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/PowerPCCommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/PowerPCInfo -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/PowerPCUtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/RISCVCodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/RISCVCommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/RISCVInfo -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/RISCVUtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/riscv_isel_target_gen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/SystemZCodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/SystemZCommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/SystemZInfo -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/SystemZUtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/X86CodeGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/X86CommonTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/X86Info -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/X86UtilsAndDesc -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/JITLinkTableGen -Ibazel-out/k8-opt/bin/external/llvm-project/llvm/_virtual_includes/X86DisassemblerInternalHeaders -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/zlib -isystem bazel-out/k8-opt/bin/external/zlib -isystem external/farmhash_archive/src -isystem bazel-out/k8-opt/bin/external/farmhash_archive/src -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive -isystem external/eigen_archive/mkl_include -isystem bazel-out/k8-opt/bin/external/eigen_archive/mkl_include -isystem external/hwloc/hwloc -isystem bazel-out/k8-opt/bin/external/hwloc/hwloc -isystem external/hwloc/include -isystem bazel-out/k8-opt/bin/external/hwloc/include -isystem external/local_config_cuda/cuda -isystem bazel-out/k8-opt/bin/external/local_config_cuda/cuda -isystem external/cuda_cudart/include -isystem bazel-out/k8-opt/bin/external/cuda_cudart/include -isystem external/cuda_cublas/include -isystem bazel-out/k8-opt/bin/external/cuda_cublas/include -isystem external/cuda_cccl/include -isystem bazel-out/k8-opt/bin/external/cuda_cccl/include -isystem external/cuda_nvtx/include -isystem bazel-out/k8-opt/bin/external/cuda_nvtx/include -isystem external/cuda_nvcc/include -isystem bazel-out/k8-opt/bin/external/cuda_nvcc/include -isystem external/cuda_cusolver/include -isystem bazel-out/k8-opt/bin/external/cuda_cusolver/include -isystem external/cuda_cufft/include -isystem bazel-out/k8-opt/bin/external/cuda_cufft/include -isystem external/cuda_cusparse/include -isystem bazel-out/k8-opt/bin/external/cuda_cusparse/include -isystem external/cuda_curand/include -isystem bazel-out/k8-opt/bin/external/cuda_curand/include -isystem external/cuda_cupti/include -isystem bazel-out/k8-opt/bin/external/cuda_cupti/include -isystem external/cuda_nvml/include -isystem bazel-out/k8-opt/bin/external/cuda_nvml/include -isystem external/cuda_nvjitlink/include -isystem bazel-out/k8-opt/bin/external/cuda_nvjitlink/include -isystem external/cuda_cudnn/include -isystem bazel-out/k8-opt/bin/external/cuda_cudnn/include -isystem external/llvm-project/llvm/include -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/include -isystem external/llvm-project/mlir/include -isystem bazel-out/k8-opt/bin/external/llvm-project/mlir/include -isystem external/onednn/include -isystem bazel-out/k8-opt/bin/external/onednn/include -isystem external/onednn/src -isystem bazel-out/k8-opt/bin/external/onednn/src -isystem external/onednn/src/common -isystem bazel-out/k8-opt/bin/external/onednn/src/common -isystem external/onednn/src/common/ittnotify -isystem bazel-out/k8-opt/bin/external/onednn/src/common/ittnotify -isystem external/onednn/src/cpu -isystem bazel-out/k8-opt/bin/external/onednn/src/cpu -isystem external/onednn/src/cpu/gemm -isystem bazel-out/k8-opt/bin/external/onednn/src/cpu/gemm -isystem external/onednn/src/cpu/x64/xbyak -isystem bazel-out/k8-opt/bin/external/onednn/src/cpu/x64/xbyak -isystem external/onednn/src/graph -isystem bazel-out/k8-opt/bin/external/onednn/src/graph -isystem external/gif -isystem bazel-out/k8-opt/bin/external/gif -isystem external/curl/include -isystem bazel-out/k8-opt/bin/external/curl/include -isystem external/boringssl/src/include -isystem bazel-out/k8-opt/bin/external/boringssl/src/include -isystem external/jsoncpp_git/include -isystem bazel-out/k8-opt/bin/external/jsoncpp_git/include -isystem tensorflow/compiler/mlir/tensorflow/include -isystem bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/include -isystem external/llvm-project/llvm/lib/Target/NVPTX -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/NVPTX -isystem external/llvm-project/llvm/lib/Target/AArch64 -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/AArch64 -isystem external/llvm-project/llvm/lib/Target/ARM -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/ARM -isystem external/llvm-project/llvm/lib/Target/AMDGPU -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/AMDGPU -isystem external/llvm-project/llvm/lib/Target/PowerPC -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/PowerPC -isystem external/llvm-project/llvm/lib/Target/RISCV -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/RISCV -isystem external/llvm-project/llvm/lib/Target/SystemZ -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/SystemZ -isystem external/llvm-project/llvm/lib/Target/X86 -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/lib/Target/X86 -fmerge-all-constants -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -fstack-protector -Wall -Wno-invalid-partial-specialization -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections --cuda-path=external/cuda_nvcc -Wno-all -Wno-extra -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-array-bounds -Wunused-result -Werror=unused-result -Wswitch -Werror=switch -DAUTOLOAD_DYNAMIC_KERNELS -Qunused-arguments -Wno-unknown-cuda-version -Wno-gnu-offsetof-extensions -Qunused-arguments -Wno-unknown-cuda-version -std=c++17 -DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare -ftemplate-depth=900 -fno-exceptions -DGOOGLE_CUDA=1 -DTENSORFLOW_USE_XLA=1 -DINTEL_MKL -DENABLE_ONEDNN_V3 -DAMD_ZENDNN -DTF_LLVM_X86_AVAILABLE=1 -msse3 -pthread -DNV_CUDNN_DISABLE_EXCEPTION -DGOOGLE_CUDA=1 -DNV_CUDNN_DISABLE_EXCEPTION -DTENSORFLOW_USE_XLA=1 -DINTEL_MKL=1 -c tensorflow/core/kernels/quantize_and_dequantize_op.cc -o bazel-out/k8-opt/bin/tensorflow/core/kernels/_objs/quantize_and_dequantize_op/quantize_and_dequantize_op.pic.o
1. /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/random.h:5460:13: current parser token ','
2. /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/random.h:37:1: parsing namespace 'std'
3. /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/random.h:5444:5: parsing struct/union/class body 'std::discrete_distribution'
4. /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:1122:12: instantiating class definition 'std::is_nothrow_default_constructible<std::allocator<double>>'
5. /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:276:25: instantiating function definition 'std::__is_complete_or_unbounded<std::allocator<double>, 1UL>'
6. /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:276:25: LLVM IR generation of declaration 'std::__is_complete_or_unbounded'
#0 0x000058a0573905b2 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/bin/clang-17+0x35d55b2)
#1 0x000058a05738e33c llvm::sys::CleanupOnSignal(unsigned long) (/usr/local/bin/clang-17+0x35d333c)
#2 0x000058a0572cfc28 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#3 0x000074e351845330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x000058a05a325863 clang::FunctionDecl::getDescribedFunctionTemplate() const (/usr/local/bin/clang-17+0x656a863)
#5 0x000058a05a33b0c3 clang::DeclContext::isDependentContext() const (/usr/local/bin/clang-17+0x65800c3)
#6 0x000058a057706368 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (/usr/local/bin/clang-17+0x394b368)
#7 0x000058a05849ef18 (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) ModuleBuilder.cpp:0:0
#8 0x000058a0584911d7 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) (/usr/local/bin/clang-17+0x46d61d7)
#9 0x000058a059f7ec53 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/local/bin/clang-17+0x61c3c53)
#10 0x000058a0597057e3 clang::Sema::runWithSufficientStackSpace(clang::SourceLocation, llvm::function_ref<void ()>) (/usr/local/bin/clang-17+0x594a7e3)
#11 0x000058a059a79324 clang::Sema::MarkFunctionReferenced(clang::SourceLocation, clang::FunctionDecl*, bool) (/usr/local/bin/clang-17+0x5cbe324)
#12 0x000058a059a797ed MarkExprReferenced(clang::Sema&, clang::SourceLocation, clang::Decl*, clang::Expr*, bool, llvm::DenseMap<clang::VarDecl const*, int, llvm::DenseMapInfo<clang::VarDecl const*, void>, llvm::detail::DenseMapPair<clang::VarDecl const*, int>>&) SemaExpr.cpp:0:0
#13 0x000058a059a79c86 clang::Sema::BuildDeclRefExpr(clang::ValueDecl*, clang::QualType, clang::ExprValueKind, clang::DeclarationNameInfo const&, clang::NestedNameSpecifierLoc, clang::NamedDecl*, clang::SourceLocation, clang::TemplateArgumentListInfo const*) (/usr/local/bin/clang-17+0x5cbec86)
#14 0x000058a059d4b0ef clang::Sema::FixOverloadedFunctionReference(clang::Expr*, clang::DeclAccessPair, clang::FunctionDecl*) (/usr/local/bin/clang-17+0x5f900ef)
#15 0x000058a059d7b96d FinishOverloadedCallExpr(clang::Sema&, clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, clang::OverloadCandidateSet*, clang::OverloadCandidate**, clang::OverloadingResult, bool) SemaOverload.cpp:0:0
#16 0x000058a059d7c838 clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) (/usr/local/bin/clang-17+0x5fc1838)
#17 0x000058a059aa2eee clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) (/usr/local/bin/clang-17+0x5ce7eee)
#18 0x000058a059aa4897 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*) (/usr/local/bin/clang-17+0x5ce9897)
#19 0x000058a059f1d68c clang::TreeTransform<(anonymous namespace)::TemplateInstantiator>::TransformCallExpr(clang::CallExpr*) SemaTemplateInstantiate.cpp:0:0
#20 0x000058a059f3c421 clang::Sema::SubstExpr(clang::Expr*, clang::MultiLevelTemplateArgumentList const&) (/usr/local/bin/clang-17+0x6181421)
#21 0x000058a059f48902 clang::TemplateDeclInstantiator::VisitStaticAssertDecl(clang::StaticAssertDecl*) (/usr/local/bin/clang-17+0x618d902)
#22 0x000058a059f2d7c7 clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*, clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&, clang::TemplateSpecializationKind, bool) (/usr/local/bin/clang-17+0x61727c7)
#23 0x000058a059f43ef2 clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool) (/usr/local/bin/clang-17+0x6188ef2)
#24 0x000058a059fa1163 void llvm::function_ref<void ()>::callback_fn<clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)::'lambda'()>(long) SemaType.cpp:0:0
#25 0x000058a0597057e3 clang::Sema::runWithSufficientStackSpace(clang::SourceLocation, llvm::function_ref<void ()>) (/usr/local/bin/clang-17+0x594a7e3)
#26 0x000058a059fa8592 clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*) (/usr/local/bin/clang-17+0x61ed592)
#27 0x000058a059fa85d9 clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&) (/usr/local/bin/clang-17+0x61ed5d9)
#28 0x000058a05974416b clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&, clang::DeclContext*) (/usr/local/bin/clang-17+0x598916b)
#29 0x000058a059a7e579 clang::Sema::BuildQualifiedDeclarationNameExpr(clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, bool, clang::Scope const*, clang::TypeSourceInfo**) (.part.0) SemaExpr.cpp:0:0
#30 0x000058a059f3541b clang::TreeTransform<(anonymous namespace)::TemplateInstantiator>::TransformDependentScopeDeclRefExpr(clang::DependentScopeDeclRefExpr*, bool, clang::TypeSourceInfo**) SemaTemplateInstantiate.cpp:0:0
#31 0x000058a059f24f2c clang::TreeTransform<(anonymous namespace)::TemplateInstantiator>::TransformExceptionSpec(clang::SourceLocation, clang::FunctionProtoType::ExceptionSpecInfo&, llvm::SmallVectorImpl<clang::QualType>&, bool&) SemaTemplateInstantiate.cpp:0:0
#32 0x000058a059f253d3 clang::Sema::SubstExceptionSpec(clang::FunctionDecl*, clang::FunctionProtoType const*, clang::MultiLevelTemplateArgumentList const&) (/usr/local/bin/clang-17+0x616a3d3)
#33 0x000058a059f52716 clang::Sema::InstantiateExceptionSpec(clang::SourceLocation, clang::FunctionDecl*) (/usr/local/bin/clang-17+0x6197716)
#34 0x000058a0599ef17d clang::Sema::ResolveExceptionSpec(clang::SourceLocation, clang::FunctionProtoType const*) (/usr/local/bin/clang-17+0x5c3417d)
#35 0x000058a05993dc56 clang::Sema::ImplicitExceptionSpecification::CalledDecl(clang::SourceLocation, clang::CXXMethodDecl const*) (/usr/local/bin/clang-17+0x5b82c56)
#36 0x000058a0599aeb89 ComputeDefaultedSpecialMemberExceptionSpec(clang::Sema&, clang::SourceLocation, clang::CXXMethodDecl*, clang::Sema::CXXSpecialMember, clang::Sema::InheritedConstructorInfo*) SemaDeclCXX.cpp:0:0
#37 0x000058a0599af022 clang::Sema::EvaluateImplicitExceptionSpec(clang::SourceLocation, clang::FunctionDecl*) (/usr/local/bin/clang-17+0x5bf4022)
#38 0x000058a0599ef21d clang::Sema::ResolveExceptionSpec(clang::SourceLocation, clang::FunctionProtoType const*) (/usr/local/bin/clang-17+0x5c3421d)
#39 0x000058a05993dc56 clang::Sema::ImplicitExceptionSpecification::CalledDecl(clang::SourceLocation, clang::CXXMethodDecl const*) (/usr/local/bin/clang-17+0x5b82c56)
#40 0x000058a0599ae6f4 (anonymous namespace)::SpecialMemberExceptionSpecInfo::visitBase(clang::CXXBaseSpecifier*) SemaDeclCXX.cpp:0:0
#41 0x000058a0599aea9c ComputeDefaultedSpecialMemberExceptionSpec(clang::Sema&, clang::SourceLocation, clang::CXXMethodDecl*, clang::Sema::CXXSpecialMember, clang::Sema::InheritedConstructorInfo*) SemaDeclCXX.cpp:0:0
#42 0x000058a0599af022 clang::Sema::EvaluateImplicitExceptionSpec(clang::SourceLocation, clang::FunctionDecl*) (/usr/local/bin/clang-17+0x5bf4022)
#43 0x000058a0599ef21d clang::Sema::ResolveExceptionSpec(clang::SourceLocation, clang::FunctionProtoType const*) (/usr/local/bin/clang-17+0x5c3421d)
#44 0x000058a059a7900f clang::Sema::MarkFunctionReferenced(clang::SourceLocation, clang::FunctionDecl*, bool) (/usr/local/bin/clang-17+0x5cbe00f)
#45 0x000058a0599bbd13 clang::Sema::BuildCXXConstructExpr(clang::SourceLocation, clang::QualType, clang::NamedDecl*, clang::CXXConstructorDecl*, llvm::MutableArrayRef<clang::Expr*>, bool, bool, bool, bool, unsigned int, clang::SourceRange) (/usr/local/bin/clang-17+0x5c00d13)
#46 0x000058a059bd7985 PerformConstructorInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::InitializationSequence::Step const&, bool&, bool, bool, clang::SourceLocation, clang::SourceLocation) SemaInit.cpp:0:0
#47 0x000058a059bf054c clang::InitializationSequence::Perform(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::QualType*) (/usr/local/bin/clang-17+0x5e3554c)
#48 0x000058a059943f7c clang::Sema::BuildMemberInitializer(clang::ValueDecl*, clang::Expr*, clang::SourceLocation) (/usr/local/bin/clang-17+0x5b88f7c)
#49 0x000058a0599515c3 clang::Sema::BuildMemInitializer(clang::Decl*, clang::Scope*, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::OpaquePtr<clang::QualType>, clang::DeclSpec const&, clang::SourceLocation, clang::Expr*, clang::SourceLocation) (/usr/local/bin/clang-17+0x5b965c3)
#50 0x000058a059611f39 clang::Parser::ParseMemInitializer(clang::Decl*) (/usr/local/bin/clang-17+0x5856f39)
#51 0x000058a059615679 clang::Parser::ParseConstructorInitializer(clang::Decl*) (/usr/local/bin/clang-17+0x585a679)
#52 0x000058a0595d94f8 clang::Parser::ParseLexedMethodDef(clang::Parser::LexedMethod&) (/usr/local/bin/clang-17+0x581e4f8)
#53 0x000058a0595d7cb5 clang::Parser::LateParsedClass::ParseLexedMethodDefs() (/usr/local/bin/clang-17+0x581ccb5)
#54 0x000058a0595d8e4d clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&) (/usr/local/bin/clang-17+0x581de4d)
#55 0x000058a059622e4a clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*) (/usr/local/bin/clang-17+0x5867e4a)
#56 0x000058a0596251a5 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) (/usr/local/bin/clang-17+0x586a1a5)
#57 0x000058a0595f4686 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) (/usr/local/bin/clang-17+0x5839686)
#58 0x000058a0596bb892 clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/local/bin/clang-17+0x5900892)
#59 0x000058a0596c4283 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/local/bin/clang-17+0x5909283)
#60 0x000058a0596c44ab clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/usr/local/bin/clang-17+0x59094ab)
#61 0x000058a059603586 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/local/bin/clang-17+0x5848586)
#62 0x000058a0595d56d2 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/local/bin/clang-17+0x581a6d2)
#63 0x000058a059619027 clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/local/bin/clang-17+0x585e027)
#64 0x000058a05961c630 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/local/bin/clang-17+0x5861630)
#65 0x000058a059603778 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/usr/local/bin/clang-17+0x5848778)
#66 0x000058a0595d56d2 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/usr/local/bin/clang-17+0x581a6d2)
#67 0x000058a0595d70ba clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/usr/local/bin/clang-17+0x581c0ba)
#68 0x000058a0595c853a clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/bin/clang-17+0x580d53a)
#69 0x000058a057db6969 clang::FrontendAction::Execute() (/usr/local/bin/clang-17+0x3ffb969)
#70 0x000058a057d411d1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/bin/clang-17+0x3f861d1)
#71 0x000058a057e77ddb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/bin/clang-17+0x40bcddb)
#72 0x000058a054c014ce cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/local/bin/clang-17+0xe464ce)
#73 0x000058a054bf9d1a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#74 0x000058a057b7a27d void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#75 0x000058a0572d0077 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/local/bin/clang-17+0x3515077)
#76 0x000058a057b7a941 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0
#77 0x000058a057b436fa clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/usr/local/bin/clang-17+0x3d886fa)
#78 0x000058a057b441ad clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/usr/local/bin/clang-17+0x3d891ad)
#79 0x000058a057b54e0c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/usr/local/bin/clang-17+0x3d99e0c)
#80 0x000058a054bfee45 clang_main(int, char**, llvm::ToolContext const&) (/usr/local/bin/clang-17+0xe43e45)
#81 0x000058a054ae2103 main (/usr/local/bin/clang-17+0xd27103)
#82 0x000074e35182a1ca __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#83 0x000074e35182a28b call_init ./csu/../csu/libc-start.c:128:20
#84 0x000074e35182a28b __libc_start_main ./csu/../csu/libc-start.c:347:5
#85 0x000058a054bf9105 _start (/usr/local/bin/clang-17+0xe3e105)
clang-17: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 17.0.6 (https://github.com/llvm/llvm-project.git 6009708b4367171ccdbf4b5905cb6a803753fe18)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
clang-17: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-17: note: diagnostic msg: /tmp/quantize_and_dequantize_op-6f04fe.cpp
clang-17: note: diagnostic msg: /tmp/quantize_and_dequantize_op-6f04fe.sh
clang-17: note: diagnostic msg:
********************