# \_\_float128 compilation error

**URL:** <https://root-forum.cern.ch/t/float128-compilation-error/55058>\
**Category:** Newbie\
**Tags:** root\
**Created:** [May 26, 2023, 5:10pm UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058 "2023-05-26T17:10:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChipKerchner](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@ChipKerchner](https://root-forum.cern.ch/u/ChipKerchner)\
**Post date:** [May 26, 2023, 5:10pm UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058/1 "2023-05-26T17:10:37Z")

</div>

I’m trying to compile a copy of the Github clone of ROOT for PowerPC. I get these errors. Is there a way to turn on \_\_float128 support?

```auto
Disabling gnu++: clang has no __float128 support on this target!

```

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [May 30, 2023, 7:56am UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058/2 "2023-05-30T07:56:47Z")

</div>

Dear @ChipKerchner ,

What version of ROOT are you trying to compile? What is the compiler version?

I invite @Axel , @pcanal that might be able to help, once you give us more information.

Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![ChipKerchner](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@ChipKerchner](https://root-forum.cern.ch/u/ChipKerchner)\
**Post date:** [May 30, 2023, 11:53am UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058/3 "2023-05-30T11:53:42Z")

</div>

– Detected ROOT\_VERSION 6.29.01

– The C compiler identification is GNU 14.0.0  
– The CXX compiler identification is GNU 14.0.0

---

<div class="post-metadata">

**Author:** ![ChipKerchner](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@ChipKerchner](https://root-forum.cern.ch/u/ChipKerchner)\
**Post date:** [June 1, 2023, 1:46pm UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058/4 "2023-06-01T13:46:51Z")

</div>

I see that a possible solution is to use “-mfloat128”.

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [June 13, 2023, 7:24am UTC](https://root-forum.cern.ch/t/float128-compilation-error/55058/5 "2023-06-13T07:24:03Z")

</div>

Without validating our own error messages - this seems to indicate that clang itself does not support \_\_float128 on power, which is why ROOT asks you to not build with `-std=gnu++17` or whatever but `-std=c++17` or whatever standard version you need.
