Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

Stanislav Kozina
2016-12-15T13:44:24Z

> Yeah it's great work, so is Stanislav's checker. I wouldn't mind having
> a kernel-centric checker tool merged in the kernel if it is small,
> maintained, and does a sufficient job for distros.

I'd be very happy to see the resulting tool in the kernel tree, as it
needs to be kept in sync with any significant changes done to the kernel
layout in the future.
It's not important if the result is based off libabigail or kabi-dw
code, I'm sure both can be adjusted to serve the needs. kabi-dw tends to
be smaller and still rather proof-of-concept, libabigail is definitely
more mature. The only real difference is C vs. C++ code.

> So if I understand where we are, moving the ABI compatibility checking
> to one of these tools looks possible. What to do when we have an ABI change
> is not settled, but feeding version numbers explicitly into modversions
> is an option that would be close to what distros do today.

Sounds great!

Thank you!
-Stanislav