New comment by xianwenchen on void-packages repository https://github.com/void-linux/void-packages/issues/24240#issuecomment-786960719 Comment: I have been trying to build libgccjit and gccemacs manually. I was able to build libgccjit. However, I could not build gccemacs. I think the problem was that the configure script with emacs assumed that libgccjit was installed in the /usr. In my case, I installed libgccjit to /home. I have stopped trying to get gccemacs to build manually at the moment. From the status of #28785, I expect that libgccjit will be available from Void's official repository very soon. I plan to wait til then and try to build gccemacs manually. I think at the moment, building gccemacs manually seems to be the best option.