[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package requiring a customised version of another package



On Thu, Aug 23, 2007 at 10:26:35PM +0100, David Given wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Justin Pryzby wrote:
> [...]
> >> I have an application I'd like to package --- plasticfs. Unfortunately, due to
> >> glibc weirdnesses, it needs a copy of glibc built using custom (non-standard)
> >> options. Is this doable, or is it likely to be a lost cause?
> > Please can you give the details of why this is necessary?
> 
> It's an LD_PRELOAD hack. When glibc calls itself --- for example when fopen()
> calls open() --- it does so using a hidden private interface,
Right, aliases are used when public functions are called internally
(I'm not sure the rationale).

> which means the
> preloader library doesn't get a chance to override it. plasticfs wants a glibc
> compiled with --disable-hidden-plt to expose this interface.
I still don't understand why?

> Or so the plasticfs docs say --- I'm sure this can be worked around, since
> fakeroot and fakechroot
fakeroot is just an LD_PRELOAD..

Justin



Reply to: