Fix rpath handling in OCaml's Makefile.rules
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest1 patch 1 replyIn review
- v11 patch 2 repliesSuperseded
Changes in v2 from the cover letter
- Previous version mistakenly did not actually get rid of the absolute rpath, pass -L directly to the linker as well
- Credit the original reporter
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | tools/ocaml: Specify rpath correctly for ocamlmklibtools/ | +2 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Fernando Rodrigues | Christian Lindig |
|---|---|---|
| 1/1 | T-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/1] Fix rpath handling in OCaml's Makefile.rules
As reported by Nix's Xen team, OCaml stub libs would embed an absolute rpath in the binaries, which was picked up on by patchelf. This is a symptom of improper handling of -rpath-link in the first place, so correct that and get rid of the issue.
Changes in v2:
- Previous version mistakenly did not actually get rid of the absolute rpath, pass -L directly to the linker as well
- Credit the original reporter
Andrii Sultanov (1):
tools/ocaml: Specify rpath correctly for ocamlmklib
tools/ocaml/Makefile.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.5