kmod-project / kmod

kmod - Linux kernel module handling
GNU Lesser General Public License v2.1
50 stars 39 forks source link

Re-enable sanitizer on Fedora #219

Closed evelikov closed 2 weeks ago

evelikov commented 3 weeks ago

Fedora 41 is out :partying_face:

Being the first distro to ship clang 19, this time with actual sanitizer DSO for us to use :tada:. The filename has been changed and seemingly that went undocumented :facepalm:

With a tweak to the name + fallback for everyone else - things just work.

In before anyone asks: Why do we bother with checking for gcc vs clang, instead of just doing the test -f trick?

The gcc DSO usually lives within $libdir, thus is found, but not used, by clang. That may change in the future, plus there is no guarantee that the clang one won't be moved to $libdir at some point.

lucasdemarchi commented 2 weeks ago

Applied, thanks