Package Details: gcc11 11.4.0-1

Git Clone URL: (read-only, click to copy)
Package Base: gcc11
Description: The GNU Compiler Collection - C and C++ frontends (11.x.x)
Upstream URL:
Licenses: GPL, custom, LGPL, FDL
Provides: gcc
Submitter: yan12125
Maintainer: tallero
Last Packager: tallero
Votes: 4
Popularity: 0.069186
First Submitted: 2023-04-05 08:26 (UTC)
Last Updated: 2023-06-22 00:30 (UTC)

Required by (2284)

Sources (5)

Latest Comments

1 2 Next › Last »

lahwaacz commented on 2023-08-27 15:27 (UTC)

@AskAlice It is much simpler to set the MAKEFLAGS environment variable, e.g. export MAKEFLAGS="-j$(nproc)", and then build the package. See the relevant wiki section:

AskAlice commented on 2023-08-27 13:03 (UTC) (edited on 2023-08-27 14:21 (UTC) by AskAlice)

I was 30 minutes into this single-threaded compilation when I went to make some coffee. Someone in the other room was running the microwave, right at the same time that my laser printer started whirring up to clean the toner cartriges on interval. The power went out.

I don't know when this will compile, but I do know that I will be older than I am now. And I'll probably be dying for more coffee.

Anyone who actually plans on building this should: clone this repo, and add

[[ $(nproc) -gt 3 ]] && cores=$(( $(nproc) - 2 )) || cores=$(nproc)

then replace every instance of ^(\s+)make with $1make -j${cores}

lahwaacz commented on 2023-08-25 09:43 (UTC)

The provides=("${_pkgbase}=${pkgver}"), provides=("${_pkgbase}-libs=${pkgver}" ...) etc. don't make sense, gcc11-libs actually depends on gcc-libs via these symlinks:

keilmillerjr commented on 2023-06-22 12:24 (UTC) (edited on 2023-06-23 13:32 (UTC) by keilmillerjr)

@C0rn3j I already have that key. Error about PGP signature still remains. Any ideas?

gpg --keyserver hkps:// --recv-key 6C35B99309B5FA62
gpg: key 6C35B99309B5FA62: 2 duplicate signatures removed
gpg: key 6C35B99309B5FA62: "Jakub Jelinek <>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
==> Verifying source file signatures with gpg...
    gcc-11.4.0.tar.xz ... FAILED (unknown public key 6C35B99309B5FA62)
==> ERROR: One or more PGP signatures could not be verified!

EDIT: Rebuilding a package that depended on gcc11 resolved the issue. I am not sure why, because the error is about PGP signatures and not versioning, but it worked.

eduardolucioac commented on 2023-06-20 19:23 (UTC) (edited on 2023-06-20 19:25 (UTC) by eduardolucioac)

In case of problems in gcc11 update

If gcc11 has problems regarding the version of gcc11-libs. So try to install gcc11-libs first...

yay -S gcc11-libs

If the system says breaking dependency against gcc11 itself, then remove it without breaking any dependency ("-Rdd")...

yay -Rdd gcc11

... , install gcc11-libs...

yay -S gcc11-libs

... and install gcc11...

yay -S gcc11


C0rn3j commented on 2023-06-19 09:21 (UTC)

To import the new key:

gpg --keyserver hkps:// --recv-key 6C35B99309B5FA62

FabioLolix commented on 2023-05-16 07:26 (UTC)

@DarshK35 you need to add the PGP key, gcc is better build in chroot with devtools (don't know what is using manjaro nowdays)

@joshm gcc is quite long, especially if makepkg.conf isn't configured to use all cores

DarshK35 commented on 2023-05-16 06:02 (UTC) (edited on 2023-05-16 06:02 (UTC) by DarshK35)

I'm not able to build it using pamac on manjaro. I'm using command pamac build gcc11

Output received:

==> Validating source files with b2sums...
    gcc-11.3.0.tar.xz ... Passed
    gcc-11.3.0.tar.xz.sig ... Skipped
    isl-0.24.tar.bz2 ... Passed
    c89 ... Passed
    c99 ... Passed
==> Verifying source file signatures with gpg...
    gcc-11.3.0.tar.xz ... cat: write error: Broken pipe
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 40.301s
CPU time consumed: 5.122s
Error: Failed to build gcc11

Not sure what to do about the broken pipe error. Any help will be appreciated

joshm commented on 2023-05-15 13:20 (UTC)

I ran pacaur -S gcc11 gcc11-libs an hour ago and it's still running. Is this normal?

v0vc commented on 2023-04-22 11:10 (UTC) (edited on 2023-04-22 11:12 (UTC) by v0vc)

haven't been able to update this for a few days, any ideas what the issue might be?,

ar: ./setproctitle/home/user.o: No such file or directory
make[3]: *** [Makefile:253: libiberty.a] Error 1
make[3]: Leaving directory '/home/user/.cache/yay/gcc11/src/gcc-build/libiberty'
make[2]: *** [Makefile:13141: all-stage1-libiberty] Error 2
make[2]: Leaving directory '/home/user/.cache/yay/gcc11/src/gcc-build'
make[1]: *** [Makefile:25184: stage1-bubble] Error 2
make[1]: Leaving directory '/home/user/.cache/yay/gcc11/src/gcc-build'
make: *** [Makefile:1015: all] Error 2
==> ERROR: A failure occurred in build().
 -> error making: gcc11-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gcc11-libs - exit status 4

is it related to isl, should i try the fix below?