This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch azanella/ubsan-undef in repository glibc.
discards da3dac8108 riscv: Fix --enable-ubsan build failure on riscv discards 55fdeeb6d9 locale: Fix --enable-ubsan build failure on some ABIs discards ab3a11e880 ubsan fix discards 37f848b2b4 gmon: Fix UB in sprofil discards 0fe1a4d2a2 gmon: Fix UB in tst-sprofil.c discards 6c533b895d string: Remove UB on ffs/ffsll discards d49e8f838b string: Fix UB on test-strrchr discards b92057ee72 sysvipc: Fix UB on time64 time support discards 39edff5080 nptl: xfail tst-cleanup2 when building with ubsan discards 17b0843090 powerpc: Fix powerpc64 build for ubsan discards f50ebcd36f stdio: Fix test-printf-ldbl-compat.c build with ubsan discards 87d25a96f1 stdio: Fix test-printf-chk-ldbl-compat build with ubsan discards 964ce3642f stdio-common: Fix UB on stdio-common/vfprintf-process-arg.c discards c3d96b88c6 nss: Fix tst-nss-hash UB discards 190af0bb2b nss: Fix UB on test-netdb discards fbbf41f3c7 stdlib: Fix tst-makecontext3 UB discards 631b81d6ad linux: Fix UB on tst-sched-setattr.c discards 1a92b894ee string: Fix UB on tesf-ffs discards c557a04faa stdlib: Fix UB in tst-limits.c discards f95df98d63 stdlib: Adapt tst-environ to ubsan discards 887e7bce2d stdlib: Fix UB on strtod FIX discards cfb20f37be math: Rewrite ldbl-128 isnan discards 44b88a9a57 math: Fix UB in float128 atan2 discards 5c02e0978e math: Fix UB in test-canonical-ldbl-96.c discards d793e24ed3 sunrpc: Fix UB on xdr_hyper discards 721744a7d2 string: Fix UB on gneric strncmp discards 2d8e8a74af string: Fix UB on index_first/index_last discards c5015efae9 string: Fix UB on generic strcmp discards 22e282f831 string: Fix UB on gneric stpcpy discards be343d9a22 stdlib: Fix UB on strtod discards 22befdecb9 stdlib: Fix UB on erand48/jrand48 discards ca21ef3bfa stdlib: Fix __libc_message_impl iovec size discards 403692ad0f nss: Fix UB on fls discards 7249bf8e05 locale: Fix UB on VLA allocation discards 0bcf9b211e libio: Fix UB __libio_codecvt_length discards ca61eab4ff iconv: Fix UB on iconv/tst-translit-mchar discards 56bf4778f0 iconv: Fix UB on find_derivation discards 6c724ad6a6 elf: Fix UB on _dl_map_object_from_fd discards e9a79a8993 math: Fix UB in setayloadf discards 93e7f5245b math: Fix UB in setayload discards e31515a61d math: Remove UB from float18 ilogbf discards 1246c923ed math: Optimize float ilogb/llogb discards ddd554115b math: Remove UB and optimize double ilogbf discards b4ddbfd573 math: Optimize double ilogb/llogb discards 02e4db069b math: Remove UB and optimize double ilogb discards 434c604d17 math: Fix UB in expm1 discards 5417af529d aarch64: Fix UB in ifunc resolvers discards 6f13243d3f malloc: Fix UB in malloc-debug discards 042b4ffb79 stdio: Fix UB on snprintf discards 941ce3966c x86: Fix UB in x86_cpu_present/x86_cpu_active discards caa99fd181 x86_64: Fix UB on plt rewrite discards ad5cec7c93 elf: Fix UB on _dl_early_allocate discards 4593db5868 locale: Fix UB in elem_hash discards 2fe7f6f20b locale: Fix UB on add_locale_uint32_array discards fc3c4a4a39 locale: Fix UB on insert_weights discards bdab107bf3 localte: Fix UB on collate_finish discards bca612adf6 locate: Fix UB on memcpy call discards 279921f65a elf: Adjust DT_EXTRATAGIDX to avoid undefined shifts discards bf3b9164a1 argp: Fix shift bug discards 0c9a77e794 elf: Enable ubsan on arm discards baa4e15e3d ubsan: Add initial support for -fsanitize=undefined adds 5d10174581 malloc: Inline tcache_try_malloc adds 59f64a1f4f Correct test descriptors in libm-test-pown.inc adds 4f6dae2195 S390: Add new s390 platform z17. adds 3270c50e48 manual: add more pthread functions adds ac4e838289 powerpc: Remove POWER7 strncasecmp optimization adds b4495bd405 nss: remove undefined behavior and optimize getaddrinfo new aacf6238fb ubsan: Add initial support for -fsanitize=undefined new f13e58f9b1 riscv: Fix --enable-ubsan build failure on riscv new 8ab4aa30e5 locale: Fix --enable-ubsan build failure on some ABIs new 73c7242778 elf: Adjust DT_EXTRATAGIDX to avoid undefined shifts new 59d419cf12 locate: Fix UB on memcpy call new 915959c55d locale: Fix UB on insert_weights new 35926746ce localte: Fix UB on collate_finish new cca9c0078a locale: Fix UB in elem_hash new 214c2949f3 locale: Fix UB on add_locale_uint32_array new ca7d4d01c3 argp: Fix shift bug new 870caec556 elf: Fix UB on _dl_map_object_from_fd new f2cdb6b370 elf: Fix UB on _dl_early_allocate new b56ea5e8b9 x86_64: Fix UB on plt rewrite new 66d52731eb x86: Fix UB in x86_cpu_present/x86_cpu_active new 920d891e9f stdio: Fix UB on snprintf new a5e313a177 malloc: Fix UB in malloc-debug new fb5625a2ef aarch64: Fix UB in ifunc resolvers new 39411c363f math: Fix UB in expm1 new 8d79a9bc06 math: Remove UB and optimize double ilogb new b8c74692b7 math: Optimize double ilogb/llogb new 1aea8024a4 math: Remove UB and optimize double ilogbf new c6b77eae06 math: Optimize float ilogb/llogb new 2aab7f858c math: Remove i386 ilogb/ilogbf/llogb/llogbf new 03b5ed2ff6 powerpc: Use generic ilogb/ilogbf and refactor ilogbf128 new abf0051a05 math: Remove UB from float128 ilogbf new a44a668e87 math: Fix UB in setayload new e3a377fd74 math: Fix UB in setayloadf new 8c9be9c923 iconv: Fix UB on find_derivation new 6401a0eafd iconv: Fix UB on iconv/tst-translit-mchar new a1b4b5035b libio: Fix UB __libio_codecvt_length new 673730ce58 locale: Fix UB on VLA allocation new a73528412c stdlib: Fix __libc_message_impl iovec size new 00c450278f stdlib: Fix UB on erand48/jrand48 new 7921ec7f09 stdlib: Fix UB on strtod new 88847d611d string: Fix UB on gneric stpcpy new 1f280622be string: Fix UB on generic strcmp new a67a8eda72 string: Fix UB on index_first/index_last new d2e29b721c string: Fix UB on gneric strncmp new 57db1ec5da sunrpc: Fix UB on xdr_hyper new 309c128f94 math: Fix UB in test-canonical-ldbl-96.c new a47eca06bf math: Fix UB in float128 atan2 new a01329225d math: Rewrite ldbl-128 isnan new 0979449775 stdlib: Fix UB on strtod FIX new eada5ec35a stdlib: Adapt tst-environ to ubsan new aaff9a0dee stdlib: Fix UB in tst-limits.c new 6358350242 string: Fix UB on tesf-ffs new caee3a91c3 linux: Fix UB on tst-sched-setattr.c new f29451e23a stdlib: Fix tst-makecontext3 UB new 6b39bb2322 nss: Fix UB on test-netdb new 23a45ea7a0 nss: Fix tst-nss-hash UB new 2ab3bd0c69 stdio-common: Fix UB on stdio-common/vfprintf-process-arg.c new 10114d7df7 stdio: Fix test-printf-chk-ldbl-compat build with ubsan new 3eedd60dc2 stdio: Fix test-printf-ldbl-compat.c build with ubsan new 4e90f835c6 nptl: xfail tst-cleanup2 when building with ubsan new 5fedf9cc70 sysvipc: Fix UB on time64 time support new 2f68231b29 string: Fix UB on test-strrchr new e44b01fd17 string: Remove UB on ffs/ffsll new be9dd0855c gmon: Fix UB in tst-sprofil.c new 5f0a4d1f66 gmon: Fix UB in sprofil new 64227bfa5e x86: Fix UB in isinfl new 4393a3d369 x86: Fix UB in isnanl new 828c8d681d math: Fix UB on llroundl new 3577535535 math: Fix UB on lroundl new d4e2ba84ec math: Fix UB on ldbl-96 remquol new 517fb46f96 math: Fix UB in ldbl-96 setayloadl new c1328db239 math: Fix UB in ldbl-128 llroundl new 1d6ffaee88 math: Fix UB on ldbl-128 fmodl new ba821c6674 math: Fix UB in ldbl-128 llrintl new 202be438e7 math: Fix UB in ldbl-128 lrintl new 5044751401 math: Fix UB in lroundl new 892e658713 math: Fix UB in ldbl-128 nearbyintl new 47fb9f3c5d math: Fix UB in ldbl-128 rintl new d7378ac577 math: Fix UB in __ieee754_rem_pio2l new cf0f42a85a math: Fix UB in ldbl-128 roundl new 0eac8ec854 math: Fix UB in ldbl-128 powl new 6d4bb69e61 math: Fix UB in ldbl-96 sinl new d159a0a026 math: Fix UB in flt-32 and dbl-64 significand new 52aaa658b0 math: Fix UB in ldbl-128 setpayload new 94fde92bd4 math: Fix UB in dbl-64 lrint new 7f54eda060 math: Fix UB on dbl-64 rint new 83ea5860ad math: Fix UB in flt-32 nearbyint new a154462425 math: Fix UB in flt-32 rint
This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this:
* -- * -- B -- O -- O -- O (da3dac8108) \ N -- N -- N refs/heads/azanella/ubsan-undef (a154462425)
You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B.
Any revisions marked "omits" are not gone; other references still refer to them. Any revisions marked "discards" are gone forever.
The 82 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: INSTALL | 9 + Makeconfig | 2 +- elf/Makefile | 11 +- elf/tst-glibc-hwcaps-cache.script | 7 + include/sys/cdefs.h | 4 +- locale/programs/charmap.h | 6 +- malloc/malloc.c | 51 +-- manual/install.texi | 8 + manual/threads.texi | 396 +++++++++++++++++++++ math/libm-test-isnan.inc | 2 + math/libm-test-pown.inc | 188 +++++----- math/s_significand_template.c | 3 +- nss/getaddrinfo.c | 29 +- posix/glob.c | 4 +- sysdeps/generic/symbol-hacks.h | 2 + sysdeps/i386/fpu/e_ilogb.S | 41 --- sysdeps/i386/fpu/e_ilogbf.S | 41 --- sysdeps/i386/fpu/math_err.c | 1 - sysdeps/ieee754/dbl-64/math_config.h | 2 + sysdeps/ieee754/dbl-64/math_err.c | 32 ++ sysdeps/ieee754/dbl-64/s_lrint.c | 2 +- sysdeps/ieee754/dbl-64/s_rint.c | 3 +- .../ieee754/dbl-64/w_ilogb-impl.h | 40 +-- sysdeps/ieee754/dbl-64/w_ilogb.c | 39 +- sysdeps/ieee754/flt-32/math_config.h | 2 + sysdeps/ieee754/flt-32/math_errf.c | 33 ++ sysdeps/ieee754/flt-32/s_nearbyintf.c | 3 +- sysdeps/ieee754/flt-32/s_rintf.c | 3 +- .../ieee754/flt-32/w_ilogbf-impl.h | 41 +-- sysdeps/ieee754/flt-32/w_ilogbf.c | 39 +- sysdeps/ieee754/ldbl-128/e_fmodl.c | 11 +- sysdeps/ieee754/ldbl-128/e_powl.c | 2 +- sysdeps/ieee754/ldbl-128/e_rem_pio2l.c | 10 +- sysdeps/ieee754/ldbl-128/s_llrintl.c | 2 +- sysdeps/ieee754/ldbl-128/s_llroundl.c | 2 +- sysdeps/ieee754/ldbl-128/s_lrintl.c | 4 +- sysdeps/ieee754/ldbl-128/s_lroundl.c | 2 +- sysdeps/ieee754/ldbl-128/s_nearbyintl.c | 3 +- sysdeps/ieee754/ldbl-128/s_rintl.c | 3 +- sysdeps/ieee754/ldbl-128/s_roundl.c | 2 +- sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c | 3 +- sysdeps/ieee754/ldbl-96/k_sinl.c | 2 +- sysdeps/ieee754/ldbl-96/s_llroundl.c | 3 +- sysdeps/ieee754/ldbl-96/s_remquol.c | 2 +- sysdeps/ieee754/ldbl-96/s_roundl.c | 2 +- sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c | 3 +- sysdeps/loongarch/fpu/e_ilogbf.c | 40 +-- .../loongarch/fpu/{e_ilogb.c => w_ilogb-impl.h} | 12 +- .../loongarch/fpu/{e_ilogbf.c => w_ilogbf-impl.h} | 12 +- sysdeps/m68k/m680x0/fpu/math_err.c | 1 - sysdeps/m68k/m680x0/{fpu/s_fabs.c => w_ilogb.c} | 2 +- sysdeps/m68k/m680x0/{fpu/s_fabsf.c => w_ilogbf.c} | 2 +- sysdeps/m68k/m680x0/{fpu/s_fabs.c => w_llogb.c} | 2 +- sysdeps/m68k/m680x0/{fpu/s_fabsf.c => w_llogbf.c} | 2 +- .../powerpc/powerpc32/power4/multiarch/Makefile | 7 +- .../powerpc32/power4/multiarch/ifunc-impl-list.c | 15 - .../powerpc32/power4/multiarch/strncase-power7.c | 26 -- .../powerpc/powerpc32/power4/multiarch/strncase.c | 41 --- .../powerpc32/power4/multiarch/strncase_l-power7.c | 26 -- .../powerpc32/power4/multiarch/strncase_l.c | 42 --- sysdeps/powerpc/powerpc64/le/fpu/e_ilogbf128.c | 1 + sysdeps/powerpc/powerpc64/le/fpu/e_llogbf128.c | 1 + .../powerpc/powerpc64/le/fpu/multiarch/Makefile | 2 +- .../powerpc/powerpc64/le/fpu/w_ilogb_template.c | 30 -- .../powerpc/powerpc64/le/fpu/w_ilogbf128-impl.h | 57 +++ .../powerpc/powerpc64/le/fpu/w_ilogbf128-power9.c | 1 + .../powerpc64/le/fpu/w_ilogbf128.c} | 48 +-- .../powerpc/powerpc64/le/fpu/w_llogbf128-power9.c | 1 + sysdeps/powerpc/powerpc64/le/fpu/w_llogbf128.c | 2 + sysdeps/powerpc/powerpc64/multiarch/Makefile | 3 - .../powerpc/powerpc64/multiarch/ifunc-impl-list.c | 11 - .../powerpc/powerpc64/multiarch/strncase-power7.c | 24 -- sysdeps/powerpc/powerpc64/multiarch/strncase.c | 7 +- .../powerpc64/multiarch/strncase_l-power7.c | 30 -- sysdeps/powerpc/powerpc64/multiarch/strncase_l.c | 42 --- sysdeps/s390/cpu-features.c | 77 +++- sysdeps/s390/cpu-features.h | 55 ++- .../s390/dl-diagnostics-cpu.c | 32 +- sysdeps/s390/multiarch/ifunc-impl-list.c | 4 +- sysdeps/s390/multiarch/ifunc-resolve.h | 2 +- sysdeps/s390/s390-64/Makefile | 27 +- sysdeps/s390/s390-64/dl-hwcap-check.h | 21 +- sysdeps/s390/s390-64/dl-hwcaps-subdirs.c | 12 +- sysdeps/s390/s390-64/tst-glibc-hwcaps.c | 52 ++- sysdeps/unix/sysv/linux/s390/sysconf.c | 2 +- sysdeps/{i386 => x86}/fpu/s_isinfl.c | 5 +- sysdeps/x86/fpu/s_isnanl.c | 5 +- sysdeps/x86_64/fpu/s_isinfl.c | 1 - 88 files changed, 1031 insertions(+), 854 deletions(-) delete mode 100644 sysdeps/i386/fpu/e_ilogb.S delete mode 100644 sysdeps/i386/fpu/e_ilogbf.S delete mode 100644 sysdeps/i386/fpu/math_err.c copy nptl_db/td_init.c => sysdeps/ieee754/dbl-64/w_ilogb-impl.h (58%) copy nptl_db/td_init.c => sysdeps/ieee754/flt-32/w_ilogbf-impl.h (56%) rename sysdeps/loongarch/fpu/{e_ilogb.c => w_ilogb-impl.h} (86%) copy sysdeps/loongarch/fpu/{e_ilogbf.c => w_ilogbf-impl.h} (86%) delete mode 100644 sysdeps/m68k/m680x0/fpu/math_err.c copy sysdeps/m68k/m680x0/{fpu/s_fabs.c => w_ilogb.c} (55%) copy sysdeps/m68k/m680x0/{fpu/s_fabsf.c => w_ilogbf.c} (54%) copy sysdeps/m68k/m680x0/{fpu/s_fabs.c => w_llogb.c} (55%) copy sysdeps/m68k/m680x0/{fpu/s_fabsf.c => w_llogbf.c} (54%) delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c create mode 100644 sysdeps/powerpc/powerpc64/le/fpu/e_ilogbf128.c create mode 100644 sysdeps/powerpc/powerpc64/le/fpu/e_llogbf128.c delete mode 100644 sysdeps/powerpc/powerpc64/le/fpu/w_ilogb_template.c create mode 100644 sysdeps/powerpc/powerpc64/le/fpu/w_ilogbf128-impl.h create mode 100644 sysdeps/powerpc/powerpc64/le/fpu/w_ilogbf128-power9.c copy sysdeps/{ieee754/dbl-64/w_ilogb.c => powerpc/powerpc64/le/fpu/w_ilogbf128.c} (56%) create mode 100644 sysdeps/powerpc/powerpc64/le/fpu/w_llogbf128-power9.c create mode 100644 sysdeps/powerpc/powerpc64/le/fpu/w_llogbf128.c delete mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c delete mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c delete mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncase_l.c copy elf/dl-execstack-tunable.c => sysdeps/s390/dl-diagnostics-cpu.c (58%) rename sysdeps/{i386 => x86}/fpu/s_isinfl.c (88%) delete mode 100644 sysdeps/x86_64/fpu/s_isinfl.c