Package Details: libgccjit 10.1.0-1

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: rubdos (ZenTauro)
Last Packager: ZenTauro
Votes: 8
Popularity: 1.13
First Submitted: 2015-10-20 13:34
Last Updated: 2020-05-18 11:56

Latest Comments

1 2 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
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

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

Hi!

Since GCC has been updated to 9.1.0, this package can be updated as well. Here is the new checksum: https://gcc.gnu.org/pub/gcc/releases/gcc-9.1.0/sha512.sum

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: ftp://gcc.gnu.org/pub/gcc/releases/ Not officially at least!

edit: STRIKE THAT!

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
libgccjit.so: error: error invoking gcc driver

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

dfjigdfijgojio commented on 2018-02-20 22:44

fixed , tanx.