New comment by Hoshpak on void-packages repository https://github.com/void-linux/void-packages/issues/14273#issuecomment-529129439 Comment: Please check your `/usr/bin/cc` symlink. If it points to clang or any other compiler that is not gcc, use xbps-alternatives to set it back to gcc. The errors look like the wrong compiler is used to build the kernel module.