This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Temporarily avoid PPC64 LE bootstrap by making GLIBC_2.17 and GLIBC_2.18 equivalent.
- From: Andreas Jaeger <aj at suse dot com>
- To: Carlos O'Donell <carlos at redhat dot com>, Adam Conrad <adconrad at 0c3 dot net>, Michael Matz <matz at suse dot de>, Andreas Schwab <schwab at suse dot de>, Steven Munroe <sjmunroe at us dot ibm dot com>, Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, Brent Baude <baude at us dot ibm dot com>, Siddhesh Poyarekar <siddhesh at redhat dot com>, Jeff Law <law at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Cc: Matt Newsome <mnewsome at redhat dot com>
- Date: Fri, 31 Jan 2014 09:44:12 +0100
- Subject: Re: Temporarily avoid PPC64 LE bootstrap by making GLIBC_2.17 and GLIBC_2.18 equivalent.
- Authentication-results: sourceware.org; auth=none
- References: <52EB617D dot 1000609 at redhat dot com>
On 01/31/2014 09:40 AM, Carlos O'Donell wrote:
> Distribution Maintainers,
>
> Downgrading the PPC64 LE ABI baseline from 2.18 to 2.17
> would normally require a bootstrap from scratch as the core
> C library is no longer able to run any of the binaries on the
> system. Avoiding this bootstrap saves everyone a lot of time.
>
> To that end I've evaluated several method for avoiding a
> full bootstrap including:
>
> * Cross compiling.
>
> * Preloading a library to provide the required symbols.
>
> * Load an alternate libc from an alternate path to provide
> the required symbols.
>
> * Patch the dynamic loader to make the symbols equivalent.
>
> Patching the dynamic loader is the easiest solution.
>
> The dynamic loader is patched to treat a dependency on
> foo@GLIBC_2.18 as satisfied by foo@GLIBC_2.18 or
> foo@GLIBC_2.17.
Thanks a lot Carlos for this! This should make much life easier for all
of us if there's a change,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126