[Bug 238129] Please enable the type __float128 that is already supported by clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 5 10:05:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238129

Thierry Thomas <thierry at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #213010|0                           |1
        is obsolete|                            |

--- Comment #6 from Thierry Thomas <thierry at FreeBSD.org> ---
Created attachment 214150
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214150&action=edit
New experimental port of math/libquadmath

(In reply to Brooks Davis from comment #5)

According to your answer, it seems that the header is not sufficient and the
whole library is requested.

This new attachment removes 'USE_GCC', but of course it fails with clang:

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I ./../include -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -MT math/fmodq.lo -MD -MP -MF
math/.deps/fmodq.Tpo -c math/fmodq.c  -fPIC -DPIC -o math/.libs/fmodq.o
In file included from math/acoshq.c:30:
In file included from ./quadmath-imp.h:29:
./quadmath.h:33:39: error: unsupported machine mode 'TC'
typedef _Complex float __attribute__((mode(TC))) __complex128;
                                      ^
./quadmath.h:47:26: error: __float128 is not supported on this target
extern __float128 acosq (__float128) __quadmath_throw;
                         ^
./quadmath.h:47:8: error: __float128 is not supported on this target
extern __float128 acosq (__float128) __quadmath_throw;
       ^
./quadmath.h:48:27: error: __float128 is not supported on this target
…

If the support of 128 bits float get enabled, as suggested in comment #1, could
this compile?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list