Change in osmo-gsm-tester[master]: util: adds the feature to force the rpath when patching files.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

alealcon gerrit-no-reply at lists.osmocom.org
Thu May 20 16:24:05 UTC 2021


alealcon has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272 )

Change subject: util: adds the feature to force the rpath when patching files.
......................................................................


Patch Set 1:

> Patch Set 1:
> 
> I would really like yo have some information in the commit on WHY is this really needed. Where you plan to use it? why isn't the other way working? please provide feedback.

Hi Pau,

I working with a new device and platform (ppc) and I created a crosscompiler for it. I places the libraries in a folder, so I need to patch the binary so it can find those libraries. The problem is that without the '--force-rpath' option passed to the patchelf utility  the binary can't find those libraries, but it finds it with that option enabled for the patchelf utility. 
I decided to create a new function to allow this funcionality in order to avoid causing an impact on other parts of the code that are currently working with the normal function.

Thanks


-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I2d4a105d4843c0d31d6b5d8f8d4195247b290aec
Gerrit-Change-Number: 24272
Gerrit-PatchSet: 1
Gerrit-Owner: alealcon <alejandro.leal at srs.io>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Thu, 20 May 2021 16:24:05 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210520/e189658f/attachment.htm>


More information about the gerrit-log mailing list