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 library outside of 
the kernel build system, then would get linked against rtai_math.ko at the end 
of the build. Because it would happen at the end, technically, they're all 
undefined for a _very_ brief moment.

By moving libm into Kbuild, each module (i.e. fabs, atan2 etc) all gets built 
along with rtai_math together.

It's in it's own branch called, gnu11-libm-kbuild

Tree:

https://github.com/NTULINUX/RTAI/tree/gnu11-libm-kbuild

If you want to play with it, go ahead! No more RTAI warnings.

Alec


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to