Package Details: gcc6 6.5.0-10

Git Clone URL: https://aur.archlinux.org/gcc6.git (read-only, click to copy)
Package Base: gcc6
Description: The GNU Compiler Collection - C and C++ frontends (6.x.x)
Upstream URL: https://gcc.gnu.org/gcc-6/
Licenses: GPL, custom, LGPL, FDL
Submitter: svenstaro
Maintainer: valandil
Last Packager: valandil
Votes: 20
Popularity: 0.000000
First Submitted: 2018-05-17 20:56 (UTC)
Last Updated: 2025-12-08 18:45 (UTC)

Dependencies (16)

Sources (7)

Pinned Comments

valandil commented on 2020-08-24 15:06 (UTC)

I highly recommend building this package in a clean chroot. This avoids the use of a AUR helper, which sometimes uses /tmp as the stating directory, which often gets filled completely by gcc's build process.

It also provides a clean environment, which minimizes interactions between your current environment and gcc's build process.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

moham_96 commented on 2019-05-03 09:56 (UTC)

Does this package build ok for you guys ? It fails for me in build()

yeahren commented on 2019-02-25 02:48 (UTC)

@dviktor The website is reset now, it's working, before that, it was 500 http status.

dviktor commented on 2019-02-24 18:09 (UTC)

@yeahren just checked - download is fine. Maybe your ISP blocking some sites?

yeahren commented on 2019-02-24 13:22 (UTC) (edited on 2019-02-24 13:26 (UTC) by yeahren)

ERROR: Failure while downloading http://isl.gforge.inria.fr/isl-0.18.tar.bz2

and https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2 is fine

dviktor commented on 2019-02-13 23:52 (UTC)

Should be fixed now

lonaowna commented on 2019-02-13 22:15 (UTC)

@dviktor, sorry for the late response. I don't really use gcc6 anymore and unfortunately I don't have the time to look at this. I've transferred maintainership to you. Good luck!

dviktor commented on 2019-02-08 22:22 (UTC) (edited on 2019-02-08 22:23 (UTC) by dviktor)

Why libgcc_s.so.1 is not in the /usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0?

Checking with ldd says that I'm still linked to the /usr/lib/libgcc_s.so.1 while needed library is in /usr/lib/gcc/x86_64-pc-linux-gnu/lib

Just compared with community gcc7-libs package - they are moving libgcc_s.so libraries to the proper place by hand

lonaowna commented on 2019-01-13 10:36 (UTC) (edited on 2019-01-13 10:48 (UTC) by lonaowna)

@berquist you have two options:


1) run export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0 before you execute the program


2) create /etc/ld.so.conf.d/gcc5.conf with the following contents:

/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0

And then run ldconfig as root, it should be fixed.


Maybe I should add this file to the package but I'm not sure if it may have unintended side-effects.

berquist commented on 2019-01-13 05:09 (UTC) (edited on 2019-01-13 05:09 (UTC) by berquist)

Something is wrong with the library path for gfortran. Try compiling this program:

      PROGRAM MAIN
      WRITE(*,*) 'Here is some text'
      END
gfortran-6 main.F
$ ldd a.out
        linux-vdso.so.1 (0x00007fff153be000)
        libgfortran.so.3 => not found
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f707c647000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f707c62d000)
        libquadmath.so.0 => /usr/lib/libquadmath.so.0 (0x00007f707c5ea000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f707c426000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f707c7fd000)

bidulock commented on 2018-11-17 23:23 (UTC) (edited on 2018-11-17 23:25 (UTC) by bidulock)

I spent some time getting gcc6 to build gcj with an complete java 5 environment. A PKGBUILD for a 6.5.0-2 based on 6.5.0-1 is here:

https://gist.github.com/bbidulock/6968e85305fe4009cdc5ad5f037cae09

That PKGBUILD builds without issue in a clean chroot for both x86_64 and i686 architectures.

Would it be possible to review these changes and incorporate them into gcc6?