[Buildroot] [PATCH v9 00/11] Relocatable SDK/Build machine leaks: RPATH fixing
Samuel Martin
s.martin49 at gmail.com
Thu Jun 16 04:33:07 UTC 2016
up!
Any feedback (review/comment/tests/etc) is more than welcome! ;-)
On Wed, Jun 8, 2016 at 11:12 PM, Samuel Martin <s.martin49 at gmail.com> wrote:
> up!
>
> and the shortcuts:
> http://patchwork.ozlabs.org/patch/613853/
> http://patchwork.ozlabs.org/patch/613854/
> http://patchwork.ozlabs.org/patch/613855/
> http://patchwork.ozlabs.org/patch/613856/
> http://patchwork.ozlabs.org/patch/613857/
> http://patchwork.ozlabs.org/patch/613858/
> http://patchwork.ozlabs.org/patch/613860/
> http://patchwork.ozlabs.org/patch/613859/
> http://patchwork.ozlabs.org/patch/613862/
> http://patchwork.ozlabs.org/patch/613861/
> http://patchwork.ozlabs.org/patch/613863/
>
> Happy review! ;-)
>
> On Wed, Jun 1, 2016 at 7:26 AM, Samuel Martin <s.martin49 at gmail.com> wrote:
>> Ping?
>>
>> On Apr 22, 2016 10:50 PM, "Samuel Martin" <s.martin49 at gmail.com> wrote:
>>
>>>
>>> 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
>>>
>
>
>
> --
> Samuel
--
Samuel
More information about the buildroot
mailing list