The currently in development and upcoming Emacs 28 release has merged gccemacs. This feature adds support for compiling Emacs Lisp to native code using libgccjit resulting (hopefully) in greatly improved run-time performance.
Adding --enable-languages=jit,(etc) to the gcc build provides libgccjit.so.