Package Details: gcc-multilib-git 8.0.0.r158636.6b74e46fb96-1

Git Clone URL: https://aur.archlinux.org/gcc-multilib-trunk-git.git (read-only)
Package Base: gcc-multilib-trunk-git
Description: The GNU Compiler Collection - C and C++ frontends for multilib
Upstream URL: http://gcc.gnu.org
Keywords: devel gcc
Licenses: custom, GPL3, LGPL
Groups: multilib-devel
Conflicts: gcc
Provides: gcc=8.0.0.r158636.6b74e46fb96-1, gcc-multilib=8.0.0.r158636.6b74e46fb96-1
Submitter: Nefelim4ag
Maintainer: PhCl (FadeMind)
Last Packager: PhCl
Votes: 5
Popularity: 0.011972
First Submitted: 2015-01-20 22:27
Last Updated: 2017-12-15 00:57

Dependencies (10)

Required by (1000)

Sources (1)

Latest Comments

PhCl commented on 2017-12-15 01:01

@tuxsavvy I have integrated your patch. Thank you!

tuxsavvy commented on 2017-12-09 05:18

Package no longer compiles as of 8.0.0.* due to Intel Cilk Plus libraries being removed:

It also appears that Cilk Plus is going to be deprecated in 2018 and will remain that way:

Here is a patch which addresses it. Ignore the first edit as I wanted to make use of SMP by tweaking make flags:

--- PKGBUILD.old        2017-12-09 15:12:46.000000000 +1000
+++ PKGBUILD.new        2017-12-09 12:37:59.754351376 +1000
@@ -8,7 +8,7 @@

 pkgbase="gcc-multilib-trunk-git"
 pkgname=('gcc-multilib-git' 'gcc-libs-multilib-git' 'lib32-gcc-libs-git' 'gcc-objc-multilib-git')
-pkgver=8.0.0.r153878.495cd7fe2dc
+pkgver=8.0.0.r158527.5db5e372afa
 _pkgver_base=8.0.0
 pkgrel=1
 pkgdesc="The GNU Compiler Collection developmental snapshot"
@@ -81,7 +81,7 @@
         --with-linker-hash-style=gnu \
         --enable-multilib --disable-werror \
         --enable-checking=release
-        make
+        make -j 3

         # make documentation
         make -C $_CHOST/libstdc++-v3/doc doc-man-doxygen
@@ -144,15 +144,12 @@
         make -C gcc DESTDIR=${pkgdir} install-mkheaders
         make -C lto-plugin DESTDIR=${pkgdir} install

-        make -C $_CHOST/libcilkrts DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS \
-        install-nodist_cilkincludeHEADERS
         make -C $_CHOST/libgomp DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS \
         install-nodist_libsubincludeHEADERS
         make -C $_CHOST/libitm DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
         make -C $_CHOST/libquadmath DESTDIR=${pkgdir} install-nodist_libsubincludeHEADERS
         make -C $_CHOST/libsanitizer DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
         make -C $_CHOST/libsanitizer/asan DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
-        make -C $_CHOST/32/libcilkrts DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
         make -C $_CHOST/32/libgomp DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
         make -C $_CHOST/32/libitm DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
         make -C $_CHOST/32/libsanitizer DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
@@ -227,7 +224,7 @@
         make -C $_CHOST/libgcc DESTDIR=${pkgdir} install-shared
         [ -f ${pkgdir}/${_libdir}/libgcc_eh.a ] && rm ${pkgdir}/${_libdir}/libgcc_eh.a

-        for lib in libatomic libcilkrts libgfortran libgomp \
+        for lib in libatomic libgfortran libgomp \
         libitm libquadmath libsanitizer/{a,l,ub}san libstdc++-v3/src libvtv; do
                 [ -d $_CHOST/$lib ] && make -C $_CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
         done
@@ -264,7 +261,7 @@
         make -C $_CHOST/32/libgcc DESTDIR=${pkgdir} install-shared
         [ -f ${pkgdir}/${_libdir}/32/libgcc_eh.a ] && rm ${pkgdir}/${_libdir}/32/libgcc_eh.a

-        for lib in libatomic libcilkrts libgfortran libgomp libitm libquadmath \
+        for lib in libatomic libgfortran libgomp libitm libquadmath \
         libsanitizer/{a,l,ub}san libstdc++-v3/src libvtv; do
                 [ -d $_CHOST/32/$lib ] && make -C $_CHOST/32/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
         done

1ace commented on 2017-05-16 17:28

prepare() is better, thanks :)

And yes, the package builds for me, which the correct _pkgver_base (which I just saw in the git logs that you had fixed before my message last week, but I somehow missed there was a commit to pull, and had to figure out things myself).

I wasn't subscribed to this package's comments btw, but I am now :)

PhCl commented on 2017-05-10 22:56

@1ace: I have added your snippet at the begin of prepare. From what I see, this is better than in pkgver. You get the same error message if the version does not match, but it will also abort the build immediately. Let me know if I overlooked something.

PhCl commented on 2017-05-10 17:34

OK, I'll have a look at the improved error message.

In the meantime, does it build for you at the moment? I recently upgraded _pkgver_base to 8.0.0. It was a week ago when I tested it.

1ace commented on 2017-05-10 09:07

I was confused by the build error, and it took me a while to figure out the reason.
Could you add this error message at the end of `pkgver()`?

if [ $(cat gcc/BASE-VER) != $_pkgver_base ]
then
error "\`_pkgver_base\` needs to be updated to $(cat gcc/BASE-VER)"
return 1 # errors in pkgver() are ignored by makepkg, for now
fi

Cheers :)

PhCl commented on 2017-02-17 01:56

@xavloose: Thanks a lot. I fixed it.

@dariost: Sorry, I overlooked your comment. In case, it is still relevant, here is the output:

$ pacman -Qo /usr/lib/libstdc++.a
/usr/lib/libstdc++.a is owned by gcc-multilib-git 7.0.1.r152355.43e2581c071-1

xavloose commented on 2017-02-16 19:30

I needed to change _pkgver_base to 7.0.1 in order to make the package

dariost commented on 2016-12-31 00:31

PhCl, which package owns /usr/lib/libstdc++.a in your installation?

PhCl commented on 2016-12-07 02:33

Unfortunately, I could not reproduce the error. However, I did not have time to look more closely at your error message (the libstdc++.a conflict). Maybe someone has an idea?

Anyway, here are my outputs:

$ yaourt -S gcc-multilib-git
...
:: gcc-libs-multilib-git and gcc-libs-multilib are in conflict (gcc-libs). Remove gcc-libs-multilib? [y/N] y
:: lib32-gcc-libs-git and lib32-gcc-libs are in conflict. Remove lib32-gcc-libs? [y/N] y
:: gcc-multilib-git and gcc-multilib are in conflict (gcc). Remove gcc-multilib? [y/N] y
:: gcc-objc-multilib-git and gcc-objc-multilib are in conflict (gcc-objc). Remove gcc-objc-multilib? [y/N] y

Packages (8) gcc-libs-multilib-6.2.1-1 [removal] gcc-multilib-6.2.1-1 [removal]
gcc-objc-multilib-6.2.1-1 [removal] lib32-gcc-libs-6.2.1-1 [removal]
gcc-libs-multilib-git-7.0.0.r150820.e726704-1 gcc-multilib-git-7.0.0.r150820.e726704-1
gcc-objc-multilib-git-7.0.0.r150820.e726704-1 lib32-gcc-libs-git-7.0.0.r150820.e726704-1

Total Installed Size: 220.95 MiB
Net Upgrade Size: -72.90 MiB

All comments