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: PATCH: BZ #14664: changing prefix breaks "make check-abi-libc"


On Mon, Dec 10, 2012 at 12:17:50PM -0800, H.J. Lu wrote:
> On Mon, Dec 10, 2012 at 12:04 PM, Rich Felker <dalias@aerifal.cx> wrote:
> > I agree completely. To be more concrete, there's no justifiable reason
> > an application linked to glibc on a "normal" system should fail to
> > work on a system where glibc is installed as a non-default libc under
> > some prefix like /usr/glibc-compat or similar.
> >
> 
> I don't think the "normal" binaries will touch files under  /usr/glibc-compat
> at all.  That is if you remove the "normal" glibc libraries under /usr, the
> "normal" binaries will crash.

My hypothetical situation is a system not using glibc (e.g. based on
musl or uClibc) where someone is installing glibc under
/usr/glibc-compat (or whatever prefix you like) and is using an
appropriately-configured /lib/ld-linux.so.2 (or whatever name glibc
uses on that arch) that will search this path rather than the main
system paths. I see no reason such a setup should not work.

Rich


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