diff options
author | Yuanjie Huang <yuanjie.huang@windriver.com> | 2015-07-03 09:48:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-08 00:01:22 +0100 |
commit | 09febe09dc7481dcd08dc3cb033ea85e0e75abff (patch) | |
tree | 1cef95f37956c01c3cdfb76d6aeb6d70211740b3 /meta/recipes-core/glibc/ldconfig-native_2.12.1.bb | |
parent | daec53e9772b48bd11b3a0b900f0fcb32b687df3 (diff) | |
download | poky-09febe09dc7481dcd08dc3cb033ea85e0e75abff.tar.gz |
ldconfig-native: Add 64-bit flag for ELF64 entries
ldconfig-native was grepped from an old version of glibc, and its output
lacks neccessary 64bit flag in entries.
Due to this defect, ctypes.util.find_library() python function fails to
detect any library due to the old file format that ldconfig-native
creates. This fix sets architecture-dependent 64bit flags for 64-bit ELF.
Since the host's elf.h may not have definition for new AArch64 machine
type, a work-around is added to correctly flag 64-bit ARM libraries.
(From OE-Core rev: 0b0e4d7aa64feded0a7bf89264d2367489808a38)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/ldconfig-native_2.12.1.bb')
-rw-r--r-- | meta/recipes-core/glibc/ldconfig-native_2.12.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb b/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb index 1debf8ee2f..93c0b18671 100644 --- a/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb +++ b/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb | |||
@@ -13,6 +13,7 @@ SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \ | |||
13 | file://endianess-header.patch \ | 13 | file://endianess-header.patch \ |
14 | file://ldconfig-default-to-all-multilib-dirs.patch \ | 14 | file://ldconfig-default-to-all-multilib-dirs.patch \ |
15 | file://endian-ness_handling_fix.patch \ | 15 | file://endian-ness_handling_fix.patch \ |
16 | file://add-64-bit-flag-for-ELF64-entries.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | PR = "r2" | 19 | PR = "r2" |