Package Details: libgccjit 10.2.0-2

Git Clone URL: https://aur.archlinux.org/libgccjit.git (read-only, click to copy)
Package Base: libgccjit
Description: Just-In-Time Compilation using GCC.
Upstream URL: https://gcc.gnu.org/wiki/JIT
Licenses: GPL3
Submitter: rubdos
Maintainer: flatwhatson (ZenTauro)
Last Packager: flatwhatson
Votes: 13
Popularity: 0.99
First Submitted: 2015-10-20 13:34
Last Updated: 2020-08-25 09:17

Latest Comments

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

rubdos commented on 2020-08-25 07:16

Full disclosure: flatwhatson is now co-maintainer of this package. I had not used libgccjit myself in a while, so if everything goes well after this (which I expect, I mainly cannot find the right button) I would make them owner.

nanny commented on 2020-08-24 13:18

To fix, download PKGBUILD (yay -G libgccjit), edit the gcc versions at the top to 10.2, update the sha sum to the one found here on line 3: ftp://gcc.gnu.org/pub/gcc/releases/gcc-10.2.0/sha512.sum

nivekuil commented on 2020-08-24 11:22

It looks like if the gcc version gets ahead of this package, emacs-native-comp will not only refuse to build, but also start crashing with no other changes.

Thaodan commented on 2020-08-23 11:22

Please add libgcc=$pkgver to the dependencies.

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
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 # Maintainer: Ruben De Smet <ruben dot de dot smet at glycos dot org>
 # Contributor: Jashandeep Sohi <jashandeep.s.sohi@gmail.com>

-_gccmajor="9.3.0"
-_gccver="9.3.0"
+_gccmajor="10.1.0"
+_gccver="10.1.0"
 _gccsrc="gcc-${_gccver}"

 pkgname='libgccjit'
@@ -17,7 +17,7 @@ license=(
 source=(
    "ftp://gcc.gnu.org/pub/gcc/releases/gcc-$_gccmajor/$_gccsrc.tar.xz"
 )
-sha512sums=('4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de')
+sha512sums=('0cb2a74c793face751f42bc580960b00e2bfea785872a0a2155f1f1dbfaa248f9591b67f4322db0f096f8844aca9243bc02732bda106c3b6e43b02bb67eb3096')
 #  "https://sources.archlinux.org/other/gcc/gcc-8.2.1-20180831.tar.xz"
 arch=(
  'i686'

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 "libcc1plugin.so.0" && ln -s "libcc1plugin.so.0.0.0" "libcc1plugin.so.0")
libtool: link: (cd ".libs" && rm -f "libcc1plugin.so" && ln -s "libcc1plugin.so.0.0.0" "libcc1plugin.so")
libtool: link: ( cd ".libs" && rm -f "libcc1plugin.la" && ln -s "../libcc1plugin.la" "libcc1plugin.la" )
libtool: link: (cd ".libs" && rm -f "libcp1plugin.so.0" && ln -s "libcp1plugin.so.0.0.0" "libcp1plugin.so.0")
libtool: link: (cd ".libs" && rm -f "libcp1plugin.so" && ln -s "libcp1plugin.so.0.0.0" "libcp1plugin.so")
libtool: link: ( cd ".libs" && rm -f "libcp1plugin.la" && ln -s "../libcp1plugin.la" "libcp1plugin.la" )
libtool: link: (cd ".libs" && rm -f "libcc1.so.0" && ln -s "libcc1.so.0.0.0" "libcc1.so.0")
libtool: link: (cd ".libs" && rm -f "libcc1.so" && ln -s "libcc1.so.0.0.0" "libcc1.so")
libtool: link: ( cd ".libs" && rm -f "libcc1.la" && ln -s "../libcc1.la" "libcc1.la" )
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