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] Don't check ABI for _nl_default_dirname


> But, as already mentioned, the size is encoded into the COPY reloc.
> 
> So the dynamic linker "notices" that your application linked with
> a "different" instance of the symbol, since the size is different,
> and it will signal an error.

I haven't seen that and i configure glibc with a different prefix. Have you?

> 
> This happens in the handling of R_*_COPY in every target's
> dl-machine.h file.
> 
> It's therefore complete and utter garbage to just let this ABI check
> pass as the symbol's size is encoded into, and checked, in every
> application that references the symbol.

But the size will be different any time you specify a prefix with
different length.

So you're saying that it's impossible to configure glibc with anything
different than --prefix=/usr

That sounds totally and utterly broken to me if true.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.


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