glibc/sysdeps/ieee754/ldbl-96
Joseph Myers f66780ba46 Fix build with GCC 13 _FloatN, _FloatNx built-in functions
GCC 13 has added more _FloatN and _FloatNx versions of existing
<math.h> and <complex.h> built-in functions, for use in libstdc++-v3.

This breaks the glibc build because of how those functions are defined
as aliases to functions with the same ABI but different types.  Add
appropriate -fno-builtin-* options for compiling relevant files, as
already done for the case of long double functions aliasing double
ones and based on the list of files used there.

I fixed some mistakes in that list of double files that I noticed
while implementing this fix, but there may well be more such
(harmless) cases, in this list or the new one (files that don't
actually exist or don't define the named functions as aliases so don't
need the options).  I did try to exclude cases where glibc doesn't
define certain functions for _FloatN or _FloatNx types at all from the
new uses of -fno-builtin-* options.  As with the options for double
files (see the commit message for commit
49348beafe, "Fix build with GCC 10 when
long double = double."), it's deliberate that the options are used
even if GCC currently doesn't have a built-in version of a given
functions, so providing some level of future-proofing against more
such built-in functions being added in future.

Tested with build-many-glibcs.py for aarch64-linux-gnu
powerpc-linux-gnu powerpc64le-linux-gnu x86_64-linux-gnu (compilers
and glibcs builds) with GCC mainline.
2022-10-31 23:20:08 +00:00
..
bits Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
include/bits Add canonicalize, canonicalizef, canonicalizel. 2016-10-26 23:14:31 +00:00
e_acoshl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_atanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_gammal_r.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_hypotl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_j0l.c Adjust thresholds in Bessel function implementations (bug 14469). 2020-02-14 14:16:25 +00:00
e_j1l.c Adjust thresholds in Bessel function implementations (bug 14469). 2020-02-14 14:16:25 +00:00
e_jnl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_lgammal_r.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_rem_pio2l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_sinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
gamma_product.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
gamma_productl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_cosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_sinl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_tanl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldbl2mpn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
lgamma_negl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
lgamma_product.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
lgamma_productl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makeconfig add workload traces for cbrtl 2021-05-10 18:45:34 +02:00
Makefile Fix build with GCC 13 _FloatN, _FloatNx built-in functions 2022-10-31 23:20:08 +00:00
math_ldbl.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
math-nan-payload-ldouble.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mpn2ldbl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
nan-pseudo-number.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
printf_fphex.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_asinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrtl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_copysignl.c math: Use builtin for ldbl-96 copysign 2022-04-07 14:54:14 -03:00
s_cosl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_daddl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_ddivl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dfmal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dmull.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dsqrtl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dsubl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_erfl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_fabsl.c math: Add math-use-builtins-fabs (BZ#29027) 2022-05-23 17:49:18 -03:00
s_faddl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fdivl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_ffmal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fma.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fmal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fmull.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_frexpl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fromfpl_main.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fromfpl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_fromfpxl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_fsqrtl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fsubl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_getpayloadl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_iscanonicall.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_issignalingl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llrintl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llroundl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lrintl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lroundl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_modfl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nexttoward.c Do not include math-barriers.h in math_private.h. 2018-05-11 15:11:38 +00:00
s_nexttowardf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextupl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_remquol.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_roundevenl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_roundl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_scalblnl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_setpayloadl_main.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_setpayloadl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_setpayloadsigl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_signbitl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_sincosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_sinl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_totalorderl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_totalordermagl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_ufromfpl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_ufromfpxl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
strtold_l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
t_sincosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-canonical-ldbl-96.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-sinl-pseudo.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-totalorderl-ldbl-96.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x2y2m1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x2y2m1l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00