Undefined references to _mlir_ciface* symbols on PPC
Hi @cdeepali , Could you please confirm the build command used ? Also starting from Tf2.13v onwards Clang is the official built compiler.Please refer [source](https://www.tensorflow.org/install/source#gpu) below.

Version | Python version | Compiler | Build tools | cuDNN | CUDA
-- | -- | -- | -- | -- | --
tensorflow-2.16.1 | 3.9-3.12 | Clang 17.0.6 | Bazel 6.5.0 | 8.9 | 12.3
tensorflow-2.15.0 | 3.9-3.11 | Clang 16.0.0 | Bazel 6.1.0 | 8.9 | 12.2
tensorflow-2.14.0 | 3.9-3.11 | Clang 16.0.0 | Bazel 6.1.0 | 8.7 | 11.8
tensorflow-2.13.0 | 3.8-3.11 | Clang 16.0.0 | Bazel 5.3.0 | 8.6 | 11.8

</div> Thanks @SuryanarayanaY. Yes I have noticed that official compiler is Clang. But TF 2.13 built with GCC and with TF 2.14 we are seeing issues.  @SuryanarayanaY, I do not see this issue on x86. It is happening on PowerPC platform when built with CUDA. CPU build is fine on PowerPC too. 

The script I am using is - https://github.com/open-ce/tensorflow-feedstock/blob/main/recipe/build-pip-package.sh. 

Please suggest, if there is something that I am missing in the script, due to which these libs are not getting built for PowerPC.

### Issue type

Build/Install

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.14

### Custom code

No

### OS platform and distribution

RedHat 8.8, ppc64le

### Mobile device

_No response_

### Python version

3.11

### Bazel version

6.1

### GCC/compiler version

11.2

### CUDA/cuDNN version

12.2/8.9.6

### GPU model and memory

_No response_

### Current behavior?

Build fails with numerous undefined reference errors. 

### Standalone code to reproduce the issue

```shell
NA
```


### Relevant log output

```shell
Below error seen during build:

<myenv>/bin/../lib/gcc/powerpc64le-conda-linux-gnu/11.2.0/../../../../powerpc64le-conda-linux-gnu/bin/ld.gold: error: bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libless_gpu_less_kernels_gpu_i64_i1_kernel_generator.pic.a(less_gpu_less_kernels_gpu_i64_i1_kernel_generator_kernel.o): incompatible target
<myenv>/bin/../lib/gcc/powerpc64le-conda-linux-gnu/11.2.0/../../../../powerpc64le-conda-linux-gnu/bin/ld.gold: error: bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libless_gpu_less_kernels_gpu_ui8_i1_kernel_generator.pic.a(less_gpu_less_kernels_gpu_ui8_i1_kernel_generator_kernel.o): incompatible target
<myenv>/bin/../lib/gcc/powerpc64le-conda-linux-gnu/11.2.0/../../../../powerpc64le-conda-linux-gnu/bin/ld.gold: error: bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libless_gpu_less_kernels_gpu_ui16_i1_kernel_generator.pic.a(less_gpu_less_kernels_gpu_ui16_i1_kernel_generator_kernel.o): incompatible target
<myenv>/bin/../lib/gcc/powerpc64le-conda-linux-gnu/11.2.0/../../../../powerpc64le-conda-linux-gnu/bin/ld.gold: error: bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libless_gpu_less_kernels_gpu_ui32_i1_kernel_generator.pic.a(less_gpu_less_kernels_gpu_ui32_i1_kernel_generator_kernel.o): incompatible target
<myenv>/bin/../lib/gcc/powerpc64le-conda-linux-gnu/11.2.0/../../../../powerpc64le-conda-linux-gnu/bin/ld.gold: error: bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libless_gpu_less_kernels_gpu_ui64_i1_kernel_generator.pic.a(less_gpu_less_kernels_gpu_ui64_i1_kernel_generator_kernel.o): incompatible target
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_nextafter_op.pic.lo(gpu_op_next_after.pic.o):gpu_op_next_after.cc:function tensorflow::(anonymous namespace)::MlirNextAfterGPUDT_FLOATDT_FLOATOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_NextAfter_GPU_DT_FLOAT_DT_FLOAT'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_nextafter_op.pic.lo(gpu_op_next_after.pic.o):gpu_op_next_after.cc:function tensorflow::(anonymous namespace)::MlirNextAfterGPUDT_DOUBLEDT_DOUBLEOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_NextAfter_GPU_DT_DOUBLE_DT_DOUBLE'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_nextafter_op.pic.lo(gpu_op_next_after.pic.o):gpu_op_next_after.cc:function tensorflow::MLIROpKernel<(tensorflow::DataType)1, float, (tensorflow::DataType)1>::Compute(tensorflow::OpKernelContext*): error: undefined reference to '_mlir_ciface_NextAfter_GPU_DT_FLOAT_DT_FLOAT'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_nextafter_op.pic.lo(gpu_op_next_after.pic.o):gpu_op_next_after.cc:function tensorflow::MLIROpKernel<(tensorflow::DataType)2, double, (tensorflow::DataType)2>::Compute(tensorflow::OpKernelContext*): error: undefined reference to '_mlir_ciface_NextAfter_GPU_DT_DOUBLE_DT_DOUBLE'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_elu.pic.o):gpu_op_elu.cc:function tensorflow::(anonymous namespace)::MlirEluGPUDT_HALFDT_HALFOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Elu_GPU_DT_HALF_DT_HALF'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_elu.pic.o):gpu_op_elu.cc:function tensorflow::(anonymous namespace)::MlirEluGPUDT_FLOATDT_FLOATOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Elu_GPU_DT_FLOAT_DT_FLOAT'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_elu.pic.o):gpu_op_elu.cc:function tensorflow::(anonymous namespace)::MlirEluGPUDT_DOUBLEDT_DOUBLEOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Elu_GPU_DT_DOUBLE_DT_DOUBLE'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_elu.pic.o):gpu_op_elu.cc:function tensorflow::MLIROpKernel<(tensorflow::DataType)19, Eigen::half, (tensorflow::DataType)19>::Compute(tensorflow::OpKernelContext*): error: undefined reference to '_mlir_ciface_Elu_GPU_DT_HALF_DT_HALF'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_relu.pic.o):gpu_op_relu.cc:function tensorflow::(anonymous namespace)::MlirReluGPUDT_HALFDT_HALFOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Relu_GPU_DT_HALF_DT_HALF'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_relu.pic.o):gpu_op_relu.cc:function tensorflow::(anonymous namespace)::MlirReluGPUDT_FLOATDT_FLOATOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Relu_GPU_DT_FLOAT_DT_FLOAT'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_relu.pic.o):gpu_op_relu.cc:function tensorflow::(anonymous namespace)::MlirReluGPUDT_DOUBLEDT_DOUBLEOp::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Relu_GPU_DT_DOUBLE_DT_DOUBLE'
bazel-out/ppc-opt/bin/tensorflow/core/kernels/mlir_generated/libgpu_relu_op.pic.lo(gpu_op_relu.pic.o):gpu_op_relu.cc:function tensorflow::(anonymous namespace)::MlirReluGPUDT_INT8DT_INT8Op::Invoke(tensorflow::OpKernelContext*, llvm::SmallVectorImpl<tensorflow::UnrankedMemRef>&): error: undefined reference to '_mlir_ciface_Relu_GPU_DT_INT8_DT_INT8'
```

