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)
Mon, May 20, 7:11 PM
Unknown Object (File)
Thu, May 2, 11:41 AM
Unknown Object (File)
Mar 9 2024, 12:38 PM
Unknown Object (File)
Mar 9 2024, 12:38 PM
Unknown Object (File)
Mar 9 2024, 12:38 PM
Unknown Object (File)
Mar 9 2024, 12:38 PM
Unknown Object (File)
Mar 9 2024, 7:32 AM
Unknown Object (File)
Jan 15 2024, 4:12 PM
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.