If you met the libgccjit requires gcc-libs=11.1.0 problem and you don't know how to handle this, here is a quick solution for you:
- Uninstall libgccjit and emacs-git:
sudo pacman -R libgccjit emacs-native-comp-git-enhanced
- Roll your arch linux, just
sudo pacman -Syyu
- Install libgccjit via this pkgbuild: https://gist.github.com/VitalyAnkh/cfaaa103b5046c69c7b62eb313a6f4d4. Save it as a PKGBUILD and run
makepkg -si
in the same directory. - Install emacs-native-comp-git-enhanced from AUR.
Hopefully Arch will enable jit in the gcc package then we don't need to install libgccjit any more. Someone is working on that: https://bugs.archlinux.org/task/70280.
Pinned Comments
VitalyR commented on 2022-02-15 14:36 (UTC) (edited on 2022-02-15 15:02 (UTC) by VitalyR)
If you met the libgccjit requires gcc-libs=11.1.0 problem and you don't know how to handle this, here is a quick solution for you:
makepkg -si
in the same directory.Hopefully Arch will enable jit in the gcc package then we don't need to install libgccjit any more. Someone is working on that: https://bugs.archlinux.org/task/70280.
VitalyR commented on 2021-12-18 18:56 (UTC)
Since
feature/pgtk
branch has been merged into themaster
branch, this package will track themaster
branch by default.To speed up the compilation, this package will use
clang
to compile andmold
to link. Make sure you have installed them if you use the default config.