Page MenuHomeFreeBSD

tools/build: Provide fls* when cross-building on Linux
ClosedPublic

Authored by jrtc27 on Aug 11 2022, 12:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 16, 11:50 PM
Unknown Object (File)
Sun, Feb 15, 1:25 AM
Unknown Object (File)
Sun, Feb 8, 2:38 AM
Unknown Object (File)
Sat, Feb 7, 6:25 PM
Unknown Object (File)
Sat, Jan 31, 12:04 AM
Unknown Object (File)
Jan 14 2026, 12:41 PM
Unknown Object (File)
Jan 10 2026, 3:21 PM
Unknown Object (File)
Dec 16 2025, 2:29 AM
Subscribers

Details

Summary

flsll is needed for makefs's new ZFS support, and the others are added
for completeness.

Fixes: 240afd8c1fcc ("makefs: Add ZFS support")

Diff Detail

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

Event Timeline

jrtc27 created this revision.
emaste added a subscriber: markj.

No objection

This revision is now accepted and ready to land.Aug 11 2022, 12:05 AM
arichardson added a subscriber: arichardson.

LGTM. We could also go for inline functions that call the __builtin functions but this is simpler.