]> code.ossystems Code Review - openembedded-core.git/commit
ldconfig-native: Add 64-bit flag for ELF64 entries
authorYuanjie Huang <yuanjie.huang@windriver.com>
Fri, 3 Jul 2015 01:48:37 +0000 (09:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Jul 2015 22:57:13 +0000 (23:57 +0100)
commit0b0e4d7aa64feded0a7bf89264d2367489808a38
tree041886f760632c30d608cbbb1122ec81793a655b
parentfe84747f961772b61031af59d44e54b178148379
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.

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/glibc/ldconfig-native-2.12.1/add-64-bit-flag-for-ELF64-entries.patch [new file with mode: 0644]
meta/recipes-core/glibc/ldconfig-native_2.12.1.bb