ldd broken with HARDWIRED_ABSPATH=n

Peter Mazinger ps.m at gmx.net
Wed Mar 23 19:16:52 UTC 2011


> On Wed, Mar 23, 2011 at 7:18 AM, Peter Mazinger wrote:
> >> Your commit 5dffed7dd1a413f3965af702fa7ecd79809d1988 removed absolute
> >> path from the interpreter binary name embedded in ELF files.
> >
> > do you consider my patch wrong?
> 
> yes.  the absolute path to the ldso must be encoded in binaries.  the
> point of HARDWIRED_ABSPATH is purely for sysroot/non-sysroot
> toolchain, and the interp path isnt involved with that.
> 
> are you sure this even works at runtime ?  i'm pretty sure the kernel
> doesnt do any path lookups on the interp string.

on an x86 I have recompiled only uClibc and rebooted, no problem with it
Should I recompile some apps too to be sure that it copes with the change?

Peter
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the uClibc mailing list