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)
Wed, Oct 8, 7:31 PM
Unknown Object (File)
Wed, Oct 8, 6:47 AM
Unknown Object (File)
Tue, Sep 23, 10:02 PM
Unknown Object (File)
Sep 15 2025, 10:19 PM
Unknown Object (File)
Sep 13 2025, 6:01 AM
Unknown Object (File)
Sep 11 2025, 12:31 PM
Unknown Object (File)
Aug 16 2025, 9:22 PM
Unknown Object (File)
Aug 14 2025, 10:14 PM
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.