diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-03-29 12:55:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-04 23:56:31 +0100 |
commit | f897723207b00b4c9dcdb43107891b7b82ce22f3 (patch) | |
tree | d429a853ef252a1cf887c822535012c33ebf4d26 /meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch | |
parent | 1418414e9d8d5ebbf38b95be8c0ce83dbe4b525f (diff) | |
download | poky-f897723207b00b4c9dcdb43107891b7b82ce22f3.tar.gz |
ldconfig-native-2.12.1: newer recipe with eglibc sources
This fixes [YOCTO #780]
Handle the input/output data with different endian-ness correctly
Also fix the definition of LD_SO for cross environment
And remove the older 2.5 version of ldconfig-native recipe
(From OE-Core rev: 694db055f3729662e0e0193a31f2098be599877f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch')
-rw-r--r-- | meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch new file mode 100644 index 0000000000..b148553055 --- /dev/null +++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | The native version of ldconfig was using native definition of LD_SO (i.e. | ||
2 | ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig. | ||
3 | This was causing libc.so on the target marked as ELF lib rather than | ||
4 | FLAG_ELF_LIBC6 in the ld.so.cache. | ||
5 | |||
6 | Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/4 | ||
7 | |||
8 | Index: ldconfig-native-2.12.1/readlib.c | ||
9 | =================================================================== | ||
10 | --- ldconfig-native-2.12.1.orig/readlib.c | ||
11 | +++ ldconfig-native-2.12.1/readlib.c | ||
12 | @@ -51,6 +51,10 @@ struct known_names | ||
13 | int flag; | ||
14 | }; | ||
15 | |||
16 | +/* don't use host's definition of LD_SO */ | ||
17 | +#undef LD_SO | ||
18 | +#define LD_SO "ld.so.1" | ||
19 | + | ||
20 | static struct known_names interpreters[] = | ||
21 | { | ||
22 | { "/lib/" LD_SO, FLAG_ELF_LIBC6 }, | ||