[PATCH] D40673: Add _Float128 as alias to __float128 to enable compilations on Fedora27/glibc2-26

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 11:40:50 PST 2018


efriedma added a comment.

> as this patch is committed clang is broken (cannot use glibc headers)

This patch was supposed to *fix* compatibility with the glibc headers.  If it doesn't, we should clearly revert it... but we need to figure out what we need to do to be compatible first.

>From what I can see on this thread, we *must* define _Float128 on x86-64 Linux, and we *must not* define _Float128 for any other glibc target.  Is that correct?  Or does it depend on the glibc version?

(We have a bit of time before the 6.0 release, so we can adjust the behavior here to make it work.  We probably don't want to try to add full _Float128 support on the branch, though.)


Repository:
  rC Clang

https://reviews.llvm.org/D40673





More information about the cfe-commits mailing list