Hi,

Aurelien Jarno <[EMAIL PROTECTED]> wrote:
> Please find attached an updated version of the patch. Tests with a
> recent binutils has shown that the i386->i486 part is not needed
> anymore.

I don't see how that could be true:

$ dpkg -x 
/var/www/debian/pool/main/b/binutils/binutils_2.17.20070406cvs-2_amd64.deb .

$ rgrep SEARCH .
Binary file ./usr/bin/ld matches
./usr/lib/ldscripts/i386linux.x:SEARCH_DIR("/usr/i386-linux-gnuaout/lib");
./usr/lib/ldscripts/elf_x86_64.xbn:SEARCH_DIR("/usr/x86_64-linux-gnu/lib64"); 
SEARCH_DIR("/usr/local/lib64"); SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); 
SEARCH_DIR("/usr/x86_64-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); 
SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
./usr/lib/ldscripts/elf_i386.xsc:SEARCH_DIR("/usr/i386-linux-gnu/lib32"); 
SEARCH_DIR("/usr/local/lib32"); SEARCH_DIR("/lib32"); SEARCH_DIR("/usr/lib32"); 
SEARCH_DIR("/usr/i386-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); 
SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
...

I still only see i386 in there, not i486.

With 130_multiarch_dir applied I get

builddir-single/ld/ldscripts/elf_i386.xbn:SEARCH_DIR("/usr/i386-linux-gnu/lib32");
 SEARCH_DIR("/usr/local/lib32"); SEARCH_DIR("/usr/local/lib/i386-linux-gnu"); 
SEARCH_DIR("/lib32"); SEARCH_DIR("/lib/i386-linux-gnu"); 
SEARCH_DIR("/usr/lib32"); SEARCH_DIR("/usr/lib/i386-linux-gnu"); 
SEARCH_DIR("/usr/i386-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); 
SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");

again, i386 and not i486.



On the other hand on Debian i386:

$ dpkg -x 
/var/www/debian/pool/main/b/binutils/binutils_2.17.20070406cvs-2_i386.deb .
$ rgrep SEARCH .
Binary file ./usr/bin/ld matches
./usr/lib/ldscripts/i386linux.xn:SEARCH_DIR("/usr/i486-linux-gnuaout/lib");
./usr/lib/ldscripts/i386linux.xbn:SEARCH_DIR("/usr/i486-linux-gnuaout/lib");
./usr/lib/ldscripts/i386linux.x:SEARCH_DIR("/usr/i486-linux-gnuaout/lib");
...
./usr/lib/ldscripts/elf_i386.xsw:SEARCH_DIR("/usr/i486-linux-gnu/lib32"); 
SEARCH_DIR("/usr/local/lib32"); SEARCH_DIR("/lib32"); SEARCH_DIR("/usr/lib32"); 
SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); 
SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");

So something is still skewed.

MfG
        Goswin

PS: Nothing to do with multiarch support though. Just becomes noticeable there.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to