| Summary: | lttng-tools and lttng-babeltrace executables contain bad RPATH pointing to host machine | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Ben Shelton <benjamin.h.shelton> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2015.05 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Ben Shelton
2015-08-27 16:29:28 UTC
Thanks for your bug report. We indeed know that some binaries/executables on the target have invalid rpath pointing to locations on the build machine. However, I believe it is not really Buildroot's fault here, but the build system of some packages that does an incorrect thing. So far, this hasn't been a big issue since pretty much nobody has a path on the target that matches those invalid rpath. Of course, having such rpaths is ugly, but it wasn't causing any practical problem. We have a patch series pending that takes care of cleaning up the target rpath (and also adjusting the rpath of the host binaries). See http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/120158 and the following patches. As I indicated in my previous comment, since it is not really a bug. There are plenty of packages which hardcode invalid (i.e host RPATH) in their binaries, and that generally doesn't cause any problem. We'll hopefully solve this problem once Samuel's work around RPATH tweaking gets merged. |