Page MenuHomeFreeBSD

librt: Chase 315ee00fa961, fixing boot
ClosedPublic

Authored by cy on Aug 28 2023, 5:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 3:07 PM
Unknown Object (File)
Fri, Oct 3, 1:36 AM
Unknown Object (File)
Mon, Sep 29, 8:06 AM
Unknown Object (File)
Sun, Sep 21, 1:36 AM
Unknown Object (File)
Wed, Sep 17, 12:32 AM
Unknown Object (File)
Sep 13 2025, 5:59 PM
Unknown Object (File)
Sep 13 2025, 3:52 AM
Unknown Object (File)
Sep 6 2025, 1:11 AM
Subscribers

Details

Summary

libzfs uses librt as a dependency. Following 315ee00fa961 systems with
a separate / and /usr will fail to load the libzfs.so library because
librt.so is not available due to the fact that /usr is not mounted yet.
Install librt in /lib making it available to libzfs.

Fixes: 315ee00fa961

Test Plan

Works locally

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cy requested review of this revision.Aug 28 2023, 5:49 AM

Need obsolete files entry or a sym link from the old place???

This revision is now accepted and ready to land.Aug 28 2023, 6:18 AM

Yes, MOVED_LIBS entry in ObsoleteFiles.inc

Yes, MOVED_LIBS entry in ObsoleteFiles.inc

Added.

Added MOVED_LIBS+=usr/lib/librt.so.1.

This revision now requires review to proceed.Aug 28 2023, 1:30 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 28 2023, 1:31 PM
This revision was automatically updated to reflect the committed changes.
ObsoleteFiles.inc
54

should have a short description, e.g. 20230828: librt moved to /lib

Looks like jrtc27@ has already committed the lib/librt/Makefile part

But thanks I have to track this because the same will happen for the merge from zfs-2.2-release to stable/14

But thanks I have to track this because the same will happen for the merge from zfs-2.2-release to stable/14

We should just merge all of the librt changes to stable/14 (as one commit) likely in 3 days, in advance of the ZFS merge.