[Bug 293867] net/ucx: fix FreeBSD runtime issues blocking UCX-backed MPI paths

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Apr 2026 22:43:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293867

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=94fc6d9ffebbad5014a7f48ba925b9a39df8478f

commit 94fc6d9ffebbad5014a7f48ba925b9a39df8478f
Author:     Generic Rikka <rikka.goering@outlook.de>
AuthorDate: 2026-04-08 22:25:29 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-04-08 22:42:19 +0000

    net/ucx: Fix FreeBSD UCM relocation handling

    On FreeBSD, dynamic-section pointers observed through dl_iterate_phdr()
    for shared objects need to be rebased by dlpi_addr before dereference.

    Also fix the PT_LOAD end range calculation to include the object base
    address when tracking the library address span.

    This fixes runtime failures in UCM relocation patching on FreeBSD.

    PR:             293867
    Sponsored by:   UNIS Labs
    MFH:            2026Q2

 net/ucx/files/patch-src_ucm_util_reloc.c | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.