Hey, I ironed out the last few bugs with the gnu11-libm-kbuild branch.
Andy, when you start on RTAI again, use that branch as your starting point. I
already reverted LinuxCNC commit 3d926d87f14ada9dea313c2989ee8f24f0e54e0c
locally and it builds fine.
100% Kbuild is the way to go if it works.
I haven't tested this on real CNC hardware, just the sim axis, but I made an
attempt to move the musl libm library into Kbuild. This is so the harmless
undefined symbols in modules during the RTAI build (not LinuxCNC) are gone.
Originally, RTAI's build system would build musl's libm math