[PATCH 0/5] Improve TEST_CC/TEST_CXX testing with clang

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Dec 5 19:11:31 GMT 2025


Some testing options are not supported by ld.ldd, so it requires using
TEST_CC instead of CC for some linker options. clang also optimizes away
some newer malloc symbols, so extend the tst-malloc-aux.h for pvalloc
and reallocarray.

Adhemerval Zanella (5):
  configure: use TEST_CC to check for --no-error-execstack
  configure: use TEST_CC to check for --depaudit
  configure: use TEST_CC to check for -Ttext-segment
  malloc: Extend malloc function hiding to tst-pvalloc (BZ #32366)
  malloc: Extend malloc function hiding to tst-reallocarray (BZ #32366)

 aclocal.m4                | 32 ++++++++++++++++++++++++++
 configure                 | 47 +++++++++++++++++++++++++++++++++++++++
 configure.ac              | 21 +++++++++++------
 malloc/tst-malloc-aux.h   |  3 +++
 malloc/tst-pvalloc.c      |  1 +
 malloc/tst-reallocarray.c |  1 +
 6 files changed, 98 insertions(+), 7 deletions(-)

-- 
2.43.0



More information about the Libc-alpha mailing list