This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Temporarily avoid PPC64 LE bootstrap by making GLIBC_2.17 and GLIBC_2.18 equivalent.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]