Closed issue by zenny on void-packages repository https://github.com/void-linux/void-packages/issues/24240 Description: # Package Name GCCemacs (http://akrl.sdf.org/gccemacs.html) # Linux-related link https://www.emacswiki.org/emacs/GccEmacs http://akrl.sdf.org/gccemacs.html#org248e6b1 http://akrl.sdf.org/gccemacs.html#orgec98bb2 # Practical Rationale > This (slowness) comes up often. The first thing folks fresh off the boat from other editors will notice is that Emacs has a low threshold for performance issues. It doesn’t take much to get it to scroll like molasses... There is an unfortunate but necessary adjustment of expectations new users must undergo, when they adopt Emacs. Doom has inherited this curse. It’s raison d’etre is to improve the situation, but I can only go so far, especially if you choose to enable all the most expensive features. You will unavoidable find cases where Emacs is just slow. Reference: https://github.com/hlissner/doom-emacs/blob/fd3b89854eb13ddb2c8ecc2da68a9cbb0dcdb836/docs/faq.org#why-is-emacsdoom-slow > One of the things that irritated me the most about emacs was how slow it was when the text in one of the files got very long. If a line (paragraphs are considered one line in emacs) gets too long, emacs starts to slow down till you start a new paragraph. As someone who does writing for a living, taking notes, inserting citations, this starts to get very annoying. Upon conversation with the creator of DOOM emacs, I installed GCC emacs. There are a bunch of different ways to do this, but I followed the amazing gist written by mjlbach. When I ran into trouble he took time out to help me figure it out. Much thanks to him. As a result, my emacs runs as fast as it ever has. Reference: https://github.com/sunnyhasija/DOOMEmacs/blob/master/README.org#move-to-gcc-emacs # Manual installation in Void Tried to install in voidlinux without success as follows: ``` $ git clone https://git.savannah.gnu.org/emacs.git $ cd emacs $ git checkout feature/native-comp $ ./autogen.sh $ ./configure --with-nativecomp ... configure: error: Installed libgccjit has failed passing the smoke test. You can verify it yourself compiling: . Please report the issue to your distribution. Here instructions on how to compile and install libgccjit from source: . ``` ATTN: @leahneukirchen (the emacs package maintainer)