Make the openwrt-sdk consistent for the host packages

I'm trying to packetize rust for openwrt and while everything works with both building from scratch openwrt and the openwrt-sdk on Gentoo, on modern ubuntu/debian the sdk seems to do a mix and match between host and system libc producing binaries linking a mixture from both and failing to execute because some libraries expect libc symbols the provided libc does not have.

Removing the stale glibc libraries seems the simplest solution, alternatively providing a host compiler that uses the host directory as sysroot might be an option.

Is the anybody knowledgeable willing to tell me if I'm doing something wrong or why those libraries are provided?