Matthias Klose wrote:
The patch looks incomplete. It doesn't look into the libdir for the non-default architecture. assuming that we drop /usr/lib32 at some point, the problem fixed in #369052 would show up again. Unsure which LIBDIR's we want to be searched for binutils-multiarch's ld.
binutils searches for libraries using either its internal list of directories, or using /etc/ld.so.conf.
With the current implementation /usr/lib32 should be searched as we are doing bi-arch, ie we have a predefinite set of architectures supported by the CPU.
For multiarch, the number of non-default architectures is virtually infinite, as you can use for example arm binaries on powerpc using qemu. That's why you can't add all directories to ld, and you have to use /etc/ld.so.conf instead.
Currently the glibc in experimental automatically adds the corresponding multiarch directory to /etc/ld.so.conf, so that ld will use it. The version in unstable is however broken as it uses /lib/ldconfig/ to do the same, which is not understood by other tools. That has to be fixed.
So for my point of view, this patch is complete. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]