<div dir="ltr"><div><div><div>Hello Tudor,<br><br></div>When you say that the file is corrupted on the image, what does that mean exactly?  Have you performed a readelf on the binary to determine what fields may have been messed up?  What is your target architecture?<br><br></div>Thanks,<br><br></div>-Bryce<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 16, 2018 at 10:53 PM, Tudor Holton <span dir="ltr"><<a href="mailto:tudor@smartguide.com.au" target="_blank">tudor@smartguide.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have a br_external package that always lands corrupt on the image and segfaults. I tried a number of things and eventually discovered that it works fine if I graft the output from build directly into the final image.  >From this I narrowed it down to something that happens during fix-rpath, which looks simple, but all my checks show that I'm not linking with anything other than -rpath=$ORIGIN so I'm at a loss as to the root cause.<br>
<br>
This may not be the best solution, but is there a standard way to tell fix-rpath not to patchelf my package and just copy it verbatim to the image?<br>
<br>
Cheers,<br>
Tudor.<br>
<br>
______________________________<wbr>_________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net" target="_blank">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" rel="noreferrer" target="_blank">http://lists.busybox.net/mailm<wbr>an/listinfo/buildroot</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b><br></b></div><div dir="ltr"><b><br></b></div><div dir="ltr"><b>Bryce Ferguson</b><div>Software Engineer</div><div>Airborne Information Solutions \ <span style="font-size:12.8px">RC Linux Platform</span></div><div><p style="font-size:12.8000001907349px;line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Verdana;vertical-align:baseline;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000">400 Collins Rd NE Cedar Rapids, Iowa 52498</font></span></p><p dir="ltr" style="font-size:12.8000001907349px;line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12px;font-family:Verdana;color:rgb(123,110,102);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><a href="mailto:bryce.ferguson@rockwellcollins.com" style="color:rgb(17,85,204)" target="_blank">Bryce.Ferguson@rockwellcollins.com</a></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>