[PATCH] Don't check ABI for _nl_default_dirname

Andi Kleen andi@firstfloor.org
Mon Dec 10 05:42:00 GMT 2012


> 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.



More information about the Libc-alpha mailing list