`third_party/xla/third_party/tsl/tsl/platform/denormal.cc` doesn't include <cstdint>
@tpasternak,
Could you please provide the complete steps and the document you are following  to install the tensorflow. It helps to debug the issue in an effective way. Thank you! I just followed this guide https://www.tensorflow.org/install/source on Fedora 38 VM in UTM (fully updated) on Mac.

Please not that the problem is relatively simple, you just use symbols from `<cstdint>` but don't include it so you assume it's included indirectly by other headers. Maybe in some setups it just doesn't happen @tpasternak,
The file which you are referring for the changes to be done are available on the https://github.com/openxla/xla repository where we could not request for the changes. 
https://github.com/openxla/xla/blob/main/third_party/tsl/tsl/platform/denormal.cc
Could you please raise the issue or PR in the respective repo for the quick resolution. Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. 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/62344">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/62344">No</a>

### Issue type

Bug

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

No

### Source

source

### TensorFlow version

 v2.15.0-rc1

### Custom code

No

### OS platform and distribution

Fedora aarch64

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

the one from bazelversion

### GCC/compiler version

clang 16

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

When building I get

```
ERROR: /home/t/.cache/bazel/_bazel_t/74c2ce4d76380c471da861c13510ec30/external/local_tsl/tsl/platform/BUILD:119:11: Compiling tsl/platform/denormal.cc [for tool] failed: (Exit 1): gcc failed: error executing command (from target @local_tsl//tsl/platform:denormal) /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 ... (remaining 71 arguments skipped)
external/local_tsl/tsl/platform/denormal.cc:64:20: error: variable or field 'ArmSetFloatingPointControlRegister' declared void
   64 | static inline void ArmSetFloatingPointControlRegister(uint32_t fpcr) {
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/local_tsl/tsl/platform/denormal.cc:64:55: error: 'uint32_t' was not declared in this scope
   64 | static inline void ArmSetFloatingPointControlRegister(uint32_t fpcr) {
      |                                                       ^~~~~~~~
external/local_tsl/tsl/platform/denormal.cc:20:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   19 | #include "tsl/platform/platform.h"
  +++ |+#include <cstdint>
   20 | 
external/local_tsl/tsl/platform/denormal.cc:74:15: error: 'uint32_t' does not name a type
   74 | static inline uint32_t ArmGetFloatingPointControlRegister() {
      |               ^~~~~~~~
external/local_tsl/tsl/platform/denormal.cc:74:15: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
external/local_tsl/tsl/platform/denormal.cc: In function 'bool tsl::port::SetDenormalState(const DenormalState&)':
external/local_tsl/tsl/platform/denormal.cc:106:5: error: 'uint32_t' was not declared in this scope
  106 |     uint32_t fpcr = ArmGetFloatingPointControlRegister();
      |     ^~~~~~~~
external/local_tsl/tsl/platform/denormal.cc:106:5: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
external/local_tsl/tsl/platform/denormal.cc:108:7: error: 'fpcr' was not declared in this scope
  108 |       fpcr |= ARM_FPCR_FZ;
      |       ^~~~
external/local_tsl/tsl/platform/denormal.cc:110:7: error: 'fpcr' was not declared in this scope
  110 |       fpcr &= ~ARM_FPCR_FZ;
      |       ^~~~
external/local_tsl/tsl/platform/denormal.cc:112:40: error: 'fpcr' was not declared in this scope
  112 |     ArmSetFloatingPointControlRegister(fpcr);
      |                                        ^~~~
external/local_tsl/tsl/platform/denormal.cc:112:5: error: 'ArmSetFloatingPointControlRegister' was not declared in this scope
  112 |     ArmSetFloatingPointControlRegister(fpcr);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/local_tsl/tsl/platform/denormal.cc: In function 'tsl::port::DenormalState tsl::port::GetDenormalState()':
external/local_tsl/tsl/platform/denormal.cc:133:3: error: 'uint32_t' was not declared in this scope
  133 |   uint32_t fpcr = ArmGetFloatingPointControlRegister();
      |   ^~~~~~~~
external/local_tsl/tsl/platform/denormal.cc:133:3: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
external/local_tsl/tsl/platform/denormal.cc:134:8: error: 'fpcr' was not declared in this scope
  134 |   if ((fpcr & ARM_FPCR_FZ) != 0) {
      |        ^~~~

```

### Standalone code to reproduce the issue

```shell
N/A
```


### Relevant log output

_No response_