forked from rpms/glibc
2118accf25
Resolves: RHEL-45522
Fedora 40 commit: 9404e14f4d
Upstream commit: 4bdcc1963bc2b5ba5f8e319e402d9eb2cb6096c1
Fedora 40 changes:
- Backport /etc/resolv.conf enhancements to thelp with RHEL-18039 testing
Related: RHEL-50663
- Support --without testsuite builds without perl installed (#2292195)
- Use release instead of baserelease for glibc32 conflict
- Add Conflicts:/Obsoletes: for glibc32 to glibc.i686
- ppc64le: Build early startup code with -mcpu=power8
Resolves: RHEL-43456
- Move ANSI_X3.110-1983 support from main package to glibc-gconv-extra.
Resolves: RHEL-41206
Upstream changes:
- manual: make setrlimit() description less ambiguous
- manual/stdio: Clarify putc and putwc
- malloc: add multi-threaded tests for aligned_alloc/calloc/malloc
- malloc: avoid global locks in tst-aligned_alloc-lib.c
- resolv: Track single-request fallback via _res._flags (bug 31476)
- resolv: Do not wait for non-existing second DNS response after error (bug 30081)
- resolv: Allow short error responses to match any query (bug 31890)
Resolves: RHEL-50663
- elf: Fix localplt.awk for DT_RELR-enabled builds (BZ 31978)
- Fix usage of _STACK_GROWS_DOWN and _STACK_GROWS_UP defines [BZ 31989]
- Linux: Make __rseq_size useful for feature detection (bug 31965)
- elf: Make dl-rseq-symbols Linux only
- nptl: fix potential merge of __rseq_* relro symbols
- s390x: Fix segfault in wcsncmp [BZ #31934]
Resolves: RHEL-49488
- stdlib: fix arc4random fallback to /dev/urandom (BZ 31612)
- math: Provide missing math symbols on libc.a (BZ 31781)
- math: Fix isnanf128 static build (BZ 31774)
- math: Fix i386 and m68k exp10 on static build (BZ 31775)
- math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488)
- posix: Fix pidfd_spawn/pidfd_spawnp leak if execve fails (BZ 31695)
67 lines
2.3 KiB
Diff
67 lines
2.3 KiB
Diff
commit d2cbfcf1d9a4b539007fe04d33e0bdb82d02a2f2
|
|
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
|
Date: Wed May 22 15:07:12 2024 -0300
|
|
|
|
math: Provide missing math symbols on libc.a (BZ 31781)
|
|
|
|
The libc.a for alpha, s390, and sparcv9 does not provide
|
|
copysignf64x, copysignf128, frexpf64x, frexpf128, modff64x, and
|
|
modff128.
|
|
|
|
Checked with a static build for the affected ABIs.
|
|
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
|
|
|
|
(cherry picked from commit eaa8113bf0eb599025e3efdbe1bb214ee8dc645a)
|
|
|
|
diff --git a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c
|
|
index 11b42d04ba61b446..80137847d32c7c08 100644
|
|
--- a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c
|
|
+++ b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c
|
|
@@ -1,10 +1,10 @@
|
|
#include <math_ldbl_opt.h>
|
|
#include <libm-alias-ldouble.h>
|
|
-#if IS_IN (libc)
|
|
+#if IS_IN (libc) && defined SHARED
|
|
# undef libm_alias_ldouble
|
|
# define libm_alias_ldouble(from, to)
|
|
#endif
|
|
#include <sysdeps/ieee754/ldbl-128/s_copysignl.c>
|
|
-#if IS_IN (libc)
|
|
+#if IS_IN (libc) && defined SHARED
|
|
long_double_symbol (libc, __copysignl, copysignl);
|
|
#endif
|
|
diff --git a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
|
|
index 73ac41e40c214394..f5f7d349f78ab64e 100644
|
|
--- a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
|
|
+++ b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
|
|
@@ -1,10 +1,10 @@
|
|
#include <math_ldbl_opt.h>
|
|
#include <libm-alias-ldouble.h>
|
|
-#if IS_IN (libc)
|
|
+#if IS_IN (libc) && defined SHARED
|
|
# undef libm_alias_ldouble
|
|
# define libm_alias_ldouble(from, to)
|
|
#endif
|
|
#include <sysdeps/ieee754/ldbl-128/s_frexpl.c>
|
|
-#if IS_IN (libc)
|
|
+#if IS_IN (libc) && defined SHARED
|
|
long_double_symbol (libc, __frexpl, frexpl);
|
|
#endif
|
|
diff --git a/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/sysdeps/ieee754/ldbl-64-128/s_modfl.c
|
|
index 7d7aeae111fc6e7a..ba3d31334a0fefa0 100644
|
|
--- a/sysdeps/ieee754/ldbl-64-128/s_modfl.c
|
|
+++ b/sysdeps/ieee754/ldbl-64-128/s_modfl.c
|
|
@@ -1,10 +1,10 @@
|
|
#include <math_ldbl_opt.h>
|
|
#include <libm-alias-ldouble.h>
|
|
-#if IS_IN (libc)
|
|
+#if IS_IN (libc) && defined SHARED
|
|
# undef libm_alias_ldouble
|
|
# define libm_alias_ldouble(from, to)
|
|
#endif
|
|
#include <sysdeps/ieee754/ldbl-128/s_modfl.c>
|
|
-#if IS_IN (libc)
|
|
+#if IS_IN (libc) && defined SHARED
|
|
long_double_symbol (libc, __modfl, modfl);
|
|
#endif
|