mbox

[0/4] SO wrapper fixes

Message ID cover.1385196868.git.Morten.ThunbergSvendsen@prevas.dk
State Not Applicable
Headers show

Pull-request

git://gitorious.org/~mts/oe-lite/mtss-core sowrap

Message

Morten Svendsen Nov. 23, 2013, 11:12 a.m. UTC
Avoid creating SO wrapper for ELF files that do not contain rpaths and fix bug
where SO wrapper is created for files that where not ELF (fx. scripts).

Tested on core/3.4.1 and core/master for i686-arm9 static toolchain and
i686-cortexa8 dynamic linked toolchain.

There is no "force SO wrap or fail" contained in this patch. It could be added
to sdk image-qa or sdk package-qa.

Rpaths is missing in all crosstool-ng canadian-cross binaries for the arm9 and
coretexa8 tested. The rpath linker options set by the c.oeclass is not used by
ct-ng.


The following changes since commit 8290950246d409cdf285446794626b33fef61df4:

  crosstool-ng: Update linaro gcc and gdb versions for 1.17 (2013-11-23 09:37:02 +0100)

are available in the git repository at:

  git://gitorious.org/~mts/oe-lite/mtss-core sowrap
  http://gitorious.org/~mts/oe-lite/mtss-core/commits/sowrap

Morten Thunberg Svendsen (4):
  classes/rpath: Added rpath class with chrpath_get_cmd() function
  classes/chrpath: User rpath provided chrpath_get_cmd() function
  classes/sdk-image: Fix SO wrapper made for files that are not ELF
  classes/sdk-image: Do not create SO wrapper for ELF files with no
    rpath

 classes/chrpath.oeclass   | 45 ++++-----------------------------------------
 classes/rpath.oeclass     | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 classes/sdk-image.oeclass | 18 +++++++++++++++++-
 3 files changed, 68 insertions(+), 42 deletions(-)
 create mode 100644 classes/rpath.oeclass