that's not quite true, sabotage linux builds mesa fine (with 2 minor patches).
recipe:
https://github.com/sabotage-linux/sabotage/blob/master/pkg/mesalib#L19
patches:
https://github.com/sabotage-linux/sabotage/blob/master/KEEP/mesalib-fpclassify.patch
https://github.com/sabotage-linux/sabotage/blob/master/KEEP/mesalib-strtod.patch
https://github.com/sabotage-linux/sabotage/blob/master/KEEP/mesalib-strtof.patch
nothing actually works with the SDL/musl binary.
basically what you should try to do is build all dependencies against musl.
So, will it ever work?
even if it would work, mixing glibc and musl linked things is far from optimal.