diff options
| author | Joshua Lock <josh@linux.intel.com> | 2010-08-03 16:49:31 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-04 11:43:12 +0100 |
| commit | 9383074deb75fda69d2302f85d03618fa1b5fe27 (patch) | |
| tree | b398331da3a0b06d7bd8273602ed7bb3ae325fdc /meta/packages/gcc/gcc-4.5.0/64bithack.patch | |
| parent | 1fbcd2ca178db28747046b5bd943c81176db9f65 (diff) | |
| download | poky-9383074deb75fda69d2302f85d03618fa1b5fe27.tar.gz | |
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 <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-4.5.0/64bithack.patch')
| -rw-r--r-- | meta/packages/gcc/gcc-4.5.0/64bithack.patch | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/meta/packages/gcc/gcc-4.5.0/64bithack.patch b/meta/packages/gcc/gcc-4.5.0/64bithack.patch index ac65e01afa..8527963111 100644 --- a/meta/packages/gcc/gcc-4.5.0/64bithack.patch +++ b/meta/packages/gcc/gcc-4.5.0/64bithack.patch | |||
| @@ -3,11 +3,11 @@ By default gcc places 64 bit libs in a lib64 directory. This makes it use | |||
| 3 | 3 | ||
| 4 | RP 25/7/10 | 4 | RP 25/7/10 |
| 5 | 5 | ||
| 6 | Index: gcc-4.3.3/gcc/config/i386/t-linux64 | 6 | Index: gcc-4.5.0/gcc/config/i386/t-linux64 |
| 7 | =================================================================== | 7 | =================================================================== |
| 8 | --- gcc-4.3.3.orig/gcc/config/i386/t-linux64 2010-07-25 12:26:36.000000000 +0100 | 8 | --- gcc-4.5.0.orig/gcc/config/i386/t-linux64 2009-04-21 20:03:23.000000000 +0100 |
| 9 | +++ gcc-4.3.3/gcc/config/i386/t-linux64 2010-07-25 13:43:02.000000000 +0100 | 9 | +++ gcc-4.5.0/gcc/config/i386/t-linux64 2010-08-03 14:53:26.471180113 +0100 |
| 10 | @@ -12,8 +12,8 @@ | 10 | @@ -24,8 +24,8 @@ |
| 11 | # MULTILIB_OSDIRNAMES according to what is found on the target. | 11 | # MULTILIB_OSDIRNAMES according to what is found on the target. |
| 12 | 12 | ||
| 13 | MULTILIB_OPTIONS = m64/m32 | 13 | MULTILIB_OPTIONS = m64/m32 |
| @@ -18,3 +18,16 @@ Index: gcc-4.3.3/gcc/config/i386/t-linux64 | |||
| 18 | 18 | ||
| 19 | LIBGCC = stmp-multilib | 19 | LIBGCC = stmp-multilib |
| 20 | INSTALL_LIBGCC = install-multilib | 20 | INSTALL_LIBGCC = install-multilib |
| 21 | Index: gcc-4.5.0/gcc/config/i386/linux64.h | ||
| 22 | =================================================================== | ||
| 23 | --- gcc-4.5.0.orig/gcc/config/i386/linux64.h 2010-03-24 20:44:48.000000000 +0000 | ||
| 24 | +++ gcc-4.5.0/gcc/config/i386/linux64.h 2010-08-03 14:54:24.737056070 +0100 | ||
| 25 | @@ -59,1 +59,1 @@ | ||
| 26 | done. */ | ||
| 27 | |||
| 28 | #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" | ||
| 29 | -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" | ||
| 30 | +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" | ||
| 31 | |||
| 32 | #if TARGET_64BIT_DEFAULT | ||
| 33 | #define SPEC_32 "m32" | ||
