All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Fix rpath handling in OCaml's Makefile.rules
@ 2024-12-09 17:57 Andrii Sultanov
  2024-12-09 17:57 ` [PATCH v2 1/1] tools/ocaml: Specify rpath correctly for ocamlmklib Andrii Sultanov
  0 siblings, 1 reply; 3+ messages in thread
From: Andrii Sultanov @ 2024-12-09 17:57 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrii Sultanov, Christian Lindig, David Scott, Anthony PERARD

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(-)

-- 
2.39.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-11 11:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-09 17:57 [PATCH v2 0/1] Fix rpath handling in OCaml's Makefile.rules Andrii Sultanov
2024-12-09 17:57 ` [PATCH v2 1/1] tools/ocaml: Specify rpath correctly for ocamlmklib Andrii Sultanov
2024-12-11 11:06   ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.