no matching function for call to 'MakeOneDnnStream'
@waarmond Could you please try with the following command and let us know;
```
bazel build --repo_env=TF_PYTHON_VERSION=3.10 //tensorflow/tools/pip_package:build_pip_package --repo_env=WHEEL_NAME=tf_nightly

```
Thank you!
 Duplicate of https://github.com/tensorflow/tensorflow/issues/63360 Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/64518">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/64518">No</a>

### Issue type

Build/Install

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

Yes

### Source

source

### TensorFlow version

2.16.1+ git

### Custom code

No

### OS platform and distribution

ArchLinux

### Mobile device

_No response_

### Python version

3.10

### Bazel version

6.1.0 

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

```
ERROR: [.. bazel cache ..]/local_xla/xla/service/cpu/BUILD:1600:11: Compiling xla/service/cpu/onednn_matmul.cc failed: (Exit 1): clang-17 failed: error executing command (from target @local_xla//xla/service/cpu:onednn_matmul) /usr/bin/clang-17 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 220 arguments skipped)
external/local_xla/xla/service/cpu/onednn_matmul.cc:186:24: error: no matching function for call to 'MakeOneDnnStream'
  186 |   auto onednn_stream = MakeOneDnnStream(cpu_engine, thread_pool.get());
      |                        ^~~~~~~~~~~~~~~~
external/local_xla/xla/service/cpu/onednn_matmul.cc:146:14: note: candidate function not viable: no known conversion from 'pointer' (aka 'tsl::OneDnnThreadPool *') to 'dnnl::threadpool_interop::threadpool_iface *' for 2nd argument
  146 | dnnl::stream MakeOneDnnStream(
      |              ^
  147 |     const dnnl::engine& cpu_engine,
  148 |     dnnl::threadpool_interop::threadpool_iface* thread_pool) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/local_xla/xla/service/cpu/onednn_matmul.cc:322:24: error: no matching function for call to 'MakeOneDnnStream'
  322 |   auto onednn_stream = MakeOneDnnStream(cpu_engine, thread_pool.get());
      |                        ^~~~~~~~~~~~~~~~
external/local_xla/xla/service/cpu/onednn_matmul.cc:146:14: note: candidate function not viable: no known conversion from 'pointer' (aka 'tsl::OneDnnThreadPool *') to 'dnnl::threadpool_interop::threadpool_iface *' for 2nd argument
  146 | dnnl::stream MakeOneDnnStream(
      |              ^
  147 |     const dnnl::engine& cpu_engine,
  148 |     dnnl::threadpool_interop::threadpool_iface* thread_pool) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
```

Not fixed by https://github.com/tensorflow/tensorflow/pull/64421 ENABLE_ONEDNN_V3

I've updated from onednn 3.1.1 to 3.4 to no avail.

### Standalone code to reproduce the issue

same as in 63298
```shell
bazel build --repo_env=TF_PYTHON_VERSION=3.10 //tensorflow/tools/pip_package:wheel --repo_env=WHEEL_NAME=tf_nightly
```


### Relevant log output

_No response_