Skip to content

mklibs library optimization for all arches

Nitin A Kamble poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4distro_tracking: update latest upstream versionsmeta/conf/distro/include/distro_tracking_fields.inc+23 -200 replies
2/4elfutils: add a missing depedancymeta/recipes-devtools/elfutils/elfutils_0.148.bb+2 -12 replies
3/4mklibs-native: new recipe for optimizing size of library filesmeta/recipes-devtools/mklibs/files/ac_init_fix.patch meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb+40 -00 replies
4/4image-mklibs.bbclass: add the library optimization functionalitymeta/classes/image-mklibs.bbclass meta/conf/local.conf.sample+59 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] [PATCH 0/4] mklibs library optimization for all arches

From: Nitin A Kamble <[email protected]>

I tested this with poky-image-minimal and I see some disk space savings by
using the mklibs library optimizations. (76MB rootfs became 75MB)

The minimal poky image had 106 dynamically linked executables. And the
footprint savings will go up as number of dynamically linked executables in an image decrease.

I did not see any improvement on mips and ppc, but could see the footprint
improvement on x86, arm & x86-64.

Also checked that the executables were not broken after the mklibs
optimization.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: nitin/mklibs
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/mklibs

Thanks,
Nitin A Kamble <[email protected]>
---

Nitin A Kamble (4):
distro_tracking: update latest upstream versions
elfutils: add a missing depedancy
mklibs-native: new recipe for optimizing size of library files image-mklibs.bbclass: add the library optimization functionality

 meta/classes/image-mklibs.bbclass                  |   57 ++++++++++++++++++++
 .../conf/distro/include/distro_tracking_fields.inc |   43 ++++++++-------
 meta/conf/local.conf.sample                        |    2 +
 meta/recipes-devtools/elfutils/elfutils_0.148.bb   |    3 +-
 .../mklibs/files/ac_init_fix.patch                 |   17 ++++++
 .../mklibs/mklibs-native_0.1.31.bb                 |   23 ++++++++
 6 files changed, 124 insertions(+), 21 deletions(-)
 create mode 100644 meta/classes/image-mklibs.bbclass
 create mode 100644 meta/recipes-devtools/mklibs/files/ac_init_fix.patch
 create mode 100644 meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb
Signature · 1 line
1.7.2.2