Package Details: gcc-libs-multilib-git 12.0.0.r190435.840a22e0fee-1

Git Clone URL: https://aur.archlinux.org/gcc-multilib-trunk-git.git (read-only, click to copy)
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
Conflicts: gcc-libs
Provides: gcc-libs, gcc-libs-multilib
Submitter: Nefelim4ag
Maintainer: PhCl
Last Packager: PhCl
Votes: 5
Popularity: 0.000000
First Submitted: 2015-01-20 22:27 (UTC)
Last Updated: 2021-12-17 01:26 (UTC)

Required by (2745)

Sources (1)

Latest Comments

PhCl commented on 2022-05-07 15:59 (UTC)

Fine with me to delete.

ptr1337 commented on 2022-05-07 15:54 (UTC)

Would be great if you drop this PKGBUILD, so I could add lib32-gcc-libs-git into the gcc-git PKGBUILD.

Regards.

FabioLolix commented on 2022-01-06 14:40 (UTC)

gcc-multilib in the official repo have been merged into gcc since years now, gcc-git have followed, gcc-git also package gcc-ada,gcc-go,gcc-d, this pkgbuild is no longer relevant?

PhCl commented on 2021-12-17 01:27 (UTC)

Fixed _pkgver_base

skaiboa commented on 2021-12-14 12:56 (UTC) (edited on 2021-12-14 12:57 (UTC) by skaiboa)

Got the following error:

==> Starting prepare()...
==> ERROR: `_pkgver_base` needs to be updated to 12.0.0
==> ERROR: A failure occurred in prepare().

fredham commented on 2020-03-19 05:27 (UTC)

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
 #!/bin/sh
 fl="-std=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;;
         esac
 done
-exec gcc $fl ${1+"$@"}
+exec gcc \$fl \${1+"\$@"}
 EOF

 cat << EOF > $pkgdir/usr/bin/c99
 #!/bin/sh
 fl="-std=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"
>&2
                 exit 1;;
         esac
 done
-exec gcc $fl ${1+"$@"}
+exec gcc \$fl \${1+"\$@"}
 EOF

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

PhCl commented on 2019-12-10 11:45 (UTC) (edited on 2019-12-10 11:46 (UTC) by PhCl)

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 (UTC) (edited on 2019-05-03 23:18 (UTC) by PhCl)

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 (UTC)

Fixed _pkgver_base

rambodrahmani commented on 2019-03-07 12:11 (UTC) (edited on 2019-03-07 12:12 (UTC) by rambodrahmani)

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().
    Aborting...
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 (UTC) (edited on 2018-10-29 21:14 (UTC) by PhCl)

@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 https://aur.archlinux.org/pkgbase/gcc-git/

/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 (UTC)

"gcc is not a commit" error while building

PhCl commented on 2018-05-01 22:48 (UTC)

Fixed _pkgver_base

RemoteAdmin commented on 2018-04-26 05:44 (UTC)

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

PhCl commented on 2017-12-15 01:01 (UTC)

@tuxsavvy I have integrated your patch. Thank you!

tuxsavvy commented on 2017-12-09 05:18 (UTC) (edited on 2017-12-09 05:20 (UTC) by tuxsavvy)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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

dariost commented on 2016-12-31 00:31 (UTC)

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

PhCl commented on 2016-12-07 02:33 (UTC)

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

dariost commented on 2016-12-04 15:04 (UTC)

I can't install this package because I get the following error: 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.r150766.2a92600-1 gcc-multilib-git-7.0.0.r150766.2a92600-1 gcc-objc-multilib-git-7.0.0.r150766.2a92600-1 lib32-gcc-libs-git-7.0.0.r150766.2a92600-1 Total Installed Size: 319.70 MiB Net Upgrade Size: 25.85 MiB :: Proceed with installation? [Y/n] y (4/4) checking keys in keyring [####################################################################] 100% (4/4) checking package integrity [####################################################################] 100% (4/4) loading package files [####################################################################] 100% (4/4) checking for file conflicts [####################################################################] 100% error: failed to commit transaction (conflicting files) /usr/lib32/libstdc++.a exists in both 'lib32-gcc-libs-git' and 'gcc-multilib-git' /usr/lib/libstdc++.a exists in both 'gcc-libs-multilib-git' and 'gcc-multilib-git' Errors occurred, no packages were upgraded. error: no targets specified (use -h for help)

PhCl commented on 2016-04-10 00:20 (UTC)

Should be fixed now. I copied the workaround from the gcc-git package.

PhCl commented on 2016-04-07 18:33 (UTC)

Install currently fails with an error message like this: install: failed to access '/home/phil/persistent-yaourt/yaourt-tmp-phil/aur-gcc-multilib-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144667.145489.382ece2/': No such file or directory Instead of pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144667.145489.382ece2/ locally I have a directory pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144667.048186c Unfortunately, I have not had time to analyze it. Any help is appreciated. :-)

PhCl commented on 2016-02-15 02:21 (UTC)

Thanks, gcc-libs-multilib-git now also provides "gcc-libs-multilib".

FadeMind commented on 2016-02-14 08:40 (UTC) (edited on 2016-02-14 08:43 (UTC) by FadeMind)

gcc-libs-multilib-git should provides gcc-libs-multilib provides=("gcc-libs=$pkgver-$pkgrel" "gcc-libs-multilib=$pkgver-$pkgrel") due some lib32-packages required gcc-libs-multilib

PhCl commented on 2016-02-14 03:20 (UTC)

1) The error "make: *** x86_64-unknown-linux-gnu/libstdc++-v3/doc" error should be fixed now. I applied the workaround for "CHOST" from the gcc-git package. 2) 'git' is now part of makedepends

FadeMind commented on 2016-02-13 08:26 (UTC) (edited on 2016-02-13 08:32 (UTC) by FadeMind)

And one more: /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-propagate.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-propagate.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-sccvn.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-sccvn.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-scopedtables.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-scopedtables.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-ter.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-ter.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-threadbackward.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-threadbackward.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-threadedge.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-threadedge.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa-threadupdate.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa-threadupdate.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssa.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssa.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-ssanames.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-ssanames.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-stdarg.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-stdarg.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-streamer.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-streamer.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree-vectorizer.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree-vectorizer.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree.def /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree.def /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tree.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tree.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/treestruct.def /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/treestruct.def /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tsan.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tsan.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/tsystem.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/tsystem.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/typeclass.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/typeclass.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/typed-splay-tree.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/typed-splay-tree.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/ubsan.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/ubsan.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/valtrack.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/valtrack.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/value-prof.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/value-prof.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/varasm.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/varasm.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/vec.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/vec.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/version.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/version.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/vmsdbg.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/vmsdbg.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/vtable-verify.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/vtable-verify.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/wide-int-print.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/wide-int-print.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/wide-int.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/wide-int.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/xcoff.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/xcoff.h /usr/bin/install -c -m 644 /build/gcc-multilib-trunk-git/src/gcc/gcc/xcoffout.h /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/xcoffout.h /usr/bin/install -c -m 644 b-header-vars /build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.144655.67cab04/plugin/include/b-header-vars make: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/gcc' install: failed to access '/build/gcc-multilib-trunk-git/pkg/gcc-multilib-git/usr/lib/gcc/x86_64-unknown-linux-gnu/6.0.144655.67cab04/': No such file or directory

FadeMind commented on 2016-02-12 19:54 (UTC)

make[8]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/32/libsanitizer/ubsan' make[8]: Entering directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/32/libsanitizer' true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -m32" "CXXFLAGS=-g -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_GNU_SOURCE -m32" "CFLAGS_FOR_BUILD=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" "CFLAGS_FOR_TARGET=-g -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=-m32" "LIBCFLAGS=-g -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -m32" "LIBCFLAGS_FOR_TARGET=-g -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "prefix=/usr" "includedir=/usr/include" "AR=ar" "AS=/build/gcc-multilib-trunk-git/src/gcc-build/./gcc/as" "LD=/build/gcc-multilib-trunk-git/src/gcc-build/./gcc/collect-ld -m elf_x86_64 -m elf_i386" "LIBCFLAGS=-g -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -m32" "NM=/build/gcc-multilib-trunk-git/src/gcc-build/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make make[8]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/32/libsanitizer' make[7]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/32/libsanitizer' make[6]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/32/libsanitizer' make[5]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer' make[4]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer' make[3]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer' make[2]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer' make[1]: Leaving directory '/build/gcc-multilib-trunk-git/src/gcc-build' make: *** x86_64-unknown-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop. ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/tomasz/.cache/chroot64/tomasz/build x86_64-unknown-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop.

FadeMind commented on 2016-02-12 19:18 (UTC)

package required makedepends=('git') for proper build in chroot.

bucaneer commented on 2015-10-06 11:50 (UTC)

makepkg fails: gcc -Wl,-O1,--sort-common,--as-needed,-z,relro gcov.o \ hash-table.o ggc-none.o libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov /usr/bin/ld: gcov.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC gcov.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:2703: recipe for target 'gcov' failed make[3]: *** [gcov] Error 1

PhCl commented on 2015-05-21 20:54 (UTC)

Sorry, cannot reproduce your errors. Here is what I see on x86-64, maybe that helps: Right before the mv, the following file should exist: "pkg/gcc-multilib-git/usr/lib/libstdc++.so.6.0.22-gdb.py" $ ls pkg/gcc-multilib-git/usr/lib/ gcc libstdc++fs.la libstdc++.so.6 libsupc++.a libstdc++.a libstdc++.la libstdc++.so.6.0.22 libsupc++.la libstdc++fs.a libstdc++.so libstdc++.so.6.0.22-gdb.py Concerning the conflict: /usr/lib32/libstdc++.a exists only in lib32-gcc-libs-git, not in gcc-multilib-git /usr/lib32/libstdc++.la is in neither of those packages /usr/lib/libstdc++.a exists only in gcc-multilib-git, not in gcc-libs-multilib-git /usr/lib/libstdc++.la is in neither of those packages

hepha commented on 2015-05-21 10:49 (UTC)

error: failed to commit transaction (conflicting files) /usr/lib32/libstdc++.a exists in both 'lib32-gcc-libs-git' and 'gcc-multilib-git' /usr/lib32/libstdc++.la exists in both 'lib32-gcc-libs-git' and 'gcc-multilib-git' /usr/lib/libstdc++.a exists in both 'gcc-libs-multilib-git' and 'gcc-multilib-git' /usr/lib/libstdc++.la exists in both 'gcc-libs-multilib-git' and 'gcc-multilib-git' Errors occurred, no packages were upgraded.

hepha commented on 2015-05-21 08:16 (UTC)

make error for 6.0.138662.41fddcd mv $pkgdir/usr/lib/libstdc++.so.6.*-gdb.py \ $pkgdir/usr/share/gdb/auto-load/usr/lib/ no have libstdc++.so.6.*-gdb.py file maby renamed libstdc++fs.a-gdb.py

WFCody commented on 2015-04-22 12:27 (UTC)

Fails for me at doc-install-man. Commented out this line in the PKGBUILD and recompiling again...

PhCl commented on 2015-02-08 14:17 (UTC)

@Nefelim4ag Thanks, now it works.

Nefelim4ag commented on 2015-02-08 00:02 (UTC)

@PhCl, thanks fixed

PhCl commented on 2015-02-03 01:46 (UTC)

Not sure, but I think it also has to conflict with lib32-gcc-libs. Anyway, here is what I get: :: gcc-libs-multilib-git and gcc-libs are in conflict. Remove gcc-libs? [y/N] y :: gcc-multilib-git and gcc are in conflict. Remove gcc? [y/N] y Packages (6) gcc-4.9.2-2 [removal] gcc-libs-4.9.2-2 [removal] gcc-libs-multilib-git-5.0.136579.1f0ce3a-1 gcc-multilib-git-5.0.136579.1f0ce3a-1 gcc-objc-multilib-git-5.0.136579.1f0ce3a-1 lib32-gcc-libs-git-5.0.136579.1f0ce3a-1 Total Installed Size: 190.52 MiB Net Upgrade Size: 90.63 MiB :: Proceed with installation? [Y/n] (4/4) checking keys in keyring [##################################] 100% (4/4) checking package integrity [##################################] 100% (4/4) loading package files [##################################] 100% (4/4) checking for file conflicts [##################################] 100% error: failed to commit transaction (conflicting files) lib32-gcc-libs-git: /usr/lib32/libasan.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libatomic.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libatomic.so.1 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libatomic.so.1.1.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libcilkrts.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libcilkrts.so.5 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libcilkrts.so.5.0.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libgcc_s.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libgcc_s.so.1 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libgomp.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libgomp.so.1 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libgomp.so.1.0.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libitm.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libitm.so.1 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libitm.so.1.0.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libobjc.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libobjc.so.4 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libobjc.so.4.0.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libquadmath.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libquadmath.so.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libquadmath.so.0.0.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libstdc++.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libstdc++.so.6 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libubsan.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libubsan.so.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libubsan.so.0.0.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libvtv.so exists in filesystem lib32-gcc-libs-git: /usr/lib32/libvtv.so.0 exists in filesystem lib32-gcc-libs-git: /usr/lib32/libvtv.so.0.0.0 exists in filesystem lib32-gcc-libs-git: /usr/share/licenses/lib32-gcc-libs/RUNTIME.LIBRARY.EXCEPTION exists in filesystem Errors occurred, no packages were upgraded.

Nefelim4ag commented on 2015-01-22 14:36 (UTC)

@smirky, added.

smirky commented on 2015-01-22 12:30 (UTC)

sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure Adding this at the end of prepare() before mkdir worked out for me. I used the official stable GCC PKGBUILD file for reference: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/gcc

smirky commented on 2015-01-22 12:00 (UTC)

make[2]: Leaving directory '/home/smirky/stuff/ABS/gcc-multilib-trunk-git/src/gcc-build' Makefile:19563: recipe for target 'stage1-bubble' failed make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory '/home/smirky/stuff/ABS/gcc-multilib-trunk-git/src/gcc-build' Makefile:899: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... I get this while makepkg does configuration.