[PATCH] Raise the minimum GCC version to GCC 7.1 [BZ #32414]

Sam James sam@gentoo.org
Wed Dec 4 22:25:31 GMT 2024


"H.J. Lu" <hjl.tools@gmail.com> writes:

> commit 776938e8b8dcf2b59998979e91cc0f9db7d771a8
> Author: Joseph Myers <josmyers@redhat.com>
> Date:   Wed Dec 4 20:04:04 2024 +0000
>
>     Implement C23 sinpi
>
> doesn't build with GCC 6:
> ...
> ./s_cospi_template.c: In function ‘__cospif128’:
> ./s_cospi_template.c:29:27: error: invalid suffix "f128" on floating constant
>    x = M_FABS (x - M_MLIT (2.0) * M_SUF (round) (M_LIT (0.5) * x));
>                            ^
> ../sysdeps/generic/math-type-macros-float128.h:31:19: note: in
> definition of macro ‘M_MLIT’
>  #define M_MLIT(c) c ## f128
>                    ^
>
> Also tst-strtod5.c and tst-strtod5i.c can't build with GCC 6.  Raise the
> minimum GCC version to GCC 7.1.  This fixes BZ #32414.

In the patch, the version is inconsistent. Please change it to 7.1 in
both instances.


More information about the Libc-alpha mailing list