This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: testroot.pristine creation falls over copying dynamic linker
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: DJ Delorie <dj at redhat dot com>, libc-alpha at sourceware dot org
- Date: Wed, 31 Jul 2019 23:43:50 -0400
- Subject: Re: testroot.pristine creation falls over copying dynamic linker
- References: <xnftmoikor.fsf@greed.delorie.com> <alpine.DEB.2.21.1907311551350.15725@digraph.polyomino.org.uk> <8749987e-2f06-9362-0afc-d2d9cda4cda5@redhat.com> <alpine.DEB.2.21.1907312132270.25113@digraph.polyomino.org.uk>
On 7/31/19 5:34 PM, Joseph Myers wrote:
On Wed, 31 Jul 2019, Carlos O'Donell wrote:
Maybe we need a filter like this? It just prefers the RHS path if there
is on, else uses the first path available:
- | grep / | sed 's/^[^/]*//' | sed 's/ .*//'` ;\
+ | grep / | sed 's@.*=> /@/@' | sed 's/^[^/]*//' | sed 's/
.*//'` ;\
I can confirm that doing that (for both Makefile lines with such a sed
command) allows the MIPS tests to run in cases where they previously fell
over because the path on the LHS does not exist in the root filesystem.
Shall we get this fix in for 2.30?
I think it's desirable for 2.30 (to avoid problems testing for an ABI on a
system without that ABI's dynamic linker installed in the root filesystem
under its canonical name), but I haven't really thought about what cases
ought to be tested to confirm the change is safe.
Please take your time here and work with DJ to determine what is needed.
We can then backport to the stable 2.30 branch to ensure it works.
--
Cheers,
Carlos.