This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] test-container: Avoid copying unintended system libraries
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 22 Jul 2019 22:18:57 +0200
- Subject: Re: [PATCH] test-container: Avoid copying unintended system libraries
- References: <20190722195226.30727-1-tuliom@linux.ibm.com>
* Tulio Magno Quites Machado Filho:
> Some DSOs are distributed in hardware capability directories, e.g.
> /usr/lib64/power7/libc.so.6
> Whenever the processor is able to use one of these hardware-enabled
> DSOs, testroot.pristine ends up with copies of glibc-provided libraries
> from the system because it can't overwrite or remove them.
>
> This patch avoids the unintended copies by executing ld.so with the same
> arguments passed to each glibc test.
The patch looks okay to me because $(rtld-prefix) is not affected by
$(build-hardcoded-path-in-tests). But in that case, the probing
command is definitely not run like a test would run.