Hmm, alpine even has a configure check to see whether qsort() wants the comparison function to take (void *) or (char *) arguments, but something in there seems to go wrong. Investigating ...