[PATCH 0/5] Improve TEST_CC/TEST_CXX testing with clang
Sam James
sam@gentoo.org
Sat Dec 6 13:29:16 GMT 2025
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> Some testing options are not supported by ld.ldd, so it requires using
lld ;)
Easily done when talking about libc..
> 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(-)
More information about the Libc-alpha
mailing list