Package Details: libgccjit 11.1.0-1

Git Clone URL: (read-only, click to copy)
Package Base: libgccjit
Description: Just-In-Time Compilation using GCC.
Upstream URL:
Licenses: GPL3
Submitter: rubdos
Maintainer: flatwhatson (ZenTauro)
Last Packager: flatwhatson
Votes: 26
Popularity: 2.15
First Submitted: 2015-10-20 13:34
Last Updated: 2021-05-17 10:16

Pinned Comments

flatwhatson commented on 2021-05-17 22:01

NOTE: This package depends on gcc-libs=11.1.0, which presents a problem when upgrading from gcc-10.2.0.

The straightforward solution is to remove libgccjit and its dependees, update gcc, then rebuild and reinstall libgccjit and its dependees:

pacman -Rcs libgccjit
pacman -Syu
cd libgccjit && makepkg -si
# repeat for emacs-git etc.

You may be able to skip the uninstall step using --nodeps or --assume-installed flags. Obviously if using an AUR helper then your build/install commands will be a little different.

If the build is failing and you would like some help, please run makepkg --log and upload the entire build log somewhere. Pasting the last few lines of "make" output is useless, the actual error is usually far above in the log.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

daniel-v1 commented on 2020-05-17 11:04

10.1.0 is in the Core repo, but only as of like 2 days ago. Your mirrors might still be updating I guess?

x86_64  Core    gcc     10.1.0-1    The GNU Compiler Collection - C and C++ frontends   2020-05-14
❯ gcc --version
gcc (GCC) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO

ZenTauro commented on 2020-05-16 12:26

@daniel-v1 What version of gcc are you using? After updating the whole system I'm still on gcc 9.3.0, updating this to use gcc 10.1.0 will break any packages that depend on libgccjit

daniel-v1 commented on 2020-05-15 13:24

I've updated the version numbers, run updpkgsums for the checksum and successfully built this package locally. I've included the diff output below if anybody wants it. Couldn't figure out how to attach things, sorry. Thanks for the awesome PKGBUILD where so few changes were needed to get it to work with the new version!

diff --git a/PKGBUILD b/PKGBUILD
index dd8e07f..9c3d6ff 100644
@@ -2,8 +2,8 @@
 # Maintainer: Ruben De Smet <ruben dot de dot smet at glycos dot org>
 # Contributor: Jashandeep Sohi <>


@@ -17,7 +17,7 @@ license=(
 #  ""

ZenTauro commented on 2020-04-20 14:59

Thanks for noticing Flatwhatson, I've pushed that change

flatwhatson commented on 2020-04-14 14:32

Thanks for updating this package ZenTauro!

FYI, the "make -j$(nproc)" is not correct behaviour. Users can set their MAKEFLAGS in /etc/makepkg.conf (eg. MAKEFLAGS="-j16"), so you should just call "make".

ZenTauro commented on 2020-02-23 11:54

Hi, I'm trying to build libgccjit to build the gccemacs branch of emacs, but I'm unable to build it with this PKGCONFIG, I get the following error:

libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
make[3]: se sale del directorio '/home/zentauro/Downloads/build/libgccjit/src/libgccjit-build/libcc1'
make[2]: se sale del directorio '/home/zentauro/Downloads/build/libgccjit/src/libgccjit-build/libcc1'
make[1]: se sale del directorio '/home/zentauro/Downloads/build/libgccjit/src/libgccjit-build'
make: *** [Makefile:935: all] Error 2

rubdos commented on 2019-07-24 07:17

FWIW, just updating the versions didn't seem to be enough here at first. makepkg -cC seems to help.

Feel free to let me know if there ar estill errors. If someone that actually uses libgccjit would want to take over this package, be my guest! I don't even recall for what I used it...

zyzzyxdonta commented on 2019-07-23 22:20


Since GCC has been updated to 9.1.0, this package can be updated as well. Here is the new checksum:

From what I've tried, updating _gccver and _gccmajor to 9.1.0 seems to work. I haven't checked the dependencies, though.

pmatos commented on 2019-02-20 14:34

@adsun not sure why you flagged this out-of-date. There's no such thing as gcc 8.2.1 at the moment: Not officially at least!


OK, I know what's happening now. arch updated it's 8.2 version to 8.2.1 and gcc is installed as /usr/bin/x86_64-pc-linux-gnu-gcc-8.2.1. Since this package installs as 8.2.0, it looks for /usr/bin/x86_64-pc-linux-gnu-gcc-8.2.0 for compilation. Since it can't find it, it doesn't work failing with:

ld: cannot find crtbeginS.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc error: error invoking gcc driver

So this library has to stay in-sync with the arch gcc package.

basemax commented on 2018-02-20 22:44

fixed , tanx.