On Wed, 24 Aug 2005, Ken Moffat wrote:
On Tue, 23 Aug 2005, Jim Gifford wrote:
No problems Ken. But what do you think of my reasoning on the error about
the different symlink names for ld?
At the moment, that sounds plausible (I've just posted about the perl script
bailing out). I used to have a --disable-multilib in my scripts, I don't
know that it ever did any good, but I'll try that before trying to grok the
perl.
Ken
As I suspected, --disable-multilib is ignored. For the moment, I've
taken the easy way out and gone with the attached patch which I think
was originally from the debian amd64 list, via Tooley's site. Replaces
the slibdir= for x86_64-64 only.
What I don't understand is why this works - I imagine that the
nonexistent lib32/ld-linux.so.2 would be as equally problematic as the
non-existent lib/ld-linux.so.2 for test-installation.pl, but it seems to
cope (got through binutils this time, so I'll leave it overnight)
Comments on using this patch, anybody ?
Ken
--
das eine Mal als Trag?die, das andere Mal als Farce
diff -Naur -i glibc-2.3.4.orig/sysdeps/unix/sysv/linux/configure
glibc-2.3.4/sysdeps/unix/sysv/linux/configure
--- glibc-2.3.4.orig/sysdeps/unix/sysv/linux/configure 2004-07-06
06:13:42.000000000 +0200
+++ glibc-2.3.4/sysdeps/unix/sysv/linux/configure 2005-02-08
15:31:40.000000000 +0100
@@ -226,7 +226,7 @@
/usr | /usr/)
# 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib
case $machine in
- sparc/sparc64 | x86_64 | powerpc/powerpc64 | s390/s390-64 | \
+ sparc/sparc64 | powerpc/powerpc64 | s390/s390-64 | \
mips/mips64/n64/* )
libc_cv_slibdir="/lib64"
if test "$libdir" = '${exec_prefix}/lib'; then
diff -Naur -i glibc-2.3.4.orig/sysdeps/unix/sysv/linux/configure.in
glibc-2.3.4/sysdeps/unix/sysv/linux/configure.in
--- glibc-2.3.4.orig/sysdeps/unix/sysv/linux/configure.in 2004-07-06
06:11:40.000000000 +0200
+++ glibc-2.3.4/sysdeps/unix/sysv/linux/configure.in 2005-02-08
15:31:40.000000000 +0100
@@ -161,7 +161,7 @@
/usr | /usr/)
# 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib
case $machine in
- sparc/sparc64 | x86_64 | powerpc/powerpc64 | s390/s390-64 | \
+ sparc/sparc64 | powerpc/powerpc64 | s390/s390-64 | \
mips/mips64/n64/* )
libc_cv_slibdir="/lib64"
if test "$libdir" = '${exec_prefix}/lib'; then
diff -Naur -i glibc-2.3.4.orig/sysdeps/unix/sysv/linux/i386/ldconfig.h
glibc-2.3.4/sysdeps/unix/sysv/linux/i386/ldconfig.h
--- glibc-2.3.4.orig/sysdeps/unix/sysv/linux/i386/ldconfig.h 2001-07-06
06:56:16.000000000 +0200
+++ glibc-2.3.4/sysdeps/unix/sysv/linux/i386/ldconfig.h 2005-02-08
15:32:07.000000000 +0100
@@ -19,7 +19,7 @@
#include <sysdeps/generic/ldconfig.h>
#define SYSDEP_KNOWN_INTERPRETER_NAMES \
- { "/lib/ld-linux.so.1", FLAG_ELF_LIBC5 },
+ { "/lib32/ld-linux.so.1", FLAG_ELF_LIBC5 },
#define SYSDEP_KNOWN_LIBRARY_NAMES \
{ "libc.so.5", FLAG_ELF_LIBC5 }, \
{ "libm.so.5", FLAG_ELF_LIBC5 },
diff -Naur -i glibc-2.3.4.orig/sysdeps/unix/sysv/linux/x86_64/ldconfig.h
glibc-2.3.4/sysdeps/unix/sysv/linux/x86_64/ldconfig.h
--- glibc-2.3.4.orig/sysdeps/unix/sysv/linux/x86_64/ldconfig.h 2002-04-22
13:51:40.000000000 +0200
+++ glibc-2.3.4/sysdeps/unix/sysv/linux/x86_64/ldconfig.h 2005-02-08
15:31:40.000000000 +0100
@@ -19,8 +19,8 @@
#include <sysdeps/generic/ldconfig.h>
#define SYSDEP_KNOWN_INTERPRETER_NAMES \
- { "/lib/ld-linux.so.2", FLAG_ELF_LIBC6 }, \
- { "/lib64/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 },
+ { "/lib32/ld-linux.so.2", FLAG_ELF_LIBC6 }, \
+ { "/lib/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 },
#define SYSDEP_KNOWN_LIBRARY_NAMES \
{ "libc.so.6", FLAG_ELF_LIBC6 }, \
{ "libm.so.6", FLAG_ELF_LIBC6 },
diff -Naur -i glibc-2.3.4.orig/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
glibc-2.3.4/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
--- glibc-2.3.4.orig/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
2002-04-08 13:14:01.000000000 +0200
+++ glibc-2.3.4/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed 2005-02-08
15:31:40.000000000 +0100
@@ -1,3 +1,3 @@
/LD_TRACE_LOADED_OBJECTS=1/a\
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
-s_^\(RTLDLIST=\)\(.*lib\)\(\|64\)\(/[^/]*\)\(-x86-64\)\(\.so\.[0-9.]*\)[
]*$_\1"\2\4\6 \264\4\5\6"_
+s_^\(RTLDLIST=\)\(.*lib\)\(\|64\)\(/[^/]*\)\(-x86-64\)\(\.so\.[0-9.]*\)[
]*$_\1"\2\4\6 \2\4\5\6"_
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page