Re: [PATCH v1 0/1] Fix rpath handling in OCaml's Makefile.rules

2024-12-09 Thread Andrii Sultanov
DO NOT COMMIT - this patch is not correct, and I will send an updated version later. On Mon, Dec 9, 2024 at 3:16 PM Andrii Sultanov wrote: > 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

Re: [PATCH v1 0/1] Fix rpath handling in OCaml's Makefile.rules

2024-12-09 Thread Christian Lindig
> On 9 Dec 2024, at 15:16, Andrii Sultanov wrote: > > 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

[PATCH v1 0/1] Fix rpath handling in OCaml's Makefile.rules

2024-12-09 Thread Andrii Sultanov
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. Andrii Sultanov (1): tools/ocaml: Specify rpath co