<p style="white-space: pre-wrap; word-wrap: break-word;">Ok so the summary IIUC is that you need --force-rpath because the toolchain/loader in the old kernel is not acting properly, as explained in "man patchelf":</p><p style="white-space: pre-wrap; word-wrap: break-word;">"""<br>--force-rpath<br>Forces the use of the obsolete DT_RPATH in the file instead of DT_RUNPATH. By default DT_RPATH is converted to DT_RUNPATH<br>"""</p><p style="white-space: pre-wrap; word-wrap: break-word;">Now, I'm still asking myself whether it's really needed to do this in OGT itself.<br>As far as I understand, you are building a special "inst" (trial) with binaries for that machine right? That means to me it makes much more sense to put these bits into the jobs building the "inst" archive. I see 2 possiblities:<br>1- Run the "patchelf --force-rpath --set-rpath /mnt/fns/bdlibs/" when generating the "inst", on each binary, since basically the path of where the libs are for the system your are building for is known at that time.<br>2- Move all the libs from /mnt/nfs/bdlibs to the "inst/lib" directory instead, so you have all non-system libraries needed there for that trial.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Can you give a try to option 1 and/or provide any feedback if you see any issue with the proposal?<br></p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272">change 24272</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2d4a105d4843c0d31d6b5d8f8d4195247b290aec </div>
<div style="display:none"> Gerrit-Change-Number: 24272 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: alealcon <alejandro.leal@srs.io> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 01 Jun 2021 10:51:24 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>