From 9383074deb75fda69d2302f85d03618fa1b5fe27 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 3 Aug 2010 16:49:31 +0100 Subject: gcc: Fix dynamic linker location for x86_64 gcc hard codes the linker path to lib64 for x86_64 machines, update our 64bithack patch to change this to lib. Signed-off-by: Joshua Lock --- meta/packages/gcc/gcc-4.3.3/64bithack.patch | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'meta/packages/gcc/gcc-4.3.3/64bithack.patch') diff --git a/meta/packages/gcc/gcc-4.3.3/64bithack.patch b/meta/packages/gcc/gcc-4.3.3/64bithack.patch index ac65e01afa..f6931b85af 100644 --- a/meta/packages/gcc/gcc-4.3.3/64bithack.patch +++ b/meta/packages/gcc/gcc-4.3.3/64bithack.patch @@ -5,8 +5,8 @@ RP 25/7/10 Index: gcc-4.3.3/gcc/config/i386/t-linux64 =================================================================== ---- gcc-4.3.3.orig/gcc/config/i386/t-linux64 2010-07-25 12:26:36.000000000 +0100 -+++ gcc-4.3.3/gcc/config/i386/t-linux64 2010-07-25 13:43:02.000000000 +0100 +--- gcc-4.3.3.orig/gcc/config/i386/t-linux64 2007-09-27 20:56:06.000000000 +0100 ++++ gcc-4.3.3/gcc/config/i386/t-linux64 2010-08-03 12:55:04.642189070 +0100 @@ -12,8 +12,8 @@ # MULTILIB_OSDIRNAMES according to what is found on the target. @@ -18,3 +18,16 @@ Index: gcc-4.3.3/gcc/config/i386/t-linux64 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib +Index: gcc-4.3.3/gcc/config/i386/linux64.h +=================================================================== +--- gcc-4.3.3.orig/gcc/config/i386/linux64.h 2007-08-02 11:49:31.000000000 +0100 ++++ gcc-4.3.3/gcc/config/i386/linux64.h 2010-08-03 13:01:51.621182117 +0100 +@@ -54,7 +54,7 @@ + done. */ + + #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" +-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" ++#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" + + #if TARGET_64BIT_DEFAULT + #define SPEC_32 "m32" -- cgit v1.2.3-54-g00ecf