glibc/sysdeps/x86_64/x32
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
..
fpu Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
_itoa.h Add a comment to sysdeps/x86_64/x32/_itoa.h 2012-05-19 06:46:29 -07:00
divdi3.c Add dummy files for x32 2012-05-16 10:24:02 -07:00
dl-machine.h x86_64: Remove _dl_skip_args usage 2022-05-30 16:33:34 -03:00
ffs.c Add x32 ffs 2012-05-16 11:54:56 -07:00
gmp-mparam.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Implies-after Add x86_64 Implies-after files 2012-05-15 14:38:32 -07:00
Makefile Fix build with GCC 13 _FloatN, _FloatNx built-in functions 2022-10-31 23:20:08 +00:00
symbol-hacks.h Include generic symbol-hacks.h for x32 2014-01-20 11:11:01 -08:00
sysdep.h x86-64: Move LP_SIZE definition to its own header 2022-10-18 17:02:08 +02:00
test-size_t.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-memchr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-memcmp-2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-memcmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-memcpy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-memrchr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-memset.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-strncasecmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-strncmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-strncpy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-strnlen.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-wcsncmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-wcsnlen.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-wmemchr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-wmemcmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-size_t-wmemset.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86-lp_size.h x86-64: Move LP_SIZE definition to its own header 2022-10-18 17:02:08 +02:00