Package Base Details: gcc-multilib-trunk-git

Git Clone URL: (read-only, click to copy)
Keywords: devel gcc
Submitter: Nefelim4ag
Maintainer: PhCl
Last Packager: PhCl
Votes: 5
Popularity: 0.000000
First Submitted: 2015-01-20 22:27
Last Updated: 2020-05-09 20:23

Latest Comments

1 2 3 4 Next › Last »

fredham commented on 2020-03-19 05:27

The script c89 and c99 from gcc-multilib-git doesn't work.

The PKGBUILD doesn't escape the $ correctly. It is expanded when the package is built. Here is a patch that addresses these issues.

@@ -172,26 +173,26 @@ cat << EOF > $pkgdir/usr/bin/c89
 for opt; do
-        case "$opt" in
+        case "\$opt" in
                 -ansi|-std=c89|-std=iso9899:1990) fl="";;
-                -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
+                -std=*) echo "\`basename \$0\` called with non ANSI/ISO C option \$opt" >&2
                 exit 1;;
-exec gcc $fl ${1+"$@"}
+exec gcc \$fl \${1+"\$@"}

 cat << EOF > $pkgdir/usr/bin/c99
 for opt; do
-        case "$opt" in
+        case "\$opt" in
                 -std=c99|-std=iso9899:1999) fl="";;
-                -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
+                -std=*) echo "\`basename \$0\` called with non ISO C99 option \$opt"
                 exit 1;;
-exec gcc $fl ${1+"$@"}
+exec gcc \$fl \${1+"\$@"}

         chmod 755 $pkgdir/usr/bin/c{8,9}9

PhCl commented on 2019-12-10 11:45

Warning: After upgrading the Linux kernel to 5.4.2-arch1-1, nvidia failed to compile for me. The effect was that my system could still boot but refused to bring up the graphical environment.

If you are hit, I recommend to first downgrade gcc to the official Arch package:

sudo pacman -U /var/cache/pacman/pkg/gcc**9.2.0-4*

Then force a recompilation of nvidia find out which packages need to be reinstalled:

pacman -Q | grep nvidia

In my case:

sudo pacman -S lib32-nvidia-utils lib32-opencl-nvidia nvidia-dkms nvidia-utils opencl-nvidia

PhCl commented on 2019-05-03 23:16

If you install gcc-multilib-gcc, you might run into this dependency error:

error: failed to prepare transaction (could not satisfy dependencies)
:: removing gcc breaks dependency 'gcc=8.3.0-1' required by gcc-fortran
:: removing gcc breaks dependency 'gcc=8.3.0-1' required by gcc-objc

Until there is a proper fix, it should work to install these three packages together:

gcc-multilib-git gcc-fortran-multilib-git gcc-objc-multilib-git

Please let me know if someone knows how to correctly define the dependences in the PKGBUILD. (Maybe gcc-multilib-git should automatically pull gcc-fortran-multilib-git and gcc-objc-multilib-git?)

PhCl commented on 2019-03-09 00:42

Fixed _pkgver_base

rambodrahmani commented on 2019-03-07 12:11

Checking out files: 100% (87908/87908), done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> ERROR: `_pkgver_base` needs to be updated to 9.0.1
==> ERROR: A failure occurred in prepare().
Error making: gcc-multilib-trunk-git (lib32-gcc-libs-git gcc-libs-multilib-git gcc-multilib-git)

PhCl commented on 2018-10-29 21:12

@SpaceboyRoss Unfortunately, I cannot reproduce. Can you give some more details? And more important, can you reproduce if you remove all old state? "gcc is not a commit" could indicate that it fails to checkout the sources.

Independent of that, I noticed that this package (gcc-multilib-trunk-git) is affected by the same build issue discussed in

/home/phil/aur/gcc-multilib-trunk-git/src/gcc/gcc/config/i386/i386.c: In function ‘const char* output_fix_trunc(rtx_insn*, rtx_def**, bool)’:
/home/phil/aur/gcc-multilib-trunk-git/src/gcc/gcc/config/i386/i386.c:19200:1: error: invalid operand in unary operation
19200 | output_fix_trunc (rtx_insn *insn, rtx *operands, bool fisttp)
      | ^~~~~~~~~~~~~~~~

I'll try to port the workaround from gcc-git.

SpaceboyRoss commented on 2018-10-18 00:01

"gcc is not a commit" error while building

PhCl commented on 2018-05-01 22:48

Fixed _pkgver_base

RemoteAdmin commented on 2018-04-26 05:44

==> ERROR: `_pkgver_base` needs to be updated to 9.0.0

PhCl commented on 2017-12-15 01:01

@tuxsavvy I have integrated your patch. Thank you!