Skip to content

RFC Modify ldd script for multilib.

Lianhao Lu openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2utils.bbclass/multilib.conf: Added misc supporting functions.meta/classes/utils.bbclass meta/conf/bitbake.conf meta/conf/multilib.conf+41 -10 replies
2/2eglibc: Modify ldd script according to multilib config.meta/recipes-core/eglibc/eglibc-ld.inc meta/recipes-core/eglibc/eglibc.inc meta/recipes-core/eglibc/eglibc_2.13.bb+59 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC BUG #1236 0/2] Modify ldd script for multilib.

This is part of the BUG #1236 fixing. Current there seems no way to get the dynamic loader(ld.so) names for all the ABIs configured in the multilib configuration during runtime. So we put the ld.so names in the dictionary "ld_info_all" in the file eglibc-ld.inc. This dictionary is indexed by the TUNENAME. To support a new ABI, new entry should be added into this dictionary along with the new ABI's TUNENAME.

The information in ld_info_all can be used for both ldd script, and the KNOWN_INTERPRETER_NAMES in the file ldconfig.h (which has not been done yet).

The following changes since commit f94b781695cd8fa387daff16ecbf3987a0883018:
Bruce Ashfield (1):
poky.conf: explicitly referenced preferred linux-yocto version

are available in the git repository at:

git://git.pokylinux.org/poky-contrib llub/bug1236
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/1236

Lianhao Lu (2):
utils.bbclass/multilib.conf: Added misc supporting functions.
eglibc: Modify ldd script according to multilib config.

 meta/classes/utils.bbclass              |   35 ++++++++++++++++++++
 meta/conf/bitbake.conf                  |    1 +
 meta/conf/multilib.conf                 |    6 +++-
 meta/recipes-core/eglibc/eglibc-ld.inc  |   53 +++++++++++++++++++++++++++++++
 meta/recipes-core/eglibc/eglibc.inc     |    1 +
 meta/recipes-core/eglibc/eglibc_2.13.bb |    6 +++-
 6 files changed, 100 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/eglibc/eglibc-ld.inc