Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2020 10:05:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 238129] Please enable the type __float128 that is already supported by clang
Message-ID:  <bug-238129-29464-Bn9Kyhn0pJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238129-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238129-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238129

Thierry Thomas <thierry@FreeBSD.org> changed:

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

--- Comment #6 from Thierry Thomas <thierry@FreeBSD.org> ---
Created attachment 214150
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214150&action=
=3Dedit
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
=E2=80=A6

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238129-29464-Bn9Kyhn0pJ>