[PATCH] elf: Add missing DSO dependencies for tst-rtld-no-malloc-{audit, preload}
Frederic Berat
fberat@redhat.com
Thu Jun 26 10:05:28 GMT 2025
On Thu, Jun 26, 2025 at 11:49 AM Florian Weimer <fweimer@redhat.com> wrote:
> Fixes commit c1560f3f75c0e892b5522c16f91b4e303f677094
> ("elf: Switch to main malloc after final ld.so self-relocation").
>
>
Based on how this is handled in other parts of the Makefile, this fix makes
sense to me.
> ---
> elf/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/elf/Makefile b/elf/Makefile
> index 05a78dc9a5..8a31a29191 100644
> --- a/elf/Makefile
> +++ b/elf/Makefile
> @@ -3362,9 +3362,11 @@ $(objpfx)tst-dlopen-auditdup.out: \
>
> # Reuse an audit module which provides ample debug logging.
> tst-rtld-no-malloc-audit-ENV = LD_AUDIT=$(objpfx)tst-auditmod1.so
> +$(objpfx)tst-rtld-no-malloc-audit.out: $(objpfx)tst-auditmod1.so
>
> # Any shared object should do.
> tst-rtld-no-malloc-preload-ENV = LD_PRELOAD=$(objpfx)tst-auditmod1.so
> +$(objpfx)tst-rtld-no-malloc-preload.out: $(objpfx)tst-auditmod1.so
>
> LDFLAGS-tst-hash-collision1-mod.so = -Wl,--hash-style=both
> $(objpfx)tst-hash-collision1: $(objpfx)tst-hash-collision1-mod.so
>
> base-commit: 79bfbc93dee68830dd3b1d2b3453cf3811df6944
>
> LGTM.
Reviewed-by: Frédéric Bérat <fberat@redhat.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250626/d280be89/attachment.htm>
More information about the Libc-alpha
mailing list