All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v9 00/11] Relocatable SDK/Build machine leaks: RPATH fixing
@ 2016-04-22 20:50 Samuel Martin
  2016-04-22 20:50 ` [Buildroot] [PATCH v9 01/11] core: split variables definition related to in/out-of-tree build from O itself Samuel Martin
                   ` (11 more replies)
  0 siblings, 12 replies; 22+ messages in thread
From: Samuel Martin @ 2016-04-22 20:50 UTC (permalink / raw)
  To: buildroot

Hi all,


Here is yet another round of the series aiming improving the relocatability
of the SDK built by Buildroot.

Still slowly reducing the number of patch in the series, as they got merged...
For this round, just fixes from comments, nothing really noticeable, except
maybe the move of the HOST_DIR RPATH sanitation.

For further details, check the per-commit changelog in each commit log.


Patches 1 and 2:
  Fix the O variable definition.

Patches 3 to 5:
  Add the fix-rpath script, then run it on the Buildroot host, target and
  staging trees.

Patch 6:
  Clean-up speex package WRT its RPATH hook.

Patch 7:
  Update and fix the check-host-rpath to re-use the shell helpers.

Patches 8 to 10:
  Add means to track build machine leaks into the host, target and staging
  trees. These patches will allow to identify what remains to be fixed WRT
  build machine leaks.

Patches 11:
  Update documentation about how to enable/adjust log level on script using
  the shell modules introduced in patch 3/11.


Regards,
Samuel


Samuel Martin (11):
  core: split variables definition related to in/out-of-tree build from
    O itself
  core: re-enter make if $(CURDIR) or $(O) are not absolute canonical
    path
  support/scripts: add fix-rpath script + a bunch of helpers
  core: sanitize HOST_DIR at the very end of the build
  core: add {TARGET,STAGING}_SANITIZE_RPATH_HOOK to
    TARGET_FINALIZE_HOOKS
  package/speex: remove no longer needed hook
  support/scripts: update check-host-rpath to use the shell helpers
  support/scripts: add check-host-leaks script + all needed helpers
  core: add check-leaks-in-{target,host,staging} targets
  support/scripts/check-host-leaks: add option to classify leaks
  docs/manual: document how to debug shell script

 Makefile                            | 126 ++++++++++++---
 docs/manual/debugging-buildroot.txt |  17 ++
 package/pkg-utils.mk                |   5 +
 package/speex/speex.mk              |   7 -
 support/scripts/check-host-leaks    | 181 +++++++++++++++++++++
 support/scripts/check-host-rpath    |  73 ++++-----
 support/scripts/fix-rpath           | 116 ++++++++++++++
 support/scripts/shell/log.sh        |  61 +++++++
 support/scripts/shell/patchelf.sh   | 178 +++++++++++++++++++++
 support/scripts/shell/readelf.sh    | 306 ++++++++++++++++++++++++++++++++++++
 support/scripts/shell/sdk.sh        |  75 +++++++++
 support/scripts/shell/source.sh     |  77 +++++++++
 support/scripts/shell/utils.sh      |  74 +++++++++
 13 files changed, 1223 insertions(+), 73 deletions(-)
 create mode 100755 support/scripts/check-host-leaks
 create mode 100755 support/scripts/fix-rpath
 create mode 100644 support/scripts/shell/log.sh
 create mode 100644 support/scripts/shell/patchelf.sh
 create mode 100644 support/scripts/shell/readelf.sh
 create mode 100644 support/scripts/shell/sdk.sh
 create mode 100644 support/scripts/shell/source.sh
 create mode 100644 support/scripts/shell/utils.sh

--
2.8.0

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-07-07  5:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 20:50 [Buildroot] [PATCH v9 00/11] Relocatable SDK/Build machine leaks: RPATH fixing Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 01/11] core: split variables definition related to in/out-of-tree build from O itself Samuel Martin
2016-06-26 22:27   ` Arnout Vandecappelle
2016-06-27  4:33     ` Samuel Martin
2016-07-05 17:02   ` Yann E. MORIN
2016-04-22 20:50 ` [Buildroot] [PATCH v9 02/11] core: re-enter make if $(CURDIR) or $(O) are not absolute canonical path Samuel Martin
2016-06-26 23:08   ` Arnout Vandecappelle
2016-04-22 20:50 ` [Buildroot] [PATCH v9 03/11] support/scripts: add fix-rpath script + a bunch of helpers Samuel Martin
2016-07-07  5:23   ` Benjamin Kamath
2016-04-22 20:50 ` [Buildroot] [PATCH v9 04/11] core: sanitize HOST_DIR at the very end of the build Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 05/11] core: add {TARGET, STAGING}_SANITIZE_RPATH_HOOK to TARGET_FINALIZE_HOOKS Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 06/11] package/speex: remove no longer needed hook Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 07/11] support/scripts: update check-host-rpath to use the shell helpers Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 08/11] support/scripts: add check-host-leaks script + all needed helpers Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 09/11] core: add check-leaks-in-{target, host, staging} targets Samuel Martin
2016-04-22 20:50 ` [Buildroot] [PATCH v9 10/11] support/scripts/check-host-leaks: add option to classify leaks Samuel Martin
2016-04-22 21:31   ` Yegor Yefremov
2016-04-22 20:50 ` [Buildroot] [PATCH v9 11/11] docs/manual: document how to debug shell script Samuel Martin
2016-04-22 21:25   ` Yegor Yefremov
2016-06-01  5:26 ` [Buildroot] [PATCH v9 00/11] Relocatable SDK/Build machine leaks: RPATH fixing Samuel Martin
2016-06-08 21:12   ` Samuel Martin
2016-06-16  4:33     ` Samuel Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.