glibc/include
Adhemerval Zanella 1abdb38135 math: Handle fabsf128 !__USE_EXTERN_INLINES
Work around the clang limitation wrt inline function and attribute
definition, where it does not allow to 'add' new attribute if a
function is already defined:

clang on x86_64 fails to build s_fabsf128.c with:

../sysdeps/ieee754/float128/../ldbl-128/s_fabsl.c:32:1: error: attribute declaration must precede definition [-Werror,-Wignored-attributes]
   32 | libm_alias_ldouble (__fabs, fabs)
      | ^
../sysdeps/generic/libm-alias-ldouble.h:63:38: note: expanded from macro 'libm_alias_ldouble'
   63 | #define libm_alias_ldouble(from, to) libm_alias_ldouble_r (from, to, )
      |                                      ^
../sysdeps/ieee754/float128/float128_private.h:133:43: note: expanded from macro 'libm_alias_ldouble_r'
  133 | #define libm_alias_ldouble_r(from, to, r) libm_alias_float128_r (from, to, r)
      |                                           ^
../sysdeps/ieee754/float128/s_fabsf128.c:5:3: note: expanded from macro 'libm_alias_float128_r'
    5 |   static_weak_alias (from ## f128 ## r, to ## f128 ## r);       \
      |   ^
./../include/libc-symbols.h:166:46: note: expanded from macro 'static_weak_alias'
  166 | #  define static_weak_alias(name, aliasname) weak_alias (name, aliasname)
      |                                              ^
./../include/libc-symbols.h:154:38: note: expanded from macro 'weak_alias'
  154 | # define weak_alias(name, aliasname) _weak_alias (name, aliasname)
      |                                      ^
./../include/libc-symbols.h:156:52: note: expanded from macro '_weak_alias'
  156 |   extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
      |                                                    ^
../include/math.h:134:1: note: previous definition is here
  134 | fabsf128 (_Float128 x)

If compiler does not support __USE_EXTERN_INLINES we need to route
fabsf128 call to an internal symbol.
2025-11-17 11:17:07 -03:00
..
arpa Add _FORTIFY_SOURCE support for inet_pton 2025-03-24 14:43:03 -04:00
bits Add _FORTIFY_SOURCE support for inet_ntop 2025-03-21 09:35:42 +01:00
gnu Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
net
netinet
programs Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
protocols
rpc Optimize __libc_tsd_* thread variable access 2025-05-16 19:53:09 +02:00
rpcsvc
sys Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
aio.h
aliases.h Move 'aliases' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
alloc_buffer.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
alloca.h elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
allocate_once.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ar.h
argp-fmtstream.h argp: Move attribute_hidden to argp-fmtstream.h 2025-10-29 12:54:00 -03:00
argp.h
argz.h
array_length.h include/array_length.h: add array_foreach[_const] macros 2025-06-17 09:57:40 -03:00
assert.h assert: Do not use stderr in libc-internal assert 2022-08-03 11:43:04 +02:00
atomic.h Revert __HAVE_64B_ATOMICS configure check 2025-11-14 14:05:20 -03:00
atomic_wide_counter.h Revert __HAVE_64B_ATOMICS configure check 2025-11-14 14:05:20 -03:00
byteswap.h
clone_internal.h posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
complex.h
cpio.h
ctype.h Use proper extern declaration for _nl_C_LC_CTYPE_{class,toupper,tolower} 2025-05-16 19:53:09 +02:00
des.h
dirent.h
dlfcn.h elf: Do not add a copy of _dl_find_object to libc.so 2025-02-01 12:37:58 +01:00
dso_handle.h
elf.h elf: Add DL_ADDRESS_WITHOUT_RELOC [BZ #33088] 2025-07-01 03:44:52 +08:00
endian.h
envz.h
err.h
errno.h stdlib: Do not use GLIBC_PRIVATE ABI for errno in libc_nonshared.a 2024-09-06 14:07:00 +02:00
error.h Mark various cold functions as __COLD 2023-05-01 19:33:21 +02:00
execinfo.h
fcntl.h
features-time64.h
features.h Add feature test macros for POSIX.1-2024. 2025-11-04 18:00:57 -08:00
fenv.h math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
file_change_detection.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
filename.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
float.h
fmtmsg.h
fnmatch.h
fpu_control.h
fstab.h
fts.h
ftw.h
gconv.h
getopt.h
getopt_int.h
glob.h
gmp.h Apply asm redirection in gmp.h before first use 2022-11-07 10:40:21 -03:00
gnu-versions.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
grp-merge.h Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
grp.h Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
gshadow.h Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
iconv.h
idx.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ifaddrs.h nscd: Do not rebuild getaddrinfo (bug 30709) 2023-08-11 10:10:16 +02:00
ifreq.h
ifunc-impl-list.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
inline-hashtab.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
intprops-internal.h include: Sync gnulib intprops 2025-10-29 12:53:50 -03:00
intprops.h include: Sync gnulib intprops 2025-10-29 12:53:50 -03:00
inttypes.h
langinfo.h
lastlog.h
libc-diag.h Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
libc-internal.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-misc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-pointer-arith.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libc-symbols.h elf: Suppress unused function clang warning for __ifunc_resolver 2025-10-21 09:26:04 -03:00
libgen.h
libintl.h
limits.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
link.h elf: Restore support for _r_debug interpositions and copy relocations 2025-07-05 20:15:12 +02:00
list.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
list_t.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
locale.h
loop_unroll.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
malloc.h Simplify __malloc_initialized 2021-07-22 18:38:04 +05:30
math-narrow-eval.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
math.h math: Handle fabsf128 !__USE_EXTERN_INLINES 2025-11-17 11:17:07 -03:00
mcheck.h mcheck: Wean away from malloc hooks [BZ #23489] 2021-07-22 18:38:02 +05:30
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h Move 'netgroup' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
netgroup.h Move 'netgroup' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
nl_types.h
nss.h
nss_dns.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
nss_files.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
nsswitch.h
obstack.h
plural-exp.h
poll.h
printf.h stdio-common: Convert vfprintf and related functions to buffers 2022-12-19 18:56:54 +01:00
printf_buffer.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pthread.h
pty.h
pwd.h Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
random-bits.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
re_comp.h
regex.h Fix regex type usage 2023-05-01 09:08:59 -04:00
regexp.h
register-atfork.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
resolv.h resolv: Add internal __res_binary_hnok function 2022-08-30 10:02:49 +02:00
rounding-mode.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rtld-malloc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sched.h
scratch_buffer.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
search.h
set-freeres.h elf: Merge __dl_libc_freemem into __rtld_libc_freeres 2025-02-02 20:10:09 +01:00
setjmp.h support: add check_mem_access function 2025-09-15 09:47:41 +01:00
sgtty.h
shadow.h Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
shlib-compat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shm-directory.h shm-directory: Truncated struct member name length 2025-10-01 14:49:10 -03:00
signal.h stdio: Remove the usage of $(fno-unit-at-a-time) for siglist.c 2022-05-13 10:54:41 -03:00
spawn.h
stab.h
stackinfo.h elf: early conversion of elf p_flags to mprotect flags 2025-08-27 10:45:45 -03:00
stap-probe.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stdbit.h Implement C23 <stdbit.h> 2024-01-03 12:07:14 +00:00
stdc-predef.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stdint.h Undef __INT64_C/__UINT64_C for glibc build and test 2025-08-22 18:18:38 -07:00
stdio.h htl: move {,_IO_}f{,un,try}lockfile implementation into libc 2025-11-13 23:01:07 +01:00
stdio_ext.h
stdlib.h debug: Improve '%n' fortify detection (BZ 30932) 2025-03-21 15:46:48 -03:00
string.h string: Check if attribute can declared after function declaration 2025-11-10 08:57:56 -03:00
strings.h
struct___timeb64.h
struct___timespec64.h
struct___timeval64.h
stubs-prologue.h
syscall.h
sysexits.h
syslog.h
tar.h
termios.h termios: add new baud_t interface, defined to be explicitly numeric 2025-06-17 09:11:38 -03:00
tgmath.h Don't use glibc <tgmath.h> when testing with Clang 2024-12-21 05:24:07 +08:00
time.h Define in_int32_t_range to check if the 64 bit time_t syscall should be used 2022-11-17 14:35:13 -03:00
ttyent.h
uchar.h
ucontext.h
ulimit.h
unistd.h io: replace local_isatty() with a proper function __isatty_nostatus() 2025-06-17 09:11:38 -03:00
unistd_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
utime.h
utmp.h
values.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
verify.h
wait.h
wchar.h Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
wctype.h
wordexp.h