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)
Oct 2 2024, 7:11 AM
Unknown Object (File)
Oct 1 2024, 12:45 PM
Unknown Object (File)
Sep 25 2024, 2:56 AM
Unknown Object (File)
Sep 23 2024, 6:01 PM
Unknown Object (File)
Sep 21 2024, 5:31 AM
Unknown Object (File)
Sep 15 2024, 2:32 PM
Unknown Object (File)
Sep 14 2024, 3:38 AM
Unknown Object (File)
Sep 8 2024, 2:40 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 Skipped
Unit
Tests Skipped

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.