Package Details: gcc9 9.5.0-1

Git Clone URL: https://aur.archlinux.org/gcc9.git (read-only, click to copy)
Package Base: gcc9
Description: The GNU Compiler Collection - C and C++ frontends (9.x.x)
Upstream URL: https://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: dvzrv
Maintainer: severach
Last Packager: severach
Votes: 11
Popularity: 0.192513
First Submitted: 2020-11-23 19:59 (UTC)
Last Updated: 2023-02-05 22:12 (UTC)

Pinned Comments

jonathon commented on 2020-11-30 14:28 (UTC)

Please read the AUR wiki page before reporting issues.

If you are experiencing a build issue then ensure you are not using an AUR helper and are using a clean chroot.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

saburouta commented on 2022-08-28 20:27 (UTC) (edited on 2022-08-28 20:29 (UTC) by saburouta)

Fails to build in a clean chroot:

/usr/include/linux/mount.h:95:6: error: multiple definition of 'enum fsconfig_command'
   95 | enum fsconfig_command {
      |      ^~~~~~~~~~~~~~~~
In file included from /build/gcc9/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:55:
/usr/include/sys/mount.h:189:6: note: previous definition here
  189 | enum fsconfig_command
      |      ^~~~~~~~~~~~~~~~
In file included from /usr/include/linux/fs.h:19,
                 from /build/gcc9/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:68:
/usr/include/linux/mount.h:129:8: error: redefinition of 'struct mount_attr'

baloe commented on 2022-08-27 02:15 (UTC)

This does not compile in Manjaro.

Exits with make: *** [Makefile:997: all] Error 2

See https://forum.manjaro.org/t/unable-to-build-install-gcc9/119819/16?u=baloe

dbermond commented on 2022-06-17 18:14 (UTC)

@jonathon The package fails to build with lto enabled. This option is enabled by default on devtools, and may be enabled by the user in makepkg.conf. You should explicitly disable lto by adding '!lto' to the 'options' array like is done by repository gcc, repository gcc11, AUR gcc10 and AUR gcc7.

jonathon commented on 2021-09-03 19:22 (UTC)

That's a local issue, not a package issue. Please open a thread on the forum, or hop onto IRC.

$ gpg --search D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62
gpg: data source: https://162.213.33.8:443
(1) Jakub Jelinek <jakub@redhat.com>
      4096 bit RSA key 6C35B99309B5FA62, created: 2020-05-28
Keys 1-1 of 1 for "D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62".  Enter number(s), N)ext, or Q)uit >

nixit commented on 2021-09-03 17:44 (UTC) (edited on 2021-09-03 17:44 (UTC) by nixit)

@jonathon,

thanx, however it appears that the key: D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 is not in any keyserver I've searched.

jonathon commented on 2021-09-03 13:35 (UTC) (edited on 2021-09-03 13:38 (UTC) by jonathon)

@nixit, open a thread on the forum if you're having difficulty importing PGP keys.

@svictor, you need to import the key. Read the wiki page linked in the pinned comments.

@togtja, you ran out of disk space.

nixit commented on 2021-09-03 13:16 (UTC)

tried everyway known to man to get this installed, makepkg, updated archlinux-keyring, pacman keyring, and nothing seems to work. still keeps failing on trying to import the keys.

any idea?

nixit commented on 2021-09-01 19:15 (UTC)

tried updated gcc8 and gcc9, and getting the pgp error. I tried importing the key manually, and I get a no valid OpenPGP data found.

svictor commented on 2021-07-30 14:01 (UTC)

Build fails here too with

==> Verifying source file signatures with gpg...
    gcc-9.3.0.tar.xz ... FAILED (unknown public key A328C3A2C3C45C06)
==> ERROR: One or more PGP signatures could not be verified!

I don't use an AUR helper, only plain makepkg.

togtja commented on 2021-05-20 14:58 (UTC)

I was trying to build gcc9. However, it failed with

==> Verifying source file signatures with gpg...
    gcc-9.3.0.tar.xz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!